Does anyone use a Kotlin server lib/framework that...
# server
n
Does anyone use a Kotlin server lib/framework that supports auto-generation of Swagger YAML files? For example, most JAX-RS libraries support it via `swagger-core`: https://swagger.io/tools/open-source/open-source-integrations/
t
Dunno if you’d be interested, but we wrote an annotation processor that auto generated swagger specs from jax-rs annotated code. It probably wouldn’t be a huge amount of work for you to port it to use a different lib
d
Similarly, Http4k does live json generation of OpenAPI V2 docs (including generated JSON schema models) from the running code (all DSL no annotations) using the contract module. Not sure if you're set on yaml over json, but...
n
Oooo, Http4k looks decent! I like this. Thanks for that!
🙃 1