sails-swagger icon indicating copy to clipboard operation
sails-swagger copied to clipboard

sails with --no-frontend option

Open westlakem opened this issue 9 years ago • 2 comments

It looks like sails-swagger doesn't work on an existing API that has the no-front end option

westlakem avatar Nov 02 '16 16:11 westlakem

If there is no frontend option, how would swagger-ui supposed to work? Isn't the goal to enable users to browser the api via the frontend?

genu avatar Jan 07 '17 04:01 genu

so the no frontend option just removes the gulpfile, assets directory, and other public folders from the app. There is no reason that removing GULP and the assets directory should prevent other plugins from having a front end (especially for development). I shouldn't have to have a full flegged gulp build process just to include swagger in the project.

westlakem avatar Jan 07 '17 21:01 westlakem