From b6651f12e22a998fd46e84c868db51da8f85c899 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs <93375423+prafull-opensignlabs@users.noreply.github.com> Date: Thu, 25 Jan 2024 23:46:25 +0530 Subject: [PATCH] Update opensign.yaml --- docs/docs/API-docs/opensign.yaml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/docs/docs/API-docs/opensign.yaml b/docs/docs/API-docs/opensign.yaml index 3aea5b00c..89a9ac022 100644 --- a/docs/docs/API-docs/opensign.yaml +++ b/docs/docs/API-docs/opensign.yaml @@ -1037,9 +1037,7 @@ components: signers: type: array items: - type: string - format: string - example: contact@example.com + $ref: '#/components/schemas/createdocument_body_signers' inline_response_200_1: type: object properties: @@ -1069,17 +1067,17 @@ components: createdocumenttemplate_id_Signers: type: object properties: - role: + Role: type: string example: Accoutnant - email: + Email: type: string format: mail example: joe@example.com - name: + Name: type: string example: joe bee - phone: + Phone: type: string example: "123123131" createdocument_template_id_body: @@ -1182,8 +1180,7 @@ components: signers: type: array items: - type: string - example: contact@example.com + $ref: '#/components/schemas/createdocument_body_signers' inline_response_200_5: type: object properties: @@ -1285,6 +1282,21 @@ components: Name: type: string example: joe + createdocument_body_signers: + type: object + properties: + email: + type: string + format: string + example: joebee@exampl.com + name: + type: string + format: string + example: joe bee + phone: + type: string + format: string + example: "123121312" securitySchemes: x-api-token: type: apiKey