File size: 317 Bytes
95b0923
ecee857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80213df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 };