https://kotlinlang.org logo
Title
h

Henrik Johansson

05/03/2023, 8:45 AM
Generating API Server stubs from OpenAPI Spec is that as easy as it is for Java based projects? Does anyone have a working good example that they can recommend?
https://github.com/papsign/Ktor-OpenAPI-Generator seems old and not very much used
a

Adam S

05/03/2023, 8:51 AM
OpenAPI generation was discussed recently in #server https://kotlinlang.slack.com/archives/C0B8RC352/p1681213282825509 some code generation tools were also covered, which might help answer your question
h

Henrik Johansson

05/03/2023, 9:14 AM
Hmm thanks but that's not comforting. It works very well for java based projects or shall I say JAX-RS based projects. There should be no reason it doesn't work well for KTor based projects