File size: 1,232 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
44
45
46
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}}
        },
    }
}


internal_server_error_response = {
    500: {
        "description": "Internal Server Error",
        "content": {
            "application/json": {
                "example": {"status": 500, "message": "An internal server error occurred.", "success": False}
            }
        },
    }
}

onboarding_data_not_found = {
    409: {
        "description": "Conflict",
        "content": {
            "application/json": {"example": {"status": 409, "message": "Onboarding data not found", "success": False}}
        },
    }
}