ReDoc
Library for Ktor applications to serve ReDoc - visualize and interact with generated OpenAPI specifications.
ReDoc provides an interactive interface for exploring API endpoints and viewing detailed schema information.
routing {
route("redoc") {
redoc("/api.json")
}
}
Features
- Explore and interact with OpenAPI specifications generated by
ktor-openapior external specifications - Serve bundled ReDoc page
- Expose multiple "instances" of ReDoc (e.g. for different OpenAPI specifications)
- All ReDoc configuration options available