papsign / Ktor-OpenAPI-Generator

Ktor OpenAPI/Swagger 3 Generator
Apache License 2.0
241 stars 42 forks source link

Would it be possible to use another UI? #84

Closed Nordalf closed 3 years ago

Nordalf commented 3 years ago

Hi,

Is it possible to serve a different static html file instead of the basic Swagger-UI? We want to use Redoc, and instead of writing some custom logic, we want to know whether it is possible to point at a different file by using your library.

Best regards Alexander

Nordalf commented 3 years ago

We got it working by adding a static html file to our resource folder and have the Redoc UI point at the generated openapi.json file generated by this library.