mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
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 <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
06b1b8faac
commit
df44227af1
3 changed files with 11 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ namespace OCA\Libresign;
|
|||
* status: 0|1|2|3|4,
|
||||
* statusText: string,
|
||||
* nodeId: non-negative-int,
|
||||
* signatureFlow: int,
|
||||
* totalPages: non-negative-int,
|
||||
* size: non-negative-int,
|
||||
* pdfVersion: string,
|
||||
|
|
|
|||
|
|
@ -1012,6 +1012,7 @@
|
|||
"status",
|
||||
"statusText",
|
||||
"nodeId",
|
||||
"signatureFlow",
|
||||
"totalPages",
|
||||
"size",
|
||||
"pdfVersion",
|
||||
|
|
@ -1045,6 +1046,10 @@
|
|||
"format": "int64",
|
||||
"minimum": 0
|
||||
},
|
||||
"signatureFlow": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"totalPages": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
|
|
|
|||
|
|
@ -862,6 +862,7 @@
|
|||
"status",
|
||||
"statusText",
|
||||
"nodeId",
|
||||
"signatureFlow",
|
||||
"totalPages",
|
||||
"size",
|
||||
"pdfVersion",
|
||||
|
|
@ -895,6 +896,10 @@
|
|||
"format": "int64",
|
||||
"minimum": 0
|
||||
},
|
||||
"signatureFlow": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"totalPages": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue