express-joi-openapi icon indicating copy to clipboard operation
express-joi-openapi copied to clipboard

how to add tags and summary?

Open shanliangdeYWJ opened this issue 11 months ago • 0 comments

I want add tags and summary like ... ...

app.post('/ping/:userId',

   summary('......'),
   tags(['ping module']),
   security(....),
   props({...}),
   
  validateRequest(userSchema),
  validateResponse(userResponse),
  (req, res) => {
    const { userId } = req.params
    res.status(200).json({ userId })
  }
)




shanliangdeYWJ avatar Mar 11 '24 18:03 shanliangdeYWJ