{
  "openapi": "3.1.0",
  "info": {
    "title": "Ruxagency AI Growth & Utilities API",
    "version": "1.0.0",
    "description": "Public API specification and developer endpoints for Ruxagency AI Growth Agency systems, business utilities, ROI calculators, and lead ingestion pipelines.",
    "contact": {
      "name": "Ruxagency Engineering",
      "email": "info@ruxagency.com",
      "url": "https://www.ruxagency.com/contact"
    },
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/licenses/MIT"
    }
  },
  "servers": [
    {
      "url": "https://www.ruxagency.com",
      "description": "Production Server"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Health Check",
        "description": "Returns operational system status of Ruxagency services.",
        "responses": {
          "200": {
            "description": "Service is healthy",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "example": "ok" },
                    "timestamp": { "type": "string", "format": "date-time" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/tools/invoice-generator": {
      "get": {
        "summary": "Ruxagency Invoice Generator (RAIG)",
        "description": "Free client-side high-resolution PDF invoice generator with dynamic QR codes, clickable payment links, and multi-currency support.",
        "responses": {
          "200": {
            "description": "Invoice generator web tool"
          }
        }
      }
    },
    "/tools/qr-generator": {
      "get": {
        "summary": "Vector QR Code Generator",
        "description": "Generate dynamic QR codes for URLs, WiFi credentials, vCards, WhatsApp chats, and crypto payments.",
        "responses": {
          "200": {
            "description": "QR code generator web tool"
          }
        }
      }
    },
    "/tools/automation-roi": {
      "get": {
        "summary": "AI Automation ROI Calculator",
        "description": "Calculate workforce operational savings and annual payback periods from AI workflow automation.",
        "responses": {
          "200": {
            "description": "ROI calculator web tool"
          }
        }
      }
    }
  }
}
