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,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
*/
/**