File size: 1,148 Bytes
ef1ad9e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
application_not_found = {
400: {
"description": "Not Found",
"content": {
"application/json": {"example": {"status": 400, "message": "Application not found.", "success": False}}
},
}
}
user_not_found = {
404: {
"description": "Not Found",
"content": {"application/json": {"example": {"status": 404, "message": "User not found.", "success": False}}},
}
}
unauthorized_response = {
401: {
"description": "Unauthorized",
"content": {
"application/json": {"example": {"status": 401, "message": "Requires authentication", "success": False}}
},
}
}
document_not_found = {
404: {
"description": "Conflict",
"content": {
"application/json": {"example": {"status": 404, "message": "Document does not exist!", "success": False}}
},
}
}
permission_denied = {
403: {
"description": "Conflict",
"content": {
"application/json": {"example": {"status": 403, "message": "Permission denied.", "success": False}}
},
}
}
|