redoc

fun Routing.redoc(pageTitle: String = "Docs", specUrl: String = "/openapi.json")

Provides an out-of-the-box route to view docs using ReDoc

Parameters

pageTitle

Webpage title you wish to be displayed on your docs

specUrl

url to point ReDoc to the OpenAPI json document