Update index.js
Browse files
index.js
CHANGED
@@ -50,7 +50,7 @@ app.get('/', (req, res) => {
|
|
50 |
|
51 |
app.get('/api-docs.json', (req, res) => {
|
52 |
res.setHeader('Content-Type', 'application/json');
|
53 |
-
res.send(
|
54 |
});
|
55 |
|
56 |
app.use(async (req, res, next) => {
|
|
|
50 |
|
51 |
app.get('/api-docs.json', (req, res) => {
|
52 |
res.setHeader('Content-Type', 'application/json');
|
53 |
+
res.send(openapiSpecification);
|
54 |
});
|
55 |
|
56 |
app.use(async (req, res, next) => {
|