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
目前遇到了一個難題 本身的Params就是一個Array的形式 Example: [ { 'Key': 'Value' } ] 然而 @Body 只支援 { 'List': [ { 'Key': 'Value' } ] } 是否能加入一個 @Bodys 的方法 讓swagger.json中的 schema: { type: 'object' } 變成 schema: { type: 'array' }
The text was updated successfully, but these errors were encountered:
现在 body 外默认加了一层 schema: { type: 'object' },所以不支持 body 是 array 的情况,下一个版本更新会考虑兼容 type: 'array' 的情况。
Sorry, something went wrong.
No branches or pull requests
目前遇到了一個難題
本身的Params就是一個Array的形式
Example:
[ { 'Key': 'Value' } ]
然而 @Body 只支援
{ 'List': [ { 'Key': 'Value' } ] }
是否能加入一個 @Bodys 的方法
讓swagger.json中的
schema: { type: 'object' }
變成
schema: { type: 'array' }
The text was updated successfully, but these errors were encountered: