ryu-js / akenox /routes /example.js
randydev's picture
Create akenox/routes/example.js
ecee857 verified
raw
history blame
328 Bytes
const express = require('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' });
});
module.exports = router;