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}} | |
}, | |
} | |
} | |