Skip to content

Disable Validator Option in Swagger object #18

@cyrilj9696

Description

@cyrilj9696

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions