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

  1. Add the JitPack repository
repositories {
    maven { url = uri("https://jitpack.io") }
}
  1. Add the dependency
dependencies {
    implementation "io.github.smiley4:ktor-swagger-ui:<VERSION>"
}

Install the "SwaggerUI"-plugin

install(SwaggerUI)
⚠️ **GitHub.com Fallback** ⚠️