sveint / flask-swagger-ui

Swagger UI blueprint for flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

validatorUrl: None Config

DaddyGrimmlin opened this issue · comments

I am trying to set the swagger Validator Url to None.

The recco in java is add 'validatorUrl: null' into the creation of the SwaggerUIBundle.

So for flask-swagger-ui i did:
swagger_ui = get_swaggerui_blueprint(BASE_URI, API_URI, config = {'validatorUrl': None})

And it did not change anything.

I am getting a swagger read error with a valid file from the BASE_URI. The file is reachable and renders a json file directly from the API_URI.

Any ideas?