From 2e87764ee510cb117490cd8ad5b64ff102f70293 Mon Sep 17 00:00:00 2001 From: Jude Fernandes Date: Wed, 11 Dec 2019 15:14:35 +0530 Subject: [PATCH] updated doc for portfolio addition --- public/admin_api_doc.dev.yml | 126 +++++++++++++++++++---------------- 1 file changed, 68 insertions(+), 58 deletions(-) diff --git a/public/admin_api_doc.dev.yml b/public/admin_api_doc.dev.yml index 85e2c10..6aee57a 100644 --- a/public/admin_api_doc.dev.yml +++ b/public/admin_api_doc.dev.yml @@ -1428,36 +1428,41 @@ paths: schema: type: object properties: - title: - type: string - description: title for the portfolio - example: Mobile project - description: - type: string - description: long description for the portfolio - example: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - componentId: - type: array - items: - type: string - technologyId: - type: array - items: - type: string - categoryId: - type: array - items: - type: string - projectId: - type: array - items: - type: string + payload: + type: object + properties: + title: + type: string + description: title for the portfolio + example: Mobile project + description: + type: string + description: long description for the portfolio + example: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. + componentId: + type: array + items: + type: string + technologyId: + type: array + items: + type: string + categoryId: + type: array + items: + type: string + projectId: + type: array + items: + type: string + required: + - title + - componentId + - technologyId + - categoryId + - projectId required: - - title - - componentId - - technologyId - - categoryId - - projectId + - payload responses: 200: $ref: "#/components/responses/InsertUpdateResponse" @@ -1504,36 +1509,41 @@ paths: schema: type: object properties: - title: - type: string - description: title for the portfolio - example: Mobile project - description: - type: string - description: long description for the portfolio - example: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. - componentId: - type: array - items: - type: string - technologyId: - type: array - items: - type: string - categoryId: - type: array - items: - type: string - projectId: - type: array - items: - type: string + payload: + type: object + properties: + title: + type: string + description: title for the portfolio + example: Mobile project + description: + type: string + description: long description for the portfolio + example: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. + componentId: + type: array + items: + type: string + technologyId: + type: array + items: + type: string + categoryId: + type: array + items: + type: string + projectId: + type: array + items: + type: string + required: + - title + - componentId + - technologyId + - categoryId + - projectId required: - - title - - componentId - - technologyId - - categoryId - - projectId + - payload responses: 200: $ref: "#/components/responses/InsertUpdateResponse"