Package-level declarations
Functions
Link copied to clipboard
Adds a Swagger UI endpoint to the current route.
Creates a get endpoint with SwaggerUI at path rendered from the OpenAPI file located at swaggerFile.
fun Route.swaggerUI(path: String, apiUrl: String, api: String, block: SwaggerConfig.() -> Unit = {}): Route
Configures a route to serve Swagger UI and its corresponding API specification.