We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swagger UI can't show OpenAPI specs from services running inside the Docker network.
30 lines for Nginx: https://gitlab.com/plgrnd/swagger-ui/-/blob/main/embedding.conf
swagger-ui: image: swagger-ui:latest environment: URLS: '[{"url":"/service-a:8000/v3/api-docs", "name":"service-a"},{"url":"/service-b:9000/v3/api-docs", "name":"service-b"}]' ports: - "8080:8080"
Start the services and open http://localhost:8080 in your browser. The Servers drop-down will now include option Proxied server url.
Proxied server url
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Swagger UI can't show OpenAPI specs from services running inside the Docker network.
Solution
30 lines for Nginx: https://gitlab.com/plgrnd/swagger-ui/-/blob/main/embedding.conf
Usage
Result
Start the services and open http://localhost:8080 in your browser. The Servers drop-down will now include option
Proxied server url
.The text was updated successfully, but these errors were encountered: