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
Hi @bennelli when enumAsRef is not applied, which is the default behavior, name should not be set, and the enum should not be part of components/schemas, if you set enumAsRef to true, enum should appear as a component in generated openapi spec, is it solving your issue ? If not, please provide some details about your scenario, for now I am closing the ticket, feel free to reopen if you have any questions
swagger-core/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java
Line 307 in 5a92e3a
The name of the model is resolved already in previous lines of code, but not set into the StringSchema in case of type enum.
The text was updated successfully, but these errors were encountered: