Swagger Sails JS

后端 未结 5 800
执念已碎
执念已碎 2020-12-08 11:04

Any idea of how to integrate swagger, swagger-ui with a sails js project?

Where can i found information about it, or about another

5条回答
  •  再見小時候
    2020-12-08 11:50

    I found a solution using swagger-ui. I create a folder called docs in assets sails folder, put the swagger-ui content in there, and edit the swagger.json file. Then, I did sails lift. The docs is now available in http://ip_address:1337/docs. I'm using sails v- 0.11.0

提交回复
热议问题