swaggerwcf icon indicating copy to clipboard operation
swaggerwcf copied to clipboard

I got a "schemaValidationMessages" when i deploy to IIS.

Open CharlesWhiteSun opened this issue 6 years ago • 5 comments

Dear Sir, i got a error message button when deployed my swaggerwcf to iis, when it connected to api doc, it showed like this: error-01

When i tab the button, it opened another windows and got a json: error-02

I have no idea about it and can not fix, please kindly help me, thank you.

CharlesWhiteSun avatar Jan 23 '19 06:01 CharlesWhiteSun

https://github.com/swagger-api/validator-badge

justin0522 avatar Feb 02 '19 05:02 justin0522

Is there a way to disable that error? Something like .EnableSwaggerUi(c => { c.DisableValidator(); }); Thanks!

aronyaffe avatar Aug 15 '19 10:08 aronyaffe

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

justin0522 avatar Sep 06 '19 01:09 justin0522

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

lichen0210 avatar Sep 15 '20 05:09 lichen0210

glad to hear that

justin0522 avatar Sep 21 '20 12:09 justin0522