main.io.github.smiley4.ktorswaggerui.data.OpenIdOAuthFlowsData.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
/**
* See [OpenAPI Specification - OAuth Flows Object](https://swagger.io/specification/#oauth-flows-object).
*/
data class OpenIdOAuthFlowsData(
val implicit: OpenIdOAuthFlowData?,
val password: OpenIdOAuthFlowData?,
val clientCredentials: OpenIdOAuthFlowData?,
val authorizationCode: OpenIdOAuthFlowData?,
) {
companion object {
val DEFAULT = OpenIdOAuthFlowsData(
implicit = null,
password = null,
clientCredentials = null,
authorizationCode = null,
)
}
}