diff --git a/openapi.yml b/openapi.yml index 19a8bef..11ea81a 100644 --- a/openapi.yml +++ b/openapi.yml @@ -22,6 +22,8 @@ tags: description: "" - name: signing-request description: "" + - name: signing-request-document + description: "" paths: /hello: @@ -69,6 +71,33 @@ paths: application/json: schema: $ref: "#/components/schemas/ErrorResponse" + /signing-request-document/{id}/data: + get: + tags: + - signing-request-document + summary: Get the file data of a signing request document + operationId: getSigningRequestDocumentData + parameters: + - name: id + in: path + required: true + description: The ID of the signing request document + schema: + type: string + responses: + 200: + description: "Signing request document file data was found" + content: + application/pdf: + schema: + type: string + format: binary + 404: + description: "Signing request document file data was not found" + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" /token: post: