Skip to content

Commit

Permalink
feat: update tests/spec.json
Browse files Browse the repository at this point in the history
Signed-off-by: Jay <[email protected]>
  • Loading branch information
35C4n0r committed Nov 17, 2023
1 parent 677f4cf commit db22b05
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/resources/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,27 @@
}
},
"required": ["result"]
},
"appwriteException": {
"x-appwrite": {
"types": [
{
"code": 400,
"type": "general_mock",
"message": "General errors thrown by the mock controller used for testing."
},
{
"code": 409,
"type": "document_already_exists",
"message": "Document with the requested ID already exists. Try again with a different ID or use unique() to generate a unique ID."
},
{
"code": 404,
"type": "avatar_not_found",
"message": "The request avatar could not be found."
}
]
}
}
},
"externalDocs": {
Expand Down

0 comments on commit db22b05

Please sign in to comment.