midway
midway copied to clipboard
Swagger问题:Body参数的示例不能显示,在swagger-ui/index.html上面显示为空对象
export class ProjScheDTO { @Rule(RuleType.number()) id: number; } @Body(ALL) pro: ProjScheDTO 这样才会有吧。。。
在 DTO 中写就行 可以参考我写的示例 https://github.com/mowatermelon/mwegg
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.