From c9f2cc616cbd6742071ebc403fc1efc4a24b0643 Mon Sep 17 00:00:00 2001 From: suseendhiran17 <58357088+suseendhiran17@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:35:10 +0530 Subject: [PATCH] Swagger array of object update : suseendhiran --- app/routes/routes.js | 75 +++++++++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 26 deletions(-) diff --git a/app/routes/routes.js b/app/routes/routes.js index d5456c6..2abc15d 100644 --- a/app/routes/routes.js +++ b/app/routes/routes.js @@ -44,32 +44,55 @@ router.get("/getMasterData", IncomeController.getMasterData); * @swagger * definitions: * updateOtherIncome: -* type: object -* properties: -* id: -* type: integer -* description: -* example: 34 -* losid: -* type: string -* description: -* example: MW112233 -* table_name: -* type: string -* description: -* example: rental_income -* particulars: -* type: string -* description: -* example: Latest Month's Rental Income -* childData: -* type: array -* description: -* example: -* updatedby: -* type: integer -* description: -* example: 003 +* type: array +* items: +* type: object +* properties: +* id: +* type: integer +* description: +* example: 34 +* losid: +* type: string +* description: +* example: MW112233 +* table_name: +* type: string +* description: +* example: rental_income +* particulars: +* type: string +* description: +* example: Latest Month's Rental Income +* updatedby: +* type: integer +* description: +* example: 003 +* childData: +* type: array +* items: +* type: object +* properties: +* id: +* type: integer +* description: +* example: 81 +* other_income_id: +* type: integer +* description: +* example: 78 +* column_name: +* type: string +* description: +* example: amount +* value: +* type: integer +* description: +* example: 1000000 +* updatedby: +* type: integer +* description: +* example: 34 */ /**