All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.io.github.smiley4.ktorswaggerui.data.SecuritySchemeData.kt Maven / Gradle / Ivy

The newest version!
package io.github.smiley4.ktorswaggerui.data

/**
 * See [OpenAPI Specification - Security Scheme Object](https://swagger.io/specification/#security-scheme-object).
 */
data class SecuritySchemeData(
    val schemeName: String,
    val type: AuthType?,
    val name: String?,
    val location: AuthKeyLocation?,
    val scheme: AuthScheme?,
    val bearerFormat: String?,
    val flows: OpenIdOAuthFlowsData?,
    val openIdConnectUrl: String?,
    val description: String?
) {

    companion object {
        val DEFAULT = SecuritySchemeData(
            schemeName = "",
            type = null,
            name = null,
            location = null,
            scheme = null,
            bearerFormat = null,
            flows = null,
            openIdConnectUrl = null,
            description = null,
        )
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy