Swagger UI shows error (validation) when deployed

前端 未结 3 1720
自闭症患者
自闭症患者 2021-02-03 18:38

I have the swagger ui embedded in my application. And when I run my node application locally the UI works great.

However when I deploy the UI to my \'real\' server I ge

3条回答
  •  别那么骄傲
    2021-02-03 19:15

    When this happens (and it sometimes does) I go here:

    http://json-schema-validator.herokuapp.com/index.jsp

    Paste the swagger schema from here https://github.com/swagger-api/swagger-spec/blob/master/schemas/v2.0/schema.json in the schema field and then your spec in the data field

提交回复
热议问题