How do I map a schema to an existing kotlin class when generating an openapi server? #1783
Replies: 2 comments
-
Maybe it's a bug, or maybe you're doing something wrong. In general, this is done using standard openapi generator tools. Read the documentation on the website https://openapi-generator.tech/docs/generators/kotlin/ , try generating code using the standard openaApiGenerator plugin, and see what happens. If the standard generator plugin generates correct code, and micronaut-openapi generates incorrect code, then it looks more like a bug. It's better to immediately write about your problem, suggestion, or found bug in the issue: https://github.com/micronaut-projects/micronaut-openapi/issues I rarely look through discussions |
Beta Was this translation helpful? Give feedback.
-
I figured it out
|
Beta Was this translation helpful? Give feedback.
-
How do I reference an existing kotlin class when generating an openapi server? I tried using importMapping but that does not work.
Beta Was this translation helpful? Give feedback.
All reactions