From 9017b2275c80a91e2f35a86086e59f2f32168b13 Mon Sep 17 00:00:00 2001 From: sabarinathan Date: Thu, 30 Jan 2025 17:28:43 +0530 Subject: [PATCH] updatee --- src/shared/swagger/swagger.ts | 3 +-- swagger-output.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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" },