Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 0f322ba

Browse files
committed
Replace message by errors
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 464b3ac commit 0f322ba

File tree

1 file changed

+40
-15
lines changed

1 file changed

+40
-15
lines changed

site/.vuepress/public/specs/api.yaml

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -724,10 +724,16 @@ paths:
724724
schema:
725725
type: object
726726
properties:
727-
message:
728-
type: string
729-
description: Description of the failure that occurred
730-
example: User 0 needs an email address
727+
errors:
728+
type: array
729+
items:
730+
type: string
731+
example:
732+
- User 0 needs an email address
733+
action:
734+
type: integer
735+
description: Numeric code representing what action should be taken with the response.
736+
example: 200
731737
patch:
732738
tags:
733739
- sign
@@ -803,10 +809,16 @@ paths:
803809
schema:
804810
type: object
805811
properties:
806-
message:
807-
type: string
808-
description: Description of the failure that occurred
809-
example: User 0 needs an email address
812+
errors:
813+
type: array
814+
items:
815+
type: string
816+
example:
817+
- User 0 needs an email address
818+
action:
819+
type: integer
820+
description: Numeric code representing what action should be taken with the response.
821+
example: 200
810822
/request-signature/signature:
811823
delete:
812824
tags:
@@ -1087,10 +1099,17 @@ paths:
10871099
schema:
10881100
type: object
10891101
properties:
1090-
message:
1091-
type: string
1102+
errors:
1103+
type: array
10921104
description: Description of the failure that occurred
1093-
example: UUID not found
1105+
items:
1106+
type: string
1107+
example:
1108+
- UUID not found
1109+
action:
1110+
type: integer
1111+
description: Numeric code representing what action should be taken with the response.
1112+
example: 200
10941113
'/sign/file_id/{fileId}/{fileUserId}':
10951114
delete:
10961115
tags:
@@ -1128,10 +1147,16 @@ paths:
11281147
schema:
11291148
type: object
11301149
properties:
1131-
message:
1132-
type: string
1133-
description: Description of the failure that occurred
1134-
example: Signer not associated to this file
1150+
errors:
1151+
type: array
1152+
items:
1153+
type: string
1154+
example:
1155+
- Signer not associated to this file
1156+
action:
1157+
type: integer
1158+
description: Numeric code representing what action should be taken with the response.
1159+
example: 200
11351160
'/sign/uuid/{uuid}/token':
11361161
post:
11371162
tags:

0 commit comments

Comments
 (0)