-
Notifications
You must be signed in to change notification settings - Fork 9k
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
validatorUrl=null parameter does not work #1698
Comments
@DavidBiesack - the |
Thanks, I misread the doc and though it referred to URL parameters (I know I can pass ?url= in the swagger-ui URL) |
@DavidBiesack - did it work for you? Are we good to close the issue? |
Yes, works for me. thanks. |
Ok, thanks for confirming. |
Can we make it a parameter like the OP thinks it was? It's actually a common config. |
And it doesn't work for me even if I updated dist/index.html.
I changed the last line to "validatorUrl:undefined". Still not working. Swagger UI still requires me to input value for required fields. Can you give an exact example of how to set this up ? |
@webron I still have this issue like @chenjianjx . |
Issue #630 does not seem to be fixed.
I'm following https://github.com/swagger-api/swagger-ui#parameters
but appending &validatorUrl=null does not work; I still get the red error badge
http://swagger.na.sas.com/swagger-ui/?url=http://swagger.na.sas.com/apis/reports/v1/swagger.json&validatorUrl=null
Also, I really need some way to disable this in index.html or elsewhere, not on the URL,
because I can't control who uses the URL and folks will omit this option.
Issue #630 includes a link to index.html which should show how to set it:
https://github.com/swagger-api/swagger-ui/blob/master/dist/index.html#L33
but it is not a link to a specific commit, so the line number is wrong
The text was updated successfully, but these errors were encountered: