Skip to content

Commit df44227

Browse files
committed
fix: add signatureFlow to ValidateFile schema
Add signatureFlow field to ValidateFile schema in OpenAPI specs and ResponseDefinitions. - Update openapi.json and openapi-full.json schemas - Add signatureFlow to LibresignValidateFile psalm type - Mark as required field with integer type This fixes OpenAPI validation errors in API tests. Signed-off-by: Vitor Mattos <[email protected]>
1 parent 06b1b8f commit df44227

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

lib/ResponseDefinitions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
* status: 0|1|2|3|4,
187187
* statusText: string,
188188
* nodeId: non-negative-int,
189+
* signatureFlow: int,
189190
* totalPages: non-negative-int,
190191
* size: non-negative-int,
191192
* pdfVersion: string,

openapi-full.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,7 @@
10121012
"status",
10131013
"statusText",
10141014
"nodeId",
1015+
"signatureFlow",
10151016
"totalPages",
10161017
"size",
10171018
"pdfVersion",
@@ -1045,6 +1046,10 @@
10451046
"format": "int64",
10461047
"minimum": 0
10471048
},
1049+
"signatureFlow": {
1050+
"type": "integer",
1051+
"format": "int64"
1052+
},
10481053
"totalPages": {
10491054
"type": "integer",
10501055
"format": "int64",

openapi.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@
862862
"status",
863863
"statusText",
864864
"nodeId",
865+
"signatureFlow",
865866
"totalPages",
866867
"size",
867868
"pdfVersion",
@@ -895,6 +896,10 @@
895896
"format": "int64",
896897
"minimum": 0
897898
},
899+
"signatureFlow": {
900+
"type": "integer",
901+
"format": "int64"
902+
},
898903
"totalPages": {
899904
"type": "integer",
900905
"format": "int64",

0 commit comments

Comments
 (0)