-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Swagger UI / Open API - type name lost when annotating property with @Schema(nullable = true) #25078
Comments
|
https://stackoverflow.com/a/48114924/290028 OAI/OpenAPI-Specification#1368 so I think for 3.0 it should be something like
|
Tested using https://editor.swagger.io with the original and the patched version and both behave the same way and have the same display issue as in Quarkus, so seems it's an in issue in Swagger UI. I'll file something there. |
@josephearl thanks for taking the time to diagnose this thing and keep us updated! |
Raised swagger-api/swagger-ui#7992 |
Describe the bug
Given the following resource response or request:
The schema in the documentation does not display the type name for
secondChild
as I would expect, instead it is blank:Using
quarkus-smallrye-openapi
andquarkus-resteasy-jackson
.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
17.0.2
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Quarkus 2.8.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.4.2
Additional information
No response
The text was updated successfully, but these errors were encountered: