Swagger array of object update : suseendhiran

This commit is contained in:
suseendhiran17 2022-07-29 10:35:10 +05:30
parent 88dfb4011a
commit c9f2cc616c

View File

@ -44,6 +44,8 @@ router.get("/getMasterData", IncomeController.getMasterData);
* @swagger * @swagger
* definitions: * definitions:
* updateOtherIncome: * updateOtherIncome:
* type: array
* items:
* type: object * type: object
* properties: * properties:
* id: * id:
@ -62,14 +64,35 @@ router.get("/getMasterData", IncomeController.getMasterData);
* type: string * type: string
* description: * description:
* example: Latest Month's Rental Income * example: Latest Month's Rental Income
* childData:
* type: array
* description:
* example:
* updatedby: * updatedby:
* type: integer * type: integer
* description: * description:
* example: 003 * 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
*/ */
/** /**