Missing support for default response #214

Closed
opened 2023-04-14 16:30:15 +02:00 by mhartmann-jaconi · 2 comments
mhartmann-jaconi commented 2023-04-14 16:30:15 +02:00 (Migrated from github.com)

When generating API files for an openapi spec, which contains "default" responses, the generator fails, as this feature seems not to be supported through https://github.com/kokuwaio/micronaut-openapi-codegen/blob/main/src/main/java/org/openapitools/codegen/languages/MicronautCodegen.java#L265 .

The ask would be, if we can enable this, as it is part of the openapi specification and should therefore be supported.

When generating API files for an openapi spec, which contains "default" responses, the generator fails, as this feature seems not to be supported through https://github.com/kokuwaio/micronaut-openapi-codegen/blob/main/src/main/java/org/openapitools/codegen/languages/MicronautCodegen.java#L265 . The ask would be, if we can enable this, as it is part of the openapi specification and should therefore be supported.
sschnabe commented 2023-04-14 21:30:13 +02:00 (Migrated from github.com)

Please take a look at #216

Please take a look at #216
sschnabe commented 2023-04-18 08:48:44 +02:00 (Migrated from github.com)

Fixed with 3.2.2

Fixed with [3.2.2](https://github.com/kokuwaio/micronaut-openapi-codegen/releases/tag/3.2.2)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
kokuwaio/micronaut-openapi-codegen#214
No description provided.