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
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)
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
orver
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
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
No response
The text was updated successfully, but these errors were encountered: