Skip to content
New issue

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

ApiResponse content @ExampleObject support #847

Open
LeoYoung56 opened this issue Oct 12, 2024 · 0 comments
Open

ApiResponse content @ExampleObject support #847

LeoYoung56 opened this issue Oct 12, 2024 · 0 comments

Comments

@LeoYoung56
Copy link

[knife4j 4.5.0]

当前的 response example 来自于响应体本身@Schema(example) 字段。当同一接口不同状态、多接口复用响应体等情况,需要分情况描述响应案例时,openapi支持如下注解。knife4j 未支持显示。望支持

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant