diff --git a/src/shared/swagger/swagger.ts b/src/shared/swagger/swagger.ts index 6f57aa0..acf54f7 100644 --- a/src/shared/swagger/swagger.ts +++ b/src/shared/swagger/swagger.ts @@ -32,8 +32,7 @@ const routes = [ './../../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(() => { console.log('Swagger documentation generated!'); diff --git a/swagger-output.json b/swagger-output.json index 7904ea2..72a3c3d 100644 --- a/swagger-output.json +++ b/swagger-output.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "dwinzo documetion", + "title": "dwinzo documentation", "description": "Description", "version": "1.0.0" },