I've been thinking of creating a new Kotlin DSL for defining web API specs. Something kind of like Swagger, but with a Kotlin based DSL instead of JSON or YAML. It could come with a library to actually serve the API, and a tool to generate a Swagger version of the spec to take advantage of all the Swagger tools, while providing the advantages of a Kotlin DSL, like IDE code completion support and abstractions for DRY principles.
Any thoughts / feedback on something like this?