Skip to content

Conversation

gnowland
Copy link

@gnowland gnowland commented Jan 4, 2022

When deploying application behind a proxy the swagger ui shows "invalid" badge due to application attempting to validate api with validator hosted on https://validator.swagger.io, this change ensures that the swagger ui for the application uses itself to validate.

I posit this should not effect public validator-badge hosted at https://validator.swagger.io as the validator url is currently https://validator.swagger.io/validator and will remain https://validator.swagger.io/validator after this change.

When deploying application behind a proxy the swagger ui shows "invalid" badge due to application attempting to validate api with validator hosted on http://validator.swagger.io, this change ensures that the swagger ui for the application uses itself to validate.

I posit this should not effect public validator-badge hosted at http://validator.swagger.io as the validator url is currently http://validator.swagger.io and will remain http://validator.swagger.io.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant