ryu-js / routes /example.js
randydev's picture
Update routes/example.js
95b0923 verified
raw
history blame
317 Bytes
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 };