Skip to content

Working example with kotlin #234

@kristianeaw

Description

@kristianeaw

Hi! Does anyone know of a working example/doc of how to set up openapi/swagger with javalin+kotlin+maven? Following the official guide (https://javalin.io/tutorials/openapi-example) I get a "No API definition provided"-error when opening swagger. I'm guessing because Kapt is not set up in the tutorial, which I think it has to be when using Kotlin? But it also seems strange that the official tutorial does not work/is incorrect, so I'm a bit confused as to what is missing. So a working example/guide, or more descriptive documentation would be great if anyone knows where I could find that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions