This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
[cetic/swaggerui] Cannot access "Try it now" features unless ingress path is "/" #10
Labels
enhancement
New feature or request
Describe the bug
/
value. If you modify it and enable nginx-ingress re-writes, the web app can load, but the "Try It Now" functionality will not work.Version of Helm and Kubernetes:
What happened:
The "Try It Now" functionality strips out the re-written portion of the URL, and reports a "Network Error" when attempting to do live testing/debugging against a running OpenAPI-enabled service.
What you expected to happen:
For the "Try It Now" functionality to not discard intermediate/re-written portions of the URL (perhaps additional ingress configuration options, such as
X-Forwarded-For
also need to be enabled, but I'm not certain of how the underlying app would make use of such settings (if it does at all).How to reproduce it (as minimally and precisely as possible):
Please see: swagger-api/swagger-ui#6838
The entire example has been left there (for visibility by the app owners).
Anything else we need to know:
There is a workaround, but it involves supplying the FQDN and full endpoint path at chart install time. This is not a typical/viable workflow.
The text was updated successfully, but these errors were encountered: