Package-level declarations

Types

Link copied to clipboard

Configuration for OpenAPI endpoint.

Functions

Link copied to clipboard
fun Route.openAPI(path: String, swaggerFile: String = "openapi/documentation.yaml", block: OpenAPIConfig.() -> Unit = {})

Creates a get endpoint at path with documentation rendered from the OpenAPI file.