You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m generating my OpenAPI specification using SpringDoc for my Kotlin project.
I’ve noticed that when I set the OpenAPI version to 3.0.x, Swagger UI renders my responses correctly. However, with the default version 3.1.0, it does not. The differences between the 3.0.x and 3.1.x specifications are minimal, so I believe this is an issue with Swagger UI.
To verify, I also tested the 3.1.0 specification with ReDoc, and it rendered correctly.
Q&A (please complete the following information)
Content & configuration
I’m generating my OpenAPI specification using SpringDoc for my Kotlin project.
I’ve noticed that when I set the OpenAPI version to 3.0.x, Swagger UI renders my responses correctly. However, with the default version 3.1.0, it does not. The differences between the 3.0.x and 3.1.x specifications are minimal, so I believe this is an issue with Swagger UI.
To verify, I also tested the 3.1.0 specification with ReDoc, and it rendered correctly.
Swagger/OpenAPI definition:
Describe the bug you're encountering
This is what I get in swagger UI:
To reproduce...
Paste the yaml to https://editor.swagger.io/ or https://editor-next.swagger.io/
Expected behavior
3.1.0 vs 3.0.0
The text was updated successfully, but these errors were encountered: