{
    "openapi": "3.1.0",
    "info": {
        "title": "Overron Hotel MCP Server",
        "description": "Hotel data API for Greek hotels. Search rooms, get hotel info, generate booking links.",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "https://mcp.overron.com"
        }
    ],
    "paths": {
        "/": {
            "post": {
                "operationId": "mcpCall",
                "summary": "MCP JSON-RPC call",
                "description": "Send a JSON-RPC 2.0 request to call any MCP tool. Available tools: search_rooms, search_hotels, get_hotel_info, get_booking_url, list_hotels.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method",
                                    "id"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "type": "string",
                                        "enum": [
                                            "2.0"
                                        ]
                                    },
                                    "method": {
                                        "type": "string",
                                        "enum": [
                                            "tools/call",
                                            "tools/list",
                                            "initialize"
                                        ]
                                    },
                                    "params": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "description": "Tool name: search_rooms | search_hotels | get_hotel_info | get_booking_url | list_hotels"
                                            },
                                            "arguments": {
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "id": {
                                        "type": "integer"
                                    }
                                }
                            },
                            "examples": {
                                "search_all_hotels": {
                                    "summary": "Search rooms across all hotels",
                                    "value": {
                                        "jsonrpc": "2.0",
                                        "method": "tools/call",
                                        "params": {
                                            "name": "search_rooms",
                                            "arguments": {
                                                "query": "suite with sea view for 2"
                                            }
                                        },
                                        "id": 1
                                    }
                                },
                                "list_hotels": {
                                    "summary": "List all hotels",
                                    "value": {
                                        "jsonrpc": "2.0",
                                        "method": "tools/call",
                                        "params": {
                                            "name": "list_hotels",
                                            "arguments": {}
                                        },
                                        "id": 2
                                    }
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "X-Property-Id",
                        "in": "header",
                        "required": false,
                        "description": "WebHotelier property ID to target a specific hotel. Omit to search all hotels.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "JSON-RPC 2.0 response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "jsonrpc": {
                                            "type": "string"
                                        },
                                        "result": {
                                            "type": "object"
                                        },
                                        "error": {
                                            "type": "object"
                                        },
                                        "id": {
                                            "type": "integer"
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}