import express from 'express'; const router = express.Router(); /** * @openapi * /: * get: * description: Welcome to swagger-jsdoc! * responses: * 200: * description: Returns a mysterious string. */ router.get('/example', (req, res) => { res.json({ message: 'Example endpoint' }); }); export { router };