V2 Installation - SMILEY4/ktor-openapi-tools GitHub Wiki
Starting with version 2.2.0, dependencies are published on maven central. Older versions (<2.2.0) are available on jitpack.io
Versions >= 2.2.0
dependencies {
implementation "io.github.smiley4:ktor-swagger-ui:<VERSION>"
}
Versions < 2.2.0
- Add the JitPack repository
repositories {
maven { url = uri("https://jitpack.io") }
}
- Add the dependency
dependencies {
implementation "io.github.smiley4:ktor-swagger-ui:<VERSION>"
}
Install the "SwaggerUI"-plugin
install(SwaggerUI)