main.io.github.smiley4.ktorswaggerui.data.OpenIdOAuthFlowData.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 Flow Object](https://swagger.io/specification/#oauth-flow-object).
*/
data class OpenIdOAuthFlowData(
val authorizationUrl: String? = null,
val tokenUrl: String? = null,
val refreshUrl: String? = null,
val scopes: Map? = null,
) {
companion object {
val DEFAULT = OpenIdOAuthFlowData(
authorizationUrl = null,
tokenUrl = null,
refreshUrl = null,
scopes = null,
)
}
}