{ "openapi": "3.0.0", "info": { "title": "AI Chat API", "version": "1.0.0", "description": "AI assistant for customer support" }, "servers": [ { "url": "https://yourdomain.com/api" } ], "paths": { "/chat": { "post": { "summary": "Send message to AI", "operationId": "chatAI", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "message": { "type": "string" } } } } } }, "responses": { "200": { "description": "AI response", "content": { "application/json": { "schema": { "type": "object", "properties": { "reply": { "type": "string" } } } } } } } } } } }