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
Describe the bug 通过swagger.v3的注解@ApiResponse定义的Response Content无法展示,原始swagger是可以正常展示的
To Reproduce Steps to reproduce the behavior:
@ApiResponse(responseCode = "200", content = @Content(mediaType = "application/json", schemaProperties = {@SchemaProperty(name = "a", schema = @Schema(name = "aname",title = "a_array_item_title",type = "integer",defaultValue = "1",minimum = "0",maximum = "100")), @SchemaProperty(name = "b", schema = @Schema(name = "b_name",title = "b_array_item_title",type = "integer",defaultValue = "1",minimum = "0",maximum = "100"))}, array =@ArraySchema(schema = @Schema(title = "请求数组",type = "object",example = "{\"a\":1}"))))
Knife4j Version (please complete the following information):
Additional context 需要处理一下接口返回json格式的数据
The text was updated successfully, but these errors were encountered:
解决了吗?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
通过swagger.v3的注解@ApiResponse定义的Response Content无法展示,原始swagger是可以正常展示的
To Reproduce
Steps to reproduce the behavior:
@ApiResponse(responseCode = "200", content = @Content(mediaType = "application/json", schemaProperties = {@SchemaProperty(name = "a", schema = @Schema(name = "aname",title = "a_array_item_title",type = "integer",defaultValue = "1",minimum = "0",maximum = "100")), @SchemaProperty(name = "b", schema = @Schema(name = "b_name",title = "b_array_item_title",type = "integer",defaultValue = "1",minimum = "0",maximum = "100"))}, array =@ArraySchema(schema = @Schema(title = "请求数组",type = "object",example = "{\"a\":1}"))))
Knife4j Version (please complete the following information):
Additional context
需要处理一下接口返回json格式的数据
The text was updated successfully, but these errors were encountered: