theoomoregbee / sails-hook-swagger-generator

A tool to help generate Swagger specification documentation based on OAS 3.0 for Sails APIs
MIT License
78 stars 33 forks source link

Disable specific routes to generate #51

Closed sanjayradadiya closed 4 years ago

sanjayradadiya commented 5 years ago

Hi Guys,

Can we disable some specific routes to generate in swagger?

Thanks

danielsharvey commented 4 years ago

Just a note that in https://github.com/theo4u/sails-hook-swagger-generator/pull/44 there is a configuration includeRoute which allows filtering of routes for inclusion in the generated Swagger.

See Route Filtering.

theoomoregbee commented 4 years ago

fixed in #58