apiRouting

fun Application.apiRouting(config: NormalOpenAPIRoute.() -> Unit)(source)

Wrapper for io.ktor.routing.routing to create the endpoints while configuring OpenAPI documentation at the same time.


fun Route.apiRouting(config: NormalOpenAPIRoute.() -> Unit)(source)

Wrapper for io.ktor.server.routing.routing to create the endpoints while configuring OpenAPI documentation at the same time.

Parameters

config