Se integró el servidor para ejecutar swagger.
This diff is collapsed.
... | ... | @@ -6,8 +6,8 @@ |
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"app": "node example/service/app", | ||
"swagger": "node example/swagger-server.js", | ||
"example": "node example/documentation && rm -rf public/apidoc && mkdir -p public/apidoc && cp -rf example/documentation/build/apidoc public" | ||
"example": "node example/documentation && rm -rf public && cp -rf example/documentation/build/public public", | ||
"doc-server": "node example/documentation/doc-server.js" | ||
}, | ||
"author": "AGETIC", | ||
"license": "GPL v2", | ||
... | ... | @@ -20,14 +20,12 @@ |
}, | ||
"dependencies": { | ||
"apidoc": "^0.17.6", | ||
"cors": "^2.8.4", | ||
"ejs": "^2.6.1", | ||
"express": "^4.16.4", | ||
"lodash": "^4.17.11", | ||
"mkdirp": "^0.5.1", | ||
"request": "^2.88.0", | ||
"sequelize": "^4.39.1" | ||
}, | ||
"devDependencies": { | ||
"cors": "^2.8.4", | ||
"express": "^4.16.4", | ||
"swagger-ui-dist": "^3.19.3" | ||
} | ||
} |
template/swagger/README.md
0 → 100644
445 Bytes
1.11 KB
template/swagger/index.html
0 → 100644
template/swagger/index.js
0 → 100644
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.