randydev commited on
Commit
b22014d
·
verified ·
1 Parent(s): 9b19c6e

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
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(swaggerSpec);
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) => {