main.io.github.smiley4.ktorswaggerui.data.AuthKeyLocation.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
import io.swagger.v3.oas.models.security.SecurityScheme
/**
* The locations of the API key.
*/
enum class AuthKeyLocation(val swaggerType: SecurityScheme.In) {
QUERY(SecurityScheme.In.QUERY),
HEADER(SecurityScheme.In.HEADER),
COOKIE(SecurityScheme.In.COOKIE)
}