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 * @swagger
* definitions: * definitions:
* updateOtherIncome: * updateOtherIncome:
* type: object * type: array
* properties: * items:
* id: * type: object
* type: integer * properties:
* description: * id:
* example: 34 * type: integer
* losid: * description:
* type: string * example: 34
* description: * losid:
* example: MW112233 * type: string
* table_name: * description:
* type: string * example: MW112233
* description: * table_name:
* example: rental_income * type: string
* particulars: * description:
* type: string * example: rental_income
* description: * particulars:
* example: Latest Month's Rental Income * type: string
* childData: * description:
* type: array * example: Latest Month's Rental Income
* description: * updatedby:
* example: * type: integer
* updatedby: * description:
* type: integer * example: 003
* description: * childData:
* example: 003 * 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
*/ */
/** /**