You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ticket is to implement automatic swagger doc generation for harvester routes.
module.exports=function(harvester){varcategory=harvester.resource('categories',{name: Joi.string().required().description('a name'),links: {brand: 'brands'}});// Explicit .doc() declaration needed when an override of standard swagger spec is wanted category.getById().doc({summary: 'all the lovely categories by id'}).register();};
The text was updated successfully, but these errors were encountered:
This ticket is to implement automatic swagger doc generation for harvester routes.
The text was updated successfully, but these errors were encountered: