OpenApiEndpoints

class OpenApiEndpoints : KtorController

Sets up the following endpoints:

  • /_t/openapi for the OpenAPI document

  • /_t/swagger (and its subroutes) for Swagger UI

This class is part of the OpenApiFeature.

Constructors

Link copied to clipboard
fun OpenApiEndpoints()

Functions

Link copied to clipboard
open override fun Routing.install()
open override fun Application.install()

Properties

Link copied to clipboard
val moduleInstallationPriority: Int
Link copied to clipboard
val restrictToAppName: String?