ryu-js / routes /example.js
randydev's picture
Update routes/example.js
80213df verified
raw
history blame
319 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 };