Skip to content
New issue

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

Disable Validator Option in Swagger object #18

Open
cyrilj9696 opened this issue May 26, 2020 · 0 comments
Open

Disable Validator Option in Swagger object #18

cyrilj9696 opened this issue May 26, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@cyrilj9696
Copy link

cyrilj9696 commented May 26, 2020

Hello,
Could you please add an option to disable the validator url. As my Tornado application and schema looks fine and i get all the endpoints displayed in the UI but i get this weird error at the bottom maybe cause I'm not hosting any of the schema's.

image
Clicking on the invalid warning, gives an error like this
{"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://xx.xx.xx.xx/api/doc/swagger.json"}]}

Currently i'm bypassing this error by adding the validatorUrl: null in the swagger object of doc.html, by following this thread swagger-api/swagger-ui#2796

Thanks

@PWZER PWZER added the enhancement New feature or request label May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants