-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Milestone
Description
Describe the bug
When using the @Schema annotation with the defaultValue parameter the value is not converted to the correct type when the OpenAPI specification is generated by quarkus-smallrye-openapi. The issue happens with the integer and boolean types as you can see in the screenshots.
Expected behavior
The corrected behavior is that the defaultValue is converted to the correct type like it happens with the example value.
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
java version "11.0.12" 2021-07-20 LTS
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.1.Final
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response