randydev commited on
Commit
70f584f
·
verified ·
1 Parent(s): 59eb7e1

Update routes/example.js

Browse files
Files changed (1) hide show
  1. routes/example.js +1 -10
routes/example.js CHANGED
@@ -2,17 +2,8 @@ import express from 'express';
2
 
3
  const router = express.Router();
4
 
5
- /**
6
- * @openapi
7
- * /:
8
- * get:
9
- * description: Welcome to swagger-jsdoc!
10
- * responses:
11
- * 200:
12
- * description: Returns a mysterious string.
13
- */
14
  router.get('/example', (req, res) => {
15
  res.json({ message: 'Example endpoint' });
16
  });
17
 
18
- export { router };
 
2
 
3
  const router = express.Router();
4
 
 
 
 
 
 
 
 
 
 
5
  router.get('/example', (req, res) => {
6
  res.json({ message: 'Example endpoint' });
7
  });
8
 
9
+ export { router };