camparchimedes commited on
Commit
05ae73e
ยท
verified ยท
1 Parent(s): e06eacc

Update api_docs_mck.py

Browse files
Files changed (1) hide show
  1. api_docs_mck.py +7 -7
api_docs_mck.py CHANGED
@@ -3,16 +3,15 @@
3
  import json
4
 
5
  api_docs = {
6
- "api_url": "<https://670dccd0073307b4ee447f2f.mockapi.io/daysoff/api/V1/>",
7
  "endpoints": {
8
- "/booking": {
9
- "method": "GET",
10
- "description": "Retrieve booking details for a given booking ID.",
11
- "parameters": {
12
- "booking_id": {
13
  "type": "string",
14
  "description": "Alphanumeric identifier, (6 capital letters followed by 6 digits, e.g., DAGHNS116478) of the booking to retrieve.",
15
- "regex_pattern": "^[A-Z]{6}\\d{6}$",
16
  }
17
  },
18
  "headers": {
@@ -33,6 +32,7 @@ api_docs = {
33
  }
34
  }
35
 
 
36
  api_docs_str = json.dumps(api_docs, indent=2)
37
  api_docs_str
38
 
 
3
  import json
4
 
5
  api_docs = {
6
+ "api_url": "https://670dccd0073307b4ee447f2f.mockapi.io/daysoff/api/V1/booking",
7
  "endpoints": {
8
+ "method": "GET",
9
+ "description": "Retrieve booking details for a given booking ID.",
10
+ "parameters": {
11
+ "booking_id": {
 
12
  "type": "string",
13
  "description": "Alphanumeric identifier, (6 capital letters followed by 6 digits, e.g., DAGHNS116478) of the booking to retrieve.",
14
+ "regex_pattern": "^[A-Z]{6}\\d{6}$"
15
  }
16
  },
17
  "headers": {
 
32
  }
33
  }
34
 
35
+
36
  api_docs_str = json.dumps(api_docs, indent=2)
37
  api_docs_str
38