swaggerwcf
swaggerwcf copied to clipboard
I got a "schemaValidationMessages" when i deploy to IIS.
Dear Sir, i got a error message button when deployed my swaggerwcf to iis, when it connected to api doc, it showed like this:
When i tab the button, it opened another windows and got a json:
I have no idea about it and can not fix, please kindly help me, thank you.
https://github.com/swagger-api/validator-badge
Is there a way to disable that error? Something like .EnableSwaggerUi(c => { c.DisableValidator(); });
Thanks!
need to change the swagger-ui unzip \src\SwaggerWcf\www\swagger-ui.zip find index.html , change like this window.swaggerUi = new SwaggerUi({ url: url, validatorUrl: "", dom_id: "swagger-ui-container", ...... zip the folder
need to change the swagger-ui unzip \src\SwaggerWcf\www\swagger-ui.zip find index.html , change like this window.swaggerUi = new SwaggerUi({ url: url, validatorUrl: "", dom_id: "swagger-ui-container", ...... zip the folder
It works,thanks
glad to hear that