sujoydev99 commited on
Commit
c266adc
·
1 Parent(s): c4bb3e1

dockerfile added

Browse files
Files changed (1) hide show
  1. index.js +0 -6
index.js CHANGED
@@ -1702,12 +1702,6 @@ app.use(errorHandler)
1702
 
1703
  app.listen(port, async () => {
1704
  console.log(`Example app listening at http://localhost:${port}`);
1705
- const swaggerSpec = swaggerJSDoc(options);
1706
-
1707
- // Convert to YAML
1708
- const swaggerYAML = yaml.dump(swaggerSpec);
1709
- await fs.writeFileSync("swagger.yaml", swaggerYAML, 'utf-8')
1710
- await fs.writeFileSync("swagger.json", JSON.stringify(swaggerSpec, null, 2), 'utf-8')
1711
  });
1712
 
1713
  async function nextStep(session, messages, skills, functions, res) {
 
1702
 
1703
  app.listen(port, async () => {
1704
  console.log(`Example app listening at http://localhost:${port}`);
 
 
 
 
 
 
1705
  });
1706
 
1707
  async function nextStep(session, messages, skills, functions, res) {