We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否支持@RequestBody @notempty List ids展示字段参数文档为"必须"
The text was updated successfully, but these errors were encountered:
试了一下:
@NotEmpty private List<String> ids;
结果是: 你的预期是什么?
Sorry, something went wrong.
不是指在请求对象某个属性里加@notempty,是指整个body是个List, 例如: public Result batchSave(@ApiParam(value = "Id列表", required = true) @Valid @RequestBody @notempty List ids) ,希望文档里展示ids字段"必须"
知道你的意思了,是没考虑到这种情况。
@lins3000 试了一下,body为array类型时,yapi似乎不支持设置是否必须
No branches or pull requests
能否支持@RequestBody @notempty List ids展示字段参数文档为"必须"
The text was updated successfully, but these errors were encountered: