openapi: 3.0.3 info: title: Mock API Server version: 1.0.0 servers: - url: http://localhost:4010 paths: /health: get: summary: Health check description: Simple health check endpoint to verify service availability responses: "200": description: Service is healthy # Mock OpenAI /openai/v1/chat/completions: $ref: ./paths/openai/chat.yaml /openai/v1/embeddings: $ref: ./paths/openai/embeddings.yaml # Mock Anthropic /anthropic/v1/messages: $ref: ./paths/anthropic/messages.yaml /anthropic/v1/messages-geo-speed: $ref: ./paths/anthropic/messages_geo_speed.yaml /anthropic/v1/messages-cache-1hr: $ref: ./paths/anthropic/messages_cache_1hr.yaml /anthropic/v1/messages-web-search: $ref: ./paths/anthropic/messages_web_search.yaml /anthropic/v1/messages-cache-read: $ref: ./paths/anthropic/messages_cache_read.yaml # Mock Gemini native /gemini/v1/models/{model}:generateContent: $ref: ./paths/gemini/generate_content.yaml /gemini/v1/cached/{model}:generateContent: $ref: ./paths/gemini/generate_content_cached.yaml /gemini/v1/thinking/{model}:generateContent: $ref: ./paths/gemini/generate_content_thinking.yaml # Mock OpenAI with prompt caching /openai/v1/chat-cached: $ref: ./paths/openai/chat_cached.yaml # Mock Mistral /mistral/v1/chat/completions: $ref: ./paths/mistral/chat.yaml # Mock unknown LLM (no pricing data) /unknown-llm/v1/chat: $ref: ./paths/unknown-llm/chat.yaml # Mock custom-priced LLMs (for custom pricing file tests) /custom-llm/v1/chat: $ref: ./paths/custom-llm/chat.yaml /custom-llm/v1/gpt35: $ref: ./paths/custom-llm/gpt35.yaml components: schemas: $ref: ./components/schemas.yaml securitySchemes: $ref: ./components/security_schemes.yaml