io.javalin.openapi.plugin.OpenApiHandler.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javalin-openapi-plugin Show documentation
Show all versions of javalin-openapi-plugin Show documentation
Serve raw OpenApi documentation under dedicated endpoint
The newest version!
package io.javalin.openapi.plugin
import io.javalin.http.ContentType
import io.javalin.http.Context
import io.javalin.http.Handler
import io.javalin.http.Header
internal class OpenApiHandler(private val documentation: Lazy