Repository navigation
OpenApi3 enum values transformed into a scalar and not an enum #4087
Unanswered
Vladimir Ritz Bossicard (vbossica)
asked this question in
OpenAPI3
Replies: 1 comment
|
Yeah that sounds like a bug will convert the discussion |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When defining the OpenApi3 model class:
and using
tsp-openapi3to transform the specification, the class is generated as:which loses the enum values.
Should the
ModelClassbe generated as anenuminstead?All reactions