updatee
This commit is contained in:
@@ -32,8 +32,7 @@ const routes = [
|
|||||||
'./../../api-server/Routes/wallItems-Routes.ts',
|
'./../../api-server/Routes/wallItems-Routes.ts',
|
||||||
];
|
];
|
||||||
|
|
||||||
/* NOTE: If you are using the express Router, you must pass in the 'routes' only the
|
|
||||||
root file where the route starts, such as index.js, app.js, routes.js, etc ... */
|
|
||||||
|
|
||||||
swaggerAutogen()(outputFile, routes, doc).then(() => {
|
swaggerAutogen()(outputFile, routes, doc).then(() => {
|
||||||
console.log('Swagger documentation generated!');
|
console.log('Swagger documentation generated!');
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"swagger": "2.0",
|
"swagger": "2.0",
|
||||||
"info": {
|
"info": {
|
||||||
"title": "dwinzo documetion",
|
"title": "dwinzo documentation",
|
||||||
"description": "Description",
|
"description": "Description",
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user