### api_docs.py import json # python dictionary api_docs = { "base_url": "https://aivisions.no/data/daysoff/api/v1/booking/", "endpoints": { "method": "GET", "description": "Retrieve booking information for a given booking ID.", "parameters": { "auth_token": { "type": "string", "description": "The authorization token for the API request." }, "booking_id": { "type": "string", "description": "The unique identifier of the booking to retrieve." } }, "headers": { "Authorization": "Bearer ", "Content-Type": "application/json" }, "response": { "description": "A JSON object containing booking details.", "content_type": "application/json", "fields": { "booking_id": "response.get('booking_id', 'N/A')", "full_name": "response.get('full_name', 'N/A')", "amount": "response.get('amount', 'N/A')", "checkin": "response.get('checkin', 'N/A')", "checkout": "response.get('checkout', 'N/A')", "address": "response.get('address', 'N/A')", "user_id": "response.get('user_id', 'N/A')" } } } } auth_token = "" api_docs_str = json.dumps(api_docs, indent=2) # daysoff_api_docs_str = str(daysoff_api_docs) api_docs_str