lrstanley / entrest

Extension that generates a compliant OpenAPI spec and server implementation
https://lrstanley.github.io/entrest/
MIT License
11 stars 2 forks source link

bug: /docs doesn't redirect properly when mounted via non-standard path #62

Closed lrstanley closed 2 months ago

lrstanley commented 2 months ago

We're currently doing http.RedirectHandler("/docs", [...]), which doesn't account for custom paths.

Almost wonder if an HTML response, paired with a javascript/meta redirect would cover all potential bases?