trailsjs / sails-swagger

Swagger integration for sails.js
107 stars 47 forks source link

Installation #35

Open Crusader4Christ opened 7 years ago

Crusader4Christ commented 7 years ago

after I make npm install sails-swagger --save and restart sails (I get verbose: swagger hook loaded successfully.)

All what I get is just huge swagger json. It's right? How can I get UI for it? Also I get some strange models that I do not use - contact and group and association for it - contact_contacts_contact__group_contacts

Harishgolla commented 7 years ago

http://stackoverflow.com/questions/30671160/swagger-sails-js

You should copy swagger-ui to .tmp along with some specific changes. Follow above stackoverflow's mentioned points to get the UI.