I am able to resolve the mentioned issue by adding options, “validatorUrl:
undefined” in index.html file where swaggerui is initialized
window.swaggerUi = new SwaggerUi({
url: url,
dom_id: "swagger-ui-container",
validatorUrl: undefined,
Hope this helps!
On Tue, Nov 22, 2016 at 3:29 PM, Hiren Patel <[email protected]>
wrote:
> how to disable the validator in springfox swagger ui?
>
> I am getting Erros { } in red
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.