express-joi-openapi
express-joi-openapi copied to clipboard
how to add tags and summary?
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 })
}
)