Spaces:
Runtime error
Runtime error
Commit
·
c266adc
1
Parent(s):
c4bb3e1
dockerfile added
Browse files
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) {
|