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 migrating from Quarkus 3.16 to 3.17 using openapi version 3.0.3 the generated schema for an enum type creates a breaking change due to removing the type=string
Its been flagged as a breaking change since the type was dropped but indeed, it seems that the actual problem is that it should not be added at all in the first place by the previous SmallRye version. I tried annotating as @Schema(nullable = true, type = SchemaType.DEFAULT) but it still generates the String type on Quarkus 3.16
Describe the bug
When migrating from Quarkus 3.16 to 3.17 using openapi version 3.0.3 the generated schema for an enum type creates a breaking change due to removing the
type=string
Expected behavior
Generated schema is:
Actual behavior
Field is annotated as:
Generates:
How to Reproduce?
Created sample project with annotated POJOs here: https://github.com/cristianonicolai/quarkus-playground
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.17.7
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.9
Additional information
No response
The text was updated successfully, but these errors were encountered: