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 I have a field of type Iterable of an enum, e.g. a Set or a Seq, then springdoc is not generating the correct OpenAPI specification.
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using?
Version 3.2.5.
What modules and versions of swagger-core are you using?
I'm using version 2.5.0 of the org.springdoc:springdoc-openapi-starter-webmvc-ui module, which in turn has a dependency on version 2.2.21 on io.swagger.core.v3:swagger-core-jakarta.
What is the actual and the expected result using OpenAPI Description (yml or json)?
Expected result:
Describe the bug
When I have a field of type Iterable of an enum, e.g. a
Set
or aSeq
, thenspringdoc
is not generating the correct OpenAPI specification.To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using?
Version
3.2.5
.What modules and versions of swagger-core are you using?
I'm using version
2.5.0
of theorg.springdoc:springdoc-openapi-starter-webmvc-ui
module, which in turn has a dependency on version2.2.21
onio.swagger.core.v3:swagger-core-jakarta
.What is the actual and the expected result using OpenAPI Description (yml or json)?
Expected result:
Actual result:
Please refer to the sample code that reproduces the issue.
Expected behavior
The
fareClasses
field should be an enum.I originally posted this issue in the springdoc issue tracker, but realised that this might be an issue in
swagger-core
.The text was updated successfully, but these errors were encountered: