main.io.github.smiley4.ktorswaggerui.data.OpenApiRouteData.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktor-swagger-ui Show documentation
Show all versions of ktor-swagger-ui Show documentation
Ktor plugin to document routes and provide a Swagger-UI
package io.github.smiley4.ktorswaggerui.data
/**
* Information about a single route.
*/
data class OpenApiRouteData(
val specId: String?,
val tags: Set,
val summary: String?,
val description: String?,
val operationId: String?,
val deprecated: Boolean,
val hidden: Boolean,
val securitySchemeNames: List,
val protected: Boolean?,
val request: OpenApiRequestData,
val responses: List,
val externalDocs: ExternalDocsData?,
val servers: List,
)