swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Missing schema name for enum

Open bennelli opened this issue 1 year ago • 0 comments

https://github.com/swagger-api/swagger-core/blob/5a92e3a6b8e8218aa3243bc443e91c8a27af4401/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java#L307

The name of the model is resolved already in previous lines of code, but not set into the StringSchema in case of type enum.

bennelli avatar Aug 28 '24 09:08 bennelli