Skip to content

Commit a9d5e36

Browse files
committed
fix(openapi-full): require filesCount and files in ValidatedFile schema
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e5e05b4 commit a9d5e36

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

openapi-full.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2718,6 +2718,8 @@
27182718
"nodeType",
27192719
"signatureFlow",
27202720
"docmdpLevel",
2721+
"filesCount",
2722+
"files",
27212723
"totalPages",
27222724
"size",
27232725
"pdfVersion",
@@ -4849,7 +4851,7 @@
48494851
"get": {
48504852
"operationId": "file-validate-uuid",
48514853
"summary": "Validate a file using Uuid",
4852-
"description": "Validate a file returning file data. When `nodeType` is `envelope`, the response includes `filesCount` and `files` as a list of envelope child files.",
4854+
"description": "Validate a file returning file data. The response always includes `filesCount` and `files`. For `nodeType=file`, `filesCount=1` and `files` contains the current file. For `nodeType=envelope`, `files` contains envelope child files.",
48534855
"tags": [
48544856
"file"
48554857
],
@@ -5002,7 +5004,7 @@
50025004
"get": {
50035005
"operationId": "file-validate-file-id",
50045006
"summary": "Validate a file using FileId",
5005-
"description": "Validate a file returning file data. When `nodeType` is `envelope`, the response includes `filesCount` and `files` as a list of envelope child files.",
5007+
"description": "Validate a file returning file data. The response always includes `filesCount` and `files`. For `nodeType=file`, `filesCount=1` and `files` contains the current file. For `nodeType=envelope`, `files` contains envelope child files.",
50065008
"tags": [
50075009
"file"
50085010
],
@@ -5156,7 +5158,7 @@
51565158
"post": {
51575159
"operationId": "file-validate-binary",
51585160
"summary": "Validate a binary file",
5159-
"description": "Validate a binary file returning file data. Use field 'file' for the file upload. When `nodeType` is `envelope`, the response includes `filesCount` and `files` as a list of envelope child files.",
5161+
"description": "Validate a binary file returning file data. Use field 'file' for the file upload. The response always includes `filesCount` and `files`. For `nodeType=file`, `filesCount=1` and `files` contains the current file. For `nodeType=envelope`, `files` contains envelope child files.",
51605162
"tags": [
51615163
"file"
51625164
],
@@ -8021,7 +8023,7 @@
80218023
"post": {
80228024
"operationId": "request_signature-request",
80238025
"summary": "Request signature",
8024-
"description": "Request that a file be signed by a list of signers. Each signer in the signers array can optionally include a 'signingOrder' field to control the order of signatures when ordered signing flow is enabled. When the created entity is an envelope (`nodeType` = `envelope`), the returned `data` includes `filesCount` and `files` as a list of envelope child files.",
8026+
"description": "Request that a file be signed by a list of signers. Each signer in the signers array can optionally include a 'signingOrder' field to control the order of signatures when ordered signing flow is enabled. The returned `data` always includes `filesCount` and `files`. For `nodeType=file`, `filesCount=1` and `files` contains the current file. For `nodeType=envelope`, `files` contains envelope child files.",
80258027
"tags": [
80268028
"request_signature"
80278029
],

0 commit comments

Comments
 (0)