{
  "openapi": "3.0.4",
  "info": {
    "title": "OcrAsAService.Api",
    "version": "1.0"
  },
  "paths": {
    "/api/health": {
      "get": {
        "tags": [
          "OcrAsAService.Api"
        ],
        "summary": "Health endpoint for infrastructure smoke tests",
        "operationId": "Health",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ocr/jobs": {
      "post": {
        "tags": [
          "OcrAsAService.Api"
        ],
        "summary": "Submit a PDF, JPG, PNG, or HEIC/HEIF file for OCR processing",
        "operationId": "SubmitOcrJob",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/ocr/jobs/{jobId}": {
      "get": {
        "tags": [
          "OcrAsAService.Api"
        ],
        "summary": "Get the status or result of an OCR job",
        "operationId": "GetOcrJobStatus",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": { },
  "tags": [
    {
      "name": "OcrAsAService.Api"
    }
  ]
}