Skip to content

Commit

Permalink
Docs - Stoplight API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Thim committed Sep 24, 2024
1 parent 5533242 commit fc353a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified restapi-server/prisma/dev.db
Binary file not shown.
5 changes: 5 additions & 0 deletions restapi-server/src/static/docs.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ router.get('/swagger', function (req, res) {
res.sendFile(filePath);
});

router.get('/stoplight', function (req, res) {
const filePath = path.join(__dirname, '../../public/docs/stoplight/index.html');
res.sendFile(filePath);
});

router.get('/openapi', function (req, res) {
const filePath = path.join(__dirname, '../../../openapi.yml');
res.sendFile(filePath);
Expand Down

0 comments on commit fc353a4

Please sign in to comment.