Ktor OpenAPI/Swagger 3 Generator
Toggle table of contents
1.0.72
jvm
Platform filter
jvm
Switch theme
Search in API
Ktor OpenAPI/Swagger 3 Generator
Ktor OpenAPI/Swagger 3 Generator
/
com.papsign.ktor.openapigen.route
/
method
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