import express from 'express'; | |
const router = express.Router(); | |
/** | |
* @swagger | |
* /api/example: | |
* get: | |
* summary: Example endpoint | |
* responses: | |
* 200: | |
* description: Success | |
*/ | |
router.get('/example', (req, res) => { | |
res.json({ message: 'Example endpoint' }); | |
}); | |
export { router }; | |