method

fun <TRoute : OpenAPIRoute<TRoute>> TRoute.method(method: HttpMethod): TRoute(source)


inline fun <TRoute : OpenAPIRoute<TRoute>> TRoute.method(method: HttpMethod, crossinline fn: TRoute.() -> Unit)(source)

Creates a new route matching the specified method