{
  "openapi": "3.1.0",
  "info": {
    "title": "CodeDig API",
    "description": "REST API powering https://codedig.ai. CodeDig analyzes every pull request for risk, security vulnerabilities, and downstream impact before it reaches production.\n\nAuthentication: endpoints without an explicit empty `security` array require `Authorization: Bearer <token>` \u2014 either a session JWT (browser) or an API key (CLI/SDK); browser sessions may alternatively rely on the session cookie. Endpoints marked `security: []` are public/unauthenticated.",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://api.codedig.ai",
      "description": "REST API host"
    }
  ],
  "tags": [
    {
      "name": "admin",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "ai",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "agentic-prompts",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "ai-settings",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "billing",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "integrations",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "repos",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "security",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "users",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "auth",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "commits",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "dashboard",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "graph",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "health",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "impact",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "metrics",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "ml",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "playground",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "search",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "symbols",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "where-used",
      "description": "0 operation(s) under `/`"
    },
    {
      "name": "public",
      "description": "Unauthenticated read-only endpoints for agents, CLIs, and evaluators."
    }
  ],
  "paths": {
    "/admin/ai-audit/backfill-conclusions": {
      "post": {
        "operationId": "postAdminAiAuditBackfillConclusions",
        "summary": "POST /admin/ai-audit/backfill-conclusions",
        "description": "POST /admin/ai-audit/backfill-conclusions \u2014 implemented by `handlers::ai_audit_backfill::backfill_conclusions`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/benchmarks/compute": {
      "post": {
        "operationId": "postAdminBenchmarksCompute",
        "summary": "POST /admin/benchmarks/compute",
        "description": "POST /admin/benchmarks/compute \u2014 implemented by `handlers::benchmarks::compute_benchmark_aggregates`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/billing/plans": {
      "get": {
        "operationId": "getAdminBillingPlans",
        "summary": "GET /admin/billing/plans",
        "description": "GET /admin/billing/plans \u2014 implemented by `handlers::billing::get_plans`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postAdminBillingPlans",
        "summary": "POST /admin/billing/plans",
        "description": "POST /admin/billing/plans \u2014 implemented by `handlers::billing::create_plan`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/billing/summary": {
      "get": {
        "operationId": "getAdminBillingSummary",
        "summary": "GET /admin/billing/summary",
        "description": "GET /admin/billing/summary \u2014 implemented by `handlers::admin::get_billing_summary`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/billing/usage/{tenant_id}": {
      "get": {
        "operationId": "getAdminBillingUsageTenantId",
        "summary": "GET /admin/billing/usage/{tenant_id}",
        "description": "GET /admin/billing/usage/{tenant_id} \u2014 implemented by `handlers::billing::get_tenant_usage_report`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/dashboard/ws": {
      "get": {
        "operationId": "getAdminDashboardWs",
        "summary": "GET /admin/dashboard/ws",
        "description": "GET /admin/dashboard/ws \u2014 implemented by `handlers::admin::admin_dashboard_websocket`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/overview": {
      "get": {
        "operationId": "getAdminOverview",
        "summary": "GET /admin/overview",
        "description": "GET /admin/overview \u2014 implemented by `handlers::admin::get_overview`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/personas": {
      "post": {
        "operationId": "postAdminPersonas",
        "summary": "POST /admin/personas",
        "description": "POST /admin/personas \u2014 implemented by `handlers::admin_personas::create_persona_handler`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/personas/{id}": {
      "delete": {
        "operationId": "deleteAdminPersonasId",
        "summary": "DELETE /admin/personas/{id}",
        "description": "DELETE /admin/personas/{id} \u2014 implemented by `handlers::admin_personas::deactivate_persona_handler`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "put": {
        "operationId": "putAdminPersonasId",
        "summary": "PUT /admin/personas/{id}",
        "description": "PUT /admin/personas/{id} \u2014 implemented by `handlers::admin_personas::update_persona_handler`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/plugins/cleanup-executions": {
      "post": {
        "operationId": "postAdminPluginsCleanupExecutions",
        "summary": "POST /admin/plugins/cleanup-executions",
        "description": "POST /admin/plugins/cleanup-executions \u2014 implemented by `handlers::plugin_admin::cleanup_old_executions`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/reseller/customers": {
      "get": {
        "operationId": "getAdminResellerCustomers",
        "summary": "GET /admin/reseller/customers",
        "description": "GET /admin/reseller/customers \u2014 implemented by `handlers::white_label::list_reseller_customers`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postAdminResellerCustomers",
        "summary": "POST /admin/reseller/customers",
        "description": "POST /admin/reseller/customers \u2014 implemented by `handlers::white_label::create_reseller_customer`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/reseller/customers/{tenant_id}": {
      "delete": {
        "operationId": "deleteAdminResellerCustomersTenantId",
        "summary": "DELETE /admin/reseller/customers/{tenant_id}",
        "description": "DELETE /admin/reseller/customers/{tenant_id} \u2014 implemented by `handlers::white_label::delete_reseller_customer`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/stats": {
      "get": {
        "operationId": "getAdminStats",
        "summary": "GET /admin/stats",
        "description": "GET /admin/stats \u2014 implemented by `handlers::admin::get_stats`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/system-status": {
      "get": {
        "operationId": "getAdminSystemStatus",
        "summary": "GET /admin/system-status",
        "description": "GET /admin/system-status \u2014 implemented by `handlers::admin_system::get_system_status`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/tenants": {
      "get": {
        "operationId": "getAdminTenants",
        "summary": "GET /admin/tenants",
        "description": "GET /admin/tenants \u2014 implemented by `handlers::admin::get_tenants`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postAdminTenants",
        "summary": "POST /admin/tenants",
        "description": "POST /admin/tenants \u2014 implemented by `handlers::admin::create_tenant`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/tenants/{id}": {
      "delete": {
        "operationId": "deleteAdminTenantsId",
        "summary": "DELETE /admin/tenants/{id}",
        "description": "DELETE /admin/tenants/{id} \u2014 implemented by `handlers::admin::delete_tenant`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "get": {
        "operationId": "getAdminTenantsId",
        "summary": "GET /admin/tenants/{id}",
        "description": "GET /admin/tenants/{id} \u2014 implemented by `handlers::admin::get_tenant_details`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/tenants/{tenant_id}/features": {
      "get": {
        "operationId": "getAdminTenantsTenantIdFeatures",
        "summary": "GET /admin/tenants/{tenant_id}/features",
        "description": "GET /admin/tenants/{tenant_id}/features \u2014 implemented by `handlers::features::admin_get_tenant_features`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postAdminTenantsTenantIdFeatures",
        "summary": "POST /admin/tenants/{tenant_id}/features",
        "description": "POST /admin/tenants/{tenant_id}/features \u2014 implemented by `handlers::features::admin_toggle_tenant_feature`.",
        "tags": [
          "admin"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/usage/analytics": {
      "get": {
        "operationId": "getAdminUsageAnalytics",
        "summary": "GET /admin/usage/analytics",
        "description": "GET /admin/usage/analytics \u2014 implemented by `handlers::admin::get_usage_analytics`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/admin/users": {
      "get": {
        "operationId": "getAdminUsers",
        "summary": "GET /admin/users",
        "description": "GET /admin/users \u2014 implemented by `handlers::admin_users::list_users`.",
        "tags": [
          "admin"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/explain": {
      "get": {
        "operationId": "getAiExplain",
        "summary": "GET /ai/explain",
        "description": "GET /ai/explain \u2014 implemented by `handlers::ai_archaeology::ai_explain_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/explain/line": {
      "get": {
        "operationId": "getAiExplainLine",
        "summary": "GET /ai/explain/line",
        "description": "GET /ai/explain/line \u2014 implemented by `handlers::ai_archaeology::ai_explain_line_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/feedback": {
      "post": {
        "operationId": "postAiFeedback",
        "summary": "POST /ai/feedback",
        "description": "POST /ai/feedback \u2014 implemented by `handlers::ai_archaeology::ai_feedback_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/generate/diagram": {
      "get": {
        "operationId": "getAiGenerateDiagram",
        "summary": "GET /ai/generate/diagram",
        "description": "GET /ai/generate/diagram \u2014 implemented by `handlers::ai_archaeology::generate_diagram_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/generate/function-docs": {
      "get": {
        "operationId": "getAiGenerateFunctionDocs",
        "summary": "GET /ai/generate/function-docs",
        "description": "GET /ai/generate/function-docs \u2014 implemented by `handlers::ai_archaeology::generate_function_docs_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ai/generate/module-docs": {
      "get": {
        "operationId": "getAiGenerateModuleDocs",
        "summary": "GET /ai/generate/module-docs",
        "description": "GET /ai/generate/module-docs \u2014 implemented by `handlers::ai_archaeology::generate_module_docs_handler`.",
        "tags": [
          "ai"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/analytics/tool-comparison": {
      "get": {
        "operationId": "getApiAgenticPromptsAnalyticsToolComparison",
        "summary": "GET /api/agentic-prompts/analytics/tool-comparison",
        "description": "GET /api/agentic-prompts/analytics/tool-comparison \u2014 implemented by `handlers::agentic_prompts::get_tool_comparison_analytics`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/coach/analyze-session": {
      "post": {
        "operationId": "postApiAgenticPromptsCoachAnalyzeSession",
        "summary": "POST /api/agentic-prompts/coach/analyze-session",
        "description": "POST /api/agentic-prompts/coach/analyze-session \u2014 implemented by `handlers::agentic_prompts::analyze_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/coach/patterns/{user_id}": {
      "get": {
        "operationId": "getApiAgenticPromptsCoachPatternsUserId",
        "summary": "GET /api/agentic-prompts/coach/patterns/{user_id}",
        "description": "GET /api/agentic-prompts/coach/patterns/{user_id} \u2014 implemented by `handlers::agentic_prompts::get_user_prompt_patterns`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/code-changes/{change_id}": {
      "get": {
        "operationId": "getApiAgenticPromptsCodeChangesChangeId",
        "summary": "GET /api/agentic-prompts/code-changes/{change_id}",
        "description": "GET /api/agentic-prompts/code-changes/{change_id} \u2014 implemented by `handlers::agentic_prompts::get_code_change`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "change_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `change_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/import": {
      "post": {
        "operationId": "postApiAgenticPromptsImport",
        "summary": "POST /api/agentic-prompts/import",
        "description": "POST /api/agentic-prompts/import \u2014 implemented by `handlers::agentic_prompts::import_prompts`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/investigate-bug": {
      "post": {
        "operationId": "postApiAgenticPromptsInvestigateBug",
        "summary": "POST /api/agentic-prompts/investigate-bug",
        "description": "POST /api/agentic-prompts/investigate-bug \u2014 implemented by `handlers::agentic_prompts::investigate_bug`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/prompts/{prompt_id}/classify-design": {
      "post": {
        "operationId": "postApiAgenticPromptsPromptsPromptIdClassifyDesign",
        "summary": "POST /api/agentic-prompts/prompts/{prompt_id}/classify-design",
        "description": "POST /api/agentic-prompts/prompts/{prompt_id}/classify-design \u2014 implemented by `handlers::prompt_design::classify_design_prompt`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "prompt_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `prompt_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/prompts/{prompt_id}/code-changes": {
      "post": {
        "operationId": "postApiAgenticPromptsPromptsPromptIdCodeChanges",
        "summary": "POST /api/agentic-prompts/prompts/{prompt_id}/code-changes",
        "description": "POST /api/agentic-prompts/prompts/{prompt_id}/code-changes \u2014 implemented by `handlers::agentic_prompts::record_code_changes`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "prompt_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `prompt_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/prompts/{prompt_id}/links": {
      "post": {
        "operationId": "postApiAgenticPromptsPromptsPromptIdLinks",
        "summary": "POST /api/agentic-prompts/prompts/{prompt_id}/links",
        "description": "POST /api/agentic-prompts/prompts/{prompt_id}/links \u2014 implemented by `handlers::agentic_prompts::link_prompt_to_code`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "prompt_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `prompt_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/prompts/{prompt_id}/similar": {
      "get": {
        "operationId": "getApiAgenticPromptsPromptsPromptIdSimilar",
        "summary": "GET /api/agentic-prompts/prompts/{prompt_id}/similar",
        "description": "GET /api/agentic-prompts/prompts/{prompt_id}/similar \u2014 implemented by `handlers::agentic_prompts::find_similar_prompts`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "prompt_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `prompt_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/search": {
      "get": {
        "operationId": "getApiAgenticPromptsSearch",
        "summary": "GET /api/agentic-prompts/search",
        "description": "GET /api/agentic-prompts/search \u2014 implemented by `handlers::agentic_prompts::search_prompts`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions": {
      "get": {
        "operationId": "getApiAgenticPromptsSessions",
        "summary": "GET /api/agentic-prompts/sessions",
        "description": "GET /api/agentic-prompts/sessions \u2014 implemented by `handlers::agentic_prompts::list_prompt_sessions`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiAgenticPromptsSessions",
        "summary": "POST /api/agentic-prompts/sessions",
        "description": "POST /api/agentic-prompts/sessions \u2014 implemented by `handlers::agentic_prompts::create_prompt_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionId",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}",
        "description": "GET /api/agentic-prompts/sessions/{session_id} \u2014 implemented by `handlers::agentic_prompts::get_prompt_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/coach-summary": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionIdCoachSummary",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}/coach-summary",
        "description": "GET /api/agentic-prompts/sessions/{session_id}/coach-summary \u2014 implemented by `handlers::agentic_prompts::get_session_coach_summary`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/convert-to-story": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdConvertToStory",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/convert-to-story",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/convert-to-story \u2014 implemented by `handlers::public_stories::convert_session_to_story`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/diff/{from_seq}/{to_seq}": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionIdDiffFromSeqToSeq",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}/diff/{from_seq}/{to_seq}",
        "description": "GET /api/agentic-prompts/sessions/{session_id}/diff/{from_seq}/{to_seq} \u2014 implemented by `handlers::agentic_prompts::get_prompt_state_diff`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from_seq",
            "in": "path",
            "required": true,
            "description": "Path parameter `from_seq`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to_seq",
            "in": "path",
            "required": true,
            "description": "Path parameter `to_seq`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/end": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdEnd",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/end",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/end \u2014 implemented by `handlers::agentic_prompts::end_prompt_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/export": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionIdExport",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}/export",
        "description": "GET /api/agentic-prompts/sessions/{session_id}/export \u2014 implemented by `handlers::agentic_prompts::export_prompt_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/generate-summary": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdGenerateSummary",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/generate-summary",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/generate-summary \u2014 implemented by `handlers::prompt_notes::generate_auto_summary`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/link-investigation/{investigation_id}": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdLinkInvestigationInvestigationId",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/link-investigation/{investigation_id}",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/link-investigation/{investigation_id} \u2014 implemented by `handlers::agentic_prompts::link_prompt_session_to_investigation`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "investigation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `investigation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/link-ticket": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdLinkTicket",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/link-ticket",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/link-ticket \u2014 implemented by `handlers::prompt_analytics::link_prompt_to_ticket`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/mark-as-template": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdMarkAsTemplate",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/mark-as-template",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/mark-as-template \u2014 implemented by `handlers::prompt_library::mark_session_as_template`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/notes": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionIdNotes",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}/notes",
        "description": "GET /api/agentic-prompts/sessions/{session_id}/notes \u2014 implemented by `handlers::prompt_notes::get_prompt_session_notes`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdNotes",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/notes",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/notes \u2014 implemented by `handlers::prompt_notes::create_prompt_session_note`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/prompts": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdPrompts",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/prompts",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/prompts \u2014 implemented by `handlers::agentic_prompts::add_prompt`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/replay": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdReplay",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/replay",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/replay \u2014 implemented by `handlers::agentic_prompts::replay_prompt_session`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/state/{prompt_sequence}": {
      "get": {
        "operationId": "getApiAgenticPromptsSessionsSessionIdStatePromptSequence",
        "summary": "GET /api/agentic-prompts/sessions/{session_id}/state/{prompt_sequence}",
        "description": "GET /api/agentic-prompts/sessions/{session_id}/state/{prompt_sequence} \u2014 implemented by `handlers::agentic_prompts::get_workspace_state_at_prompt`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prompt_sequence",
            "in": "path",
            "required": true,
            "description": "Path parameter `prompt_sequence`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/template": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdTemplate",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/template",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/template \u2014 implemented by `handlers::agentic_prompts::generate_prompt_template`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/sessions/{session_id}/unlink-investigation": {
      "post": {
        "operationId": "postApiAgenticPromptsSessionsSessionIdUnlinkInvestigation",
        "summary": "POST /api/agentic-prompts/sessions/{session_id}/unlink-investigation",
        "description": "POST /api/agentic-prompts/sessions/{session_id}/unlink-investigation \u2014 implemented by `handlers::agentic_prompts::unlink_prompt_session_from_investigation`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/agentic-prompts/webhook/{tool_name}": {
      "post": {
        "operationId": "postApiAgenticPromptsWebhookToolName",
        "summary": "POST /api/agentic-prompts/webhook/{tool_name}",
        "description": "POST /api/agentic-prompts/webhook/{tool_name} \u2014 implemented by `handlers::agentic_prompts::webhook_receiver`.",
        "tags": [
          "agentic-prompts"
        ],
        "parameters": [
          {
            "name": "tool_name",
            "in": "path",
            "required": true,
            "description": "Path parameter `tool_name`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/ai-settings": {
      "get": {
        "operationId": "getApiAiSettings",
        "summary": "GET /api/ai-settings",
        "description": "GET /api/ai-settings \u2014 implemented by `handlers::ai_settings::get_ai_settings`.",
        "tags": [
          "ai-settings"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "put": {
        "operationId": "putApiAiSettings",
        "summary": "PUT /api/ai-settings",
        "description": "PUT /api/ai-settings \u2014 implemented by `handlers::ai_settings::update_ai_settings`.",
        "tags": [
          "ai-settings"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/change-plan": {
      "post": {
        "operationId": "postApiBillingChangePlan",
        "summary": "POST /api/billing/change-plan",
        "description": "POST /api/billing/change-plan \u2014 implemented by `handlers::usage_billing::change_plan`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/checkout": {
      "post": {
        "operationId": "postApiBillingCheckout",
        "summary": "POST /api/billing/checkout",
        "description": "POST /api/billing/checkout \u2014 implemented by `handlers::usage_billing::create_checkout_session`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/invoice-request": {
      "post": {
        "operationId": "postApiBillingInvoiceRequest",
        "summary": "POST /api/billing/invoice-request",
        "description": "POST /api/billing/invoice-request \u2014 implemented by `handlers::billing::create_invoice_request`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/invoices": {
      "get": {
        "operationId": "getApiBillingInvoices",
        "summary": "GET /api/billing/invoices",
        "description": "GET /api/billing/invoices \u2014 implemented by `handlers::billing::get_invoices`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/payment-method": {
      "put": {
        "operationId": "putApiBillingPaymentMethod",
        "summary": "PUT /api/billing/payment-method",
        "description": "PUT /api/billing/payment-method \u2014 implemented by `handlers::billing::update_payment_method`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/portal": {
      "post": {
        "operationId": "postApiBillingPortal",
        "summary": "POST /api/billing/portal",
        "description": "POST /api/billing/portal \u2014 implemented by `handlers::usage_billing::create_billing_portal`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/status": {
      "get": {
        "operationId": "getApiBillingStatus",
        "summary": "GET /api/billing/status",
        "description": "GET /api/billing/status \u2014 implemented by `handlers::billing::get_billing_status`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/subscription": {
      "delete": {
        "operationId": "deleteApiBillingSubscription",
        "summary": "DELETE /api/billing/subscription",
        "description": "DELETE /api/billing/subscription \u2014 implemented by `handlers::billing::cancel_subscription`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiBillingSubscription",
        "summary": "POST /api/billing/subscription",
        "description": "POST /api/billing/subscription \u2014 implemented by `handlers::billing::create_subscription`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/billing/usage": {
      "get": {
        "operationId": "getApiBillingUsage",
        "summary": "GET /api/billing/usage",
        "description": "GET /api/billing/usage \u2014 implemented by `handlers::billing::get_usage_report`.",
        "tags": [
          "billing"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/gitlab/disconnect": {
      "post": {
        "operationId": "postApiIntegrationsGitlabDisconnect",
        "summary": "POST /api/integrations/gitlab/disconnect",
        "description": "POST /api/integrations/gitlab/disconnect \u2014 implemented by `handlers::gitlab_notifications::gitlab_disconnect`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/gitlab/status": {
      "get": {
        "operationId": "getApiIntegrationsGitlabStatus",
        "summary": "GET /api/integrations/gitlab/status",
        "description": "GET /api/integrations/gitlab/status \u2014 implemented by `handlers::gitlab_notifications::gitlab_status`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/command": {
      "post": {
        "operationId": "postApiIntegrationsSlackCommand",
        "summary": "POST /api/integrations/slack/command",
        "description": "POST /api/integrations/slack/command \u2014 implemented by `handlers::slack::handle_slack_command`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/configure": {
      "post": {
        "operationId": "postApiIntegrationsSlackConfigure",
        "summary": "POST /api/integrations/slack/configure",
        "description": "POST /api/integrations/slack/configure \u2014 implemented by `handlers::slack_notifications::configure_slack`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/connect": {
      "post": {
        "operationId": "postApiIntegrationsSlackConnect",
        "summary": "POST /api/integrations/slack/connect",
        "description": "POST /api/integrations/slack/connect \u2014 implemented by `handlers::slack_notifications::connect_slack`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/disconnect": {
      "post": {
        "operationId": "postApiIntegrationsSlackDisconnect",
        "summary": "POST /api/integrations/slack/disconnect",
        "description": "POST /api/integrations/slack/disconnect \u2014 implemented by `handlers::slack_notifications::disconnect_slack`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/interactive": {
      "post": {
        "operationId": "postApiIntegrationsSlackInteractive",
        "summary": "POST /api/integrations/slack/interactive",
        "description": "POST /api/integrations/slack/interactive \u2014 implemented by `handlers::slack::handle_slack_interactive`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/status": {
      "get": {
        "operationId": "getApiIntegrationsSlackStatus",
        "summary": "GET /api/integrations/slack/status",
        "description": "GET /api/integrations/slack/status \u2014 implemented by `handlers::slack_notifications::slack_status`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/test": {
      "post": {
        "operationId": "postApiIntegrationsSlackTest",
        "summary": "POST /api/integrations/slack/test",
        "description": "POST /api/integrations/slack/test \u2014 implemented by `handlers::slack_notifications::test_slack`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/slack/webhook": {
      "post": {
        "operationId": "postApiIntegrationsSlackWebhook",
        "summary": "POST /api/integrations/slack/webhook",
        "description": "POST /api/integrations/slack/webhook \u2014 implemented by `handlers::slack::handle_slack_webhook`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/integrations/teams/activity": {
      "post": {
        "operationId": "postApiIntegrationsTeamsActivity",
        "summary": "POST /api/integrations/teams/activity",
        "description": "POST /api/integrations/teams/activity \u2014 implemented by `handlers::teams::handle_teams_activity`.",
        "tags": [
          "integrations"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/adr": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAdr",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/adr",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/adr \u2014 implemented by `handlers::adr::list_adrs`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/adr/scan": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAdrScan",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/adr/scan",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/adr/scan \u2014 implemented by `handlers::adr::scan_adrs`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/adr/{adr_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAdrAdrId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/adr/{adr_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/adr/{adr_id} \u2014 implemented by `handlers::adr::get_adr`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "adr_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `adr_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/adr/{adr_id}/link": {
      "delete": {
        "operationId": "deleteApiReposTenantIdRepoIdAdrAdrIdLink",
        "summary": "DELETE /api/repos/{tenant_id}/{repo_id}/adr/{adr_id}/link",
        "description": "DELETE /api/repos/{tenant_id}/{repo_id}/adr/{adr_id}/link \u2014 implemented by `handlers::adr::delete_adr_link`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "adr_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `adr_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAdrAdrIdLink",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/adr/{adr_id}/link",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/adr/{adr_id}/link \u2014 implemented by `handlers::adr::link_adr`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "adr_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `adr_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai-companion/context": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiCompanionContext",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai-companion/context",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai-companion/context \u2014 implemented by `handlers::ai_companion::get_companion_context`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai-companion/narrate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAiCompanionNarrate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ai-companion/narrate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ai-companion/narrate \u2014 implemented by `handlers::ai_companion::generate_persona_narration_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai-companion/suggest": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAiCompanionSuggest",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ai-companion/suggest",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ai-companion/suggest \u2014 implemented by `handlers::ai_companion::suggest_companion_message`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdEvidenceGraph",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph \u2014 implemented by `handlers::evidence_graph::get_evidence_graph`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph/json": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdEvidenceGraphJson",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph/json",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/evidence-graph/json \u2014 implemented by `handlers::evidence_graph::get_evidence_graph_json`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/explainability": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdExplainability",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/explainability",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/explainability \u2014 implemented by `handlers::explainability::get_explainability_lens`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/feedback": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdFeedback",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/feedback",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/feedback \u2014 implemented by `handlers::trust_index::submit_feedback`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/reasoning-chain": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdReasoningChain",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/reasoning-chain",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/reasoning-chain \u2014 implemented by `handlers::explainability::get_reasoning_chain`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/trust": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiConclusionsConclusionTypeConclusionIdTrust",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/trust",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/conclusions/{conclusion_type}/{conclusion_id}/trust \u2014 implemented by `handlers::trust_index::get_trust_index`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conclusion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `conclusion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/suggestions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiSuggestions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions \u2014 implemented by `handlers::ai_audit::list_suggestions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAiSuggestions",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ai/suggestions",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ai/suggestions \u2014 implemented by `handlers::ai_audit::create_suggestion`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiSuggestionsSuggestionId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id} \u2014 implemented by `handlers::ai_audit::get_suggestion`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `suggestion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/audit-trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiSuggestionsSuggestionIdAuditTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/audit-trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/audit-trail \u2014 implemented by `handlers::ai_audit::get_suggestion_audit_trail`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `suggestion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/evidence": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiSuggestionsSuggestionIdEvidence",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/evidence",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/suggestions/{suggestion_id}/evidence \u2014 implemented by `handlers::ai_audit::get_suggestion_evidence`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `suggestion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ai/trust-statistics": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAiTrustStatistics",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ai/trust-statistics",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ai/trust-statistics \u2014 implemented by `handlers::trust_index::get_trust_statistics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/analytics/health-score": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAnalyticsHealthScore",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/analytics/health-score",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/analytics/health-score \u2014 implemented by `handlers::analytics::get_health_score`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/analytics/hotspots": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAnalyticsHotspots",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/analytics/hotspots",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/analytics/hotspots \u2014 implemented by `handlers::analytics::get_hotspots`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/analytics/prompt-sessions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAnalyticsPromptSessions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/analytics/prompt-sessions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/analytics/prompt-sessions \u2014 implemented by `handlers::prompt_analytics::get_prompt_session_metrics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/analytics/ticket-ai-activity": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAnalyticsTicketAiActivity",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/analytics/ticket-ai-activity",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/analytics/ticket-ai-activity \u2014 implemented by `handlers::prompt_analytics::get_ticket_ai_activity_analytics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/analytics/trends": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAnalyticsTrends",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/analytics/trends",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/analytics/trends \u2014 implemented by `handlers::analytics::get_analytics_trends`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/api-truth-serum/analyses": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdApiTruthSerumAnalyses",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/api-truth-serum/analyses",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/api-truth-serum/analyses \u2014 implemented by `handlers::api_truth_serum::list_analyses_for_repo`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdApiTruthSerumAnalyses",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/api-truth-serum/analyses",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/api-truth-serum/analyses \u2014 implemented by `handlers::api_truth_serum::start_analysis_for_repo`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/artifacts/by-path": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdArtifactsByPath",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/by-path",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/by-path \u2014 implemented by `handlers::artifacts_handler::get_artifact_by_path`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/history": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdArtifactsArtifactIdHistory",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/history",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/history \u2014 implemented by `handlers::code_lenses::get_artifact_commit_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/lens": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdArtifactsArtifactIdLens",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/lens",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/artifacts/{artifact_id}/lens \u2014 implemented by `handlers::code_lenses::get_unified_artifact_lens`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ask": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAsk",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ask",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ask \u2014 implemented by `handlers::ask::ask_with_repo`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/assumptions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAssumptions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/assumptions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/assumptions \u2014 implemented by `handlers::assumptions::get_assumptions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/assumptions/mine": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAssumptionsMine",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/assumptions/mine",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/assumptions/mine \u2014 implemented by `handlers::assumptions::mine_assumptions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAssumptionsAssumptionId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id} \u2014 implemented by `handlers::assumptions::get_assumption`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assumption_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `assumption_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id}/verify": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAssumptionsAssumptionIdVerify",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id}/verify",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/assumptions/{assumption_id}/verify \u2014 implemented by `handlers::assumptions::verify_assumption`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assumption_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `assumption_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAtlas",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/atlas",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/atlas \u2014 implemented by `handlers::project_atlas::get_project_atlas`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAtlasGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/atlas/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/atlas/generate \u2014 implemented by `handlers::project_atlas::generate_atlas_pipeline`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/next-actions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAtlasNextActions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/atlas/next-actions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/atlas/next-actions \u2014 implemented by `handlers::project_atlas::get_next_actions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/snapshot": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAtlasSnapshot",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/atlas/snapshot",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/atlas/snapshot \u2014 implemented by `handlers::project_atlas::create_snapshot`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/snapshots": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAtlasSnapshots",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/atlas/snapshots",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/atlas/snapshots \u2014 implemented by `handlers::project_atlas::list_snapshots`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/status": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAtlasStatus",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/atlas/status",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/atlas/status \u2014 implemented by `handlers::project_atlas::get_atlas_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/atlas/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAtlasTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/atlas/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/atlas/timeline \u2014 implemented by `handlers::project_atlas::get_atlas_timeline`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/audit-trail/author/{author}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAuditTrailAuthorAuthor",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/audit-trail/author/{author}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/audit-trail/author/{author} \u2014 implemented by `handlers::code_historian::get_audit_trail_by_author`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "author",
            "in": "path",
            "required": true,
            "description": "Path parameter `author`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/audit-trail/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAuditTrailTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/audit-trail/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/audit-trail/timeline \u2014 implemented by `handlers::code_historian::get_audit_trail_timeline`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/changes": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAutoDocsChanges",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/changes",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/changes \u2014 implemented by `handlers::auto_docs::get_doc_changes`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/diff": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAutoDocsDiff",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/diff",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/diff \u2014 implemented by `handlers::auto_docs::get_doc_diff`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/export-snapshot": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAutoDocsExportSnapshot",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/auto-docs/export-snapshot",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/auto-docs/export-snapshot \u2014 implemented by `handlers::auto_docs::export_snapshot`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdAutoDocsGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/auto-docs/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/auto-docs/generate \u2014 implemented by `handlers::auto_docs::generate_docs`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/status": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAutoDocsStatus",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/status",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/status \u2014 implemented by `handlers::auto_docs::get_docs_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/auto-docs/versions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdAutoDocsVersions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/versions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/auto-docs/versions \u2014 implemented by `handlers::auto_docs::get_doc_versions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/badge-config/{badge_type}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBadgeConfigBadgeType",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/badge-config/{badge_type}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/badge-config/{badge_type} \u2014 implemented by `handlers::badges::get_badge_config`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "badge_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `badge_type`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "put": {
        "operationId": "putApiReposTenantIdRepoIdBadgeConfigBadgeType",
        "summary": "PUT /api/repos/{tenant_id}/{repo_id}/badge-config/{badge_type}",
        "description": "PUT /api/repos/{tenant_id}/{repo_id}/badge-config/{badge_type} \u2014 implemented by `handlers::badges::set_badge_config`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "badge_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `badge_type`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/badges": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBadges",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/badges",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/badges \u2014 implemented by `handlers::badges::get_project_badges`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/badges/stats": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBadgesStats",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/badges/stats",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/badges/stats \u2014 implemented by `handlers::badges::get_repo_badge_stats`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/branches": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBranches",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/branches",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/branches \u2014 implemented by `handlers::project_atlas::list_branches`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/build-log": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBuildLog",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/build-log",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/build-log \u2014 implemented by `handlers::build_log::get_build_log`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/build-log/internal": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBuildLogInternal",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/build-log/internal",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/build-log/internal \u2014 implemented by `handlers::build_log::get_internal_build_log`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/business-impact/analyze": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdBusinessImpactAnalyze",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/business-impact/analyze",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/business-impact/analyze \u2014 implemented by `handlers::business_impact::analyze_business_impact_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/business-impact/events": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBusinessImpactEvents",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/business-impact/events",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/business-impact/events \u2014 implemented by `handlers::business_impact::list_business_events_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdBusinessImpactEvents",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/business-impact/events",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/business-impact/events \u2014 implemented by `handlers::business_impact::create_business_event_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/business-impact/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdBusinessImpactTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/business-impact/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/business-impact/timeline \u2014 implemented by `handlers::business_impact::get_impact_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/causal-graph/build": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCausalGraphBuild",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/build",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/build \u2014 implemented by `handlers::causal_graph::build_causal_graph`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/causal-graph/find-path": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCausalGraphFindPath",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/find-path",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/find-path \u2014 implemented by `handlers::causal_graph::find_causal_path`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/causal-graph/predict-failure-propagation": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCausalGraphPredictFailurePropagation",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/predict-failure-propagation",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/predict-failure-propagation \u2014 implemented by `handlers::causal_graph::predict_failure_propagation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/causal-graph/predict-impact": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCausalGraphPredictImpact",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/predict-impact",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/causal-graph/predict-impact \u2014 implemented by `handlers::causal_graph::predict_impact`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/causal-graph/relationships": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCausalGraphRelationships",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/causal-graph/relationships",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/causal-graph/relationships \u2014 implemented by `handlers::causal_graph::get_causal_relationships`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/changelog": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdChangelog",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/changelog",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/changelog \u2014 implemented by `handlers::agentic_prompts::generate_changelog`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/changelogs": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdChangelogs",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/changelogs",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/changelogs \u2014 implemented by `handlers::agentic_prompts::list_generated_changelogs`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/changelogs/{id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdChangelogsId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/changelogs/{id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/changelogs/{id} \u2014 implemented by `handlers::agentic_prompts::get_generated_changelog`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-diff/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCinematicDiffGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/cinematic-diff/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/cinematic-diff/generate \u2014 implemented by `handlers::cinematic_diff::generate_diff_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-diff/jobs/{job_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicDiffJobsJobId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/jobs/{job_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/jobs/{job_id} \u2014 implemented by `handlers::cinematic_diff::get_diff_timeline_job_status_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `job_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicDiffScenesSceneId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id} \u2014 implemented by `handlers::cinematic_diff::get_diff_scene_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scene_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scene_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/frames": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicDiffScenesSceneIdFrames",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/frames",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/frames \u2014 implemented by `handlers::cinematic_diff::get_storyboard_frames_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scene_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scene_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/narration": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicDiffScenesSceneIdNarration",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/narration",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-diff/scenes/{scene_id}/narration \u2014 implemented by `handlers::cinematic_diff::get_diff_narration_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scene_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scene_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline \u2014 implemented by `handlers::cinematic_timeline::list_timelines_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-timeline/commits": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicTimelineCommits",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/commits",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/commits \u2014 implemented by `handlers::cinematic_timeline::get_timeline_commits_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-timeline/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCinematicTimelineGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/generate \u2014 implemented by `handlers::cinematic_timeline::generate_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/cinematic-timeline/{timeline_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCinematicTimelineTimelineId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/{timeline_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/cinematic-timeline/{timeline_id} \u2014 implemented by `handlers::cinematic_timeline::get_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "timeline_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `timeline_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/code-lenses": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCodeLenses",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/code-lenses",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/code-lenses \u2014 implemented by `handlers::code_lenses::get_code_lenses`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/emotional-tone": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCommitsCommitIdEmotionalTone",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/emotional-tone",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/emotional-tone \u2014 implemented by `handlers::emotional_tone::get_commit_emotional_tone`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/ethical-context": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCommitsCommitIdEthicalContext",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/ethical-context",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/ethical-context \u2014 implemented by `handlers::ethical_time_capsule::get_ethical_context_for_commit`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/narrations": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCommitsCommitIdNarrations",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/narrations",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/commits/{commit_id}/narrations \u2014 implemented by `handlers::ai_companion::get_commit_narrations`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/analyze-risk": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceAnalyzeRisk",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/analyze-risk",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/analyze-risk \u2014 implemented by `handlers::regulatory_risk::analyze_risk_zones`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/audit-trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceAuditTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/audit-trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/audit-trail \u2014 implemented by `handlers::compliance_rules::get_security_scan_audit_trail`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/coverage-metrics": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceCoverageMetrics",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/coverage-metrics",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/coverage-metrics \u2014 implemented by `handlers::compliance_metrics::get_coverage_metrics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/evaluate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceEvaluate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/evaluate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/evaluate \u2014 implemented by `handlers::compliance_rules::evaluate_compliance_rules`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/paths/{path_type}/risk": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCompliancePathsPathTypeRisk",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/paths/{path_type}/risk",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/paths/{path_type}/risk \u2014 implemented by `handlers::regulatory_risk::get_code_path_risk`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "path_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `path_type`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/remediation-metrics": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceRemediationMetrics",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/remediation-metrics",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/remediation-metrics \u2014 implemented by `handlers::compliance_metrics::get_remediation_metrics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/risk-zones": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceRiskZones",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones \u2014 implemented by `handlers::regulatory_risk::get_risk_zones`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/flag": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceRiskZonesFlag",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/flag",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/flag \u2014 implemented by `handlers::regulatory_risk::flag_risk_zone`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/{risk_zone_id}/status": {
      "patch": {
        "operationId": "patchApiReposTenantIdRepoIdComplianceRiskZonesRiskZoneIdStatus",
        "summary": "PATCH /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/{risk_zone_id}/status",
        "description": "PATCH /api/repos/{tenant_id}/{repo_id}/compliance/risk-zones/{risk_zone_id}/status \u2014 implemented by `handlers::regulatory_risk::update_risk_zone_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "risk_zone_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `risk_zone_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/rules": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceRules",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/rules",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/rules \u2014 implemented by `handlers::compliance_rules::get_compliance_rules`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceRules",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/rules",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/rules \u2014 implemented by `handlers::compliance_rules::create_compliance_rule`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/rules/install-defaults": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceRulesInstallDefaults",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/rules/install-defaults",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/rules/install-defaults \u2014 implemented by `handlers::compliance_rules::install_default_compliance_rules`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/rules/{rule_id}": {
      "delete": {
        "operationId": "deleteApiReposTenantIdRepoIdComplianceRulesRuleId",
        "summary": "DELETE /api/repos/{tenant_id}/{repo_id}/compliance/rules/{rule_id}",
        "description": "DELETE /api/repos/{tenant_id}/{repo_id}/compliance/rules/{rule_id} \u2014 implemented by `handlers::compliance_rules::delete_compliance_rule`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `rule_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "put": {
        "operationId": "putApiReposTenantIdRepoIdComplianceRulesRuleId",
        "summary": "PUT /api/repos/{tenant_id}/{repo_id}/compliance/rules/{rule_id}",
        "description": "PUT /api/repos/{tenant_id}/{repo_id}/compliance/rules/{rule_id} \u2014 implemented by `handlers::compliance_rules::update_compliance_rule`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `rule_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/scans/{scan_run_id}/audit-trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceScansScanRunIdAuditTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/scans/{scan_run_id}/audit-trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/scans/{scan_run_id}/audit-trail \u2014 implemented by `handlers::compliance_rules::get_scan_run_audit_trail`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scan_run_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scan_run_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/scenarios": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceScenarios",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/scenarios",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/scenarios \u2014 implemented by `handlers::compliance_simulation::get_scenarios`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceScenarios",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/scenarios",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/scenarios \u2014 implemented by `handlers::compliance_simulation::create_scenario`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/simulate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdComplianceSimulate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/compliance/simulate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/compliance/simulate \u2014 implemented by `handlers::compliance_simulation::run_simulation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/simulations": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceSimulations",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations \u2014 implemented by `handlers::compliance_simulation::list_simulations`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceSimulationsSimulationId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id} \u2014 implemented by `handlers::compliance_simulation::get_simulation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "simulation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `simulation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id}/results": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceSimulationsSimulationIdResults",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id}/results",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/simulations/{simulation_id}/results \u2014 implemented by `handlers::compliance_simulation::get_simulation_results`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "simulation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `simulation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/trends": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceTrends",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/trends",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/trends \u2014 implemented by `handlers::compliance_metrics::get_compliance_trends`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/violations": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdComplianceViolations",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/compliance/violations",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/compliance/violations \u2014 implemented by `handlers::compliance_rules::get_rule_violations`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/compliance/violations/{violation_id}": {
      "patch": {
        "operationId": "patchApiReposTenantIdRepoIdComplianceViolationsViolationId",
        "summary": "PATCH /api/repos/{tenant_id}/{repo_id}/compliance/violations/{violation_id}",
        "description": "PATCH /api/repos/{tenant_id}/{repo_id}/compliance/violations/{violation_id} \u2014 implemented by `handlers::compliance_rules::update_violation_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "violation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `violation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/consultant/insights": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdConsultantInsights",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/consultant/insights",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/consultant/insights \u2014 implemented by `handlers::consultant::get_consultant_insights`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/consultant/refresh": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdConsultantRefresh",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/consultant/refresh",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/consultant/refresh \u2014 implemented by `handlers::consultant::refresh_consultant_insights`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/correlation/analyze": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCorrelationAnalyze",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/correlation/analyze",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/correlation/analyze \u2014 implemented by `handlers::cross_data_correlation::analyze_correlation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/correlation/query": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCorrelationQuery",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/correlation/query",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/correlation/query \u2014 implemented by `handlers::cross_data_correlation::cross_source_query`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}": {
      "delete": {
        "operationId": "deleteApiReposTenantIdRepoIdCorrelationCorrelationId",
        "summary": "DELETE /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}",
        "description": "DELETE /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id} \u2014 implemented by `handlers::cross_data_correlation::delete_correlation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "correlation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `correlation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCorrelationCorrelationId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id} \u2014 implemented by `handlers::cross_data_correlation::get_correlation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "correlation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `correlation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}/verify": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCorrelationCorrelationIdVerify",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}/verify",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/correlation/{correlation_id}/verify \u2014 implemented by `handlers::cross_data_correlation::verify_correlation`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "correlation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `correlation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCounterfactualScenarios",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios \u2014 implemented by `handlers::counterfactual::list_scenarios`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCounterfactualScenarios",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios \u2014 implemented by `handlers::counterfactual::create_scenario`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCounterfactualScenariosScenarioId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id} \u2014 implemented by `handlers::counterfactual::get_scenario`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenario_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scenario_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/replay": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdCounterfactualScenariosScenarioIdReplay",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/replay",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/replay \u2014 implemented by `handlers::counterfactual::replay_scenario`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenario_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scenario_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/snapshots": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdCounterfactualScenariosScenarioIdSnapshots",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/snapshots",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/counterfactual/scenarios/{scenario_id}/snapshots \u2014 implemented by `handlers::counterfactual::get_scenario_snapshots`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scenario_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scenario_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/delivery-profile": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDeliveryProfile",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/delivery-profile",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/delivery-profile \u2014 implemented by `handlers::estimation_studio::get_delivery_profile`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDiagrams",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diagrams",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diagrams \u2014 implemented by `handlers::diagram_editor::get_diagrams`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdDiagrams",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/diagrams",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/diagrams \u2014 implemented by `handlers::diagram_editor::upsert_diagram`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}": {
      "delete": {
        "operationId": "deleteApiReposTenantIdRepoIdDiagramsDiagramId",
        "summary": "DELETE /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}",
        "description": "DELETE /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id} \u2014 implemented by `handlers::diagram_editor::delete_diagram`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDiagramsDiagramId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id} \u2014 implemented by `handlers::diagram_editor::get_diagram`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdDiagramsDiagramIdCollaborate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate \u2014 implemented by `handlers::diagram_editor::create_collaboration_session`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/join": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdDiagramsDiagramIdCollaborateJoin",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/join",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/join \u2014 implemented by `handlers::diagram_editor::join_collaboration_session`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/activity": {
      "put": {
        "operationId": "putApiReposTenantIdRepoIdDiagramsDiagramIdCollaborateSessionsSessionIdActivity",
        "summary": "PUT /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/activity",
        "description": "PUT /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/activity \u2014 implemented by `handlers::diagram_editor::update_participant_activity`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/leave": {
      "delete": {
        "operationId": "deleteApiReposTenantIdRepoIdDiagramsDiagramIdCollaborateSessionsSessionIdLeave",
        "summary": "DELETE /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/leave",
        "description": "DELETE /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/leave \u2014 implemented by `handlers::diagram_editor::leave_collaboration_session`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/participants": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDiagramsDiagramIdCollaborateSessionsSessionIdParticipants",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/participants",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/collaborate/sessions/{session_id}/participants \u2014 implemented by `handlers::diagram_editor::get_collaboration_participants`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/versions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDiagramsDiagramIdVersions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/versions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/versions \u2014 implemented by `handlers::diagram_editor::get_diagram_versions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdDiagramsDiagramIdVersions",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/versions",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/diagrams/{diagram_id}/versions \u2014 implemented by `handlers::diagram_editor::create_diagram_version`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "diagram_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `diagram_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diorama": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDiorama",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diorama",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diorama \u2014 implemented by `handlers::diorama::get_diorama_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diorama/snapshots": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDioramaSnapshots",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diorama/snapshots",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diorama/snapshots \u2014 implemented by `handlers::diorama::get_snapshots_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/diorama/{commit_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdDioramaCommitId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/diorama/{commit_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/diorama/{commit_id} \u2014 implemented by `handlers::diorama::get_diorama_at_commit_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/emotional-tone/by-period": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEmotionalToneByPeriod",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/by-period",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/by-period \u2014 implemented by `handlers::emotional_tone::get_emotional_tone_by_period`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/emotional-tone/mood-map": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEmotionalToneMoodMap",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/mood-map",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/mood-map \u2014 implemented by `handlers::emotional_tone::get_emotional_tone_mood_map`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/emotional-tone/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEmotionalToneTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/emotional-tone/timeline \u2014 implemented by `handlers::emotional_tone::get_emotional_tone_timeline`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/estimation-studio": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEstimationStudio",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio \u2014 implemented by `handlers::estimation_studio::get_estimation_studio`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/estimation-studio/analyze": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEstimationStudioAnalyze",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/estimation-studio/analyze",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/estimation-studio/analyze \u2014 implemented by `handlers::estimation_studio::analyze_estimation_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEstimationStudioModulePath",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path} \u2014 implemented by `handlers::estimation_studio::get_module_insights`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "module_path",
            "in": "path",
            "required": true,
            "description": "Path parameter `module_path`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/propose-story-points": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEstimationStudioModulePathProposeStoryPoints",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/propose-story-points",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/propose-story-points \u2014 implemented by `handlers::estimation_studio::propose_story_points`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "module_path",
            "in": "path",
            "required": true,
            "description": "Path parameter `module_path`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/symbols": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEstimationStudioModulePathSymbols",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/symbols",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/estimation-studio/{module_path}/symbols \u2014 implemented by `handlers::estimation_studio::get_symbol_details`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "module_path",
            "in": "path",
            "required": true,
            "description": "Path parameter `module_path`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical-capsule/capture": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEthicalCapsuleCapture",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ethical-capsule/capture",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ethical-capsule/capture \u2014 implemented by `handlers::ethical_time_capsule::capture_ethical_decision`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical-capsule/decisions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalCapsuleDecisions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical-capsule/decisions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical-capsule/decisions \u2014 implemented by `handlers::ethical_time_capsule::get_ethical_decisions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/analyze": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEthicalAnalyze",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ethical/analyze",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ethical/analyze \u2014 implemented by `handlers::ethical_analysis::analyze_ethical_concerns`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/concerns": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalConcerns",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns \u2014 implemented by `handlers::ethical_analysis::get_ethical_concerns`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalConcernsConcernId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id} \u2014 implemented by `handlers::ethical_analysis::get_ethical_concern`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concern_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `concern_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/refactor": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalConcernsConcernIdRefactor",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/refactor",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/refactor \u2014 implemented by `handlers::ethical_analysis::get_refactor_suggestions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concern_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `concern_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/status": {
      "patch": {
        "operationId": "patchApiReposTenantIdRepoIdEthicalConcernsConcernIdStatus",
        "summary": "PATCH /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/status",
        "description": "PATCH /api/repos/{tenant_id}/{repo_id}/ethical/concerns/{concern_id}/status \u2014 implemented by `handlers::ethical_analysis::update_ethical_concern_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concern_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `concern_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/fairness/metrics": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalFairnessMetrics",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical/fairness/metrics",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical/fairness/metrics \u2014 implemented by `handlers::fairness_analysis::get_fairness_metrics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/fairness/scan": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEthicalFairnessScan",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ethical/fairness/scan",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ethical/fairness/scan \u2014 implemented by `handlers::fairness_analysis::scan_fairness`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/oracle": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEthicalOracle",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ethical/oracle",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ethical/oracle \u2014 implemented by `handlers::ethical_analysis::query_ethical_oracle`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/patterns": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdEthicalPatterns",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ethical/patterns",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ethical/patterns \u2014 implemented by `handlers::ethical_analysis::get_bias_patterns`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdEthicalPatterns",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ethical/patterns",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ethical/patterns \u2014 implemented by `handlers::ethical_analysis::create_bias_pattern`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ethical/suggestions/{suggestion_id}/status": {
      "patch": {
        "operationId": "patchApiReposTenantIdRepoIdEthicalSuggestionsSuggestionIdStatus",
        "summary": "PATCH /api/repos/{tenant_id}/{repo_id}/ethical/suggestions/{suggestion_id}/status",
        "description": "PATCH /api/repos/{tenant_id}/{repo_id}/ethical/suggestions/{suggestion_id}/status \u2014 implemented by `handlers::ethical_analysis::update_refactor_suggestion_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `suggestion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/files/audit-trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdFilesAuditTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/files/audit-trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/files/audit-trail \u2014 implemented by `handlers::code_historian::get_audit_trail_by_file`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/galaxy-view": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdGalaxyView",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/galaxy-view",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/galaxy-view \u2014 implemented by `handlers::galaxy_view::list_galaxy_views_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/galaxy-view/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdGalaxyViewGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/galaxy-view/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/galaxy-view/generate \u2014 implemented by `handlers::galaxy_view::generate_galaxy_view_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdGalaxyViewGalaxyId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id} \u2014 implemented by `handlers::galaxy_view::get_galaxy_view_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "galaxy_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `galaxy_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id}/zoom": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdGalaxyViewGalaxyIdZoom",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id}/zoom",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/galaxy-view/{galaxy_id}/zoom \u2014 implemented by `handlers::galaxy_view::zoom_galaxy_view_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "galaxy_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `galaxy_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/genealogy/survivors": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdGenealogySurvivors",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/genealogy/survivors",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/genealogy/survivors \u2014 implemented by `handlers::genealogy::list_survivors_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/business-impact": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdIntelligenceBusinessImpact",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/business-impact",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/business-impact \u2014 implemented by `handlers::intelligence_fusion::analyze_business_impact`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/comprehensive": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdIntelligenceComprehensive",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/comprehensive",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/comprehensive \u2014 implemented by `handlers::intelligence_fusion::comprehensive_query`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/impact-graph": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdIntelligenceImpactGraph",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/intelligence/impact-graph",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/intelligence/impact-graph \u2014 implemented by `handlers::intelligence_fusion::generate_impact_graph`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/narrative": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdIntelligenceNarrative",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/narrative",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/narrative \u2014 implemented by `handlers::intelligence_fusion::generate_narrative_with_correlations`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/query": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdIntelligenceQuery",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/query",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/query \u2014 implemented by `handlers::intelligence_fusion::unified_query`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/intelligence/root-cause": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdIntelligenceRootCause",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/root-cause",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/intelligence/root-cause \u2014 implemented by `handlers::intelligence_fusion::enhanced_root_cause`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/journal/entries/{entry_id}/trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdJournalEntriesEntryIdTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/journal/entries/{entry_id}/trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/journal/entries/{entry_id}/trail \u2014 implemented by `handlers::journal::get_trail_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entry_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `entry_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/journal/sessions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdJournalSessions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/journal/sessions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/journal/sessions \u2014 implemented by `handlers::journal::list_sessions_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdJournalSessions",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions \u2014 implemented by `handlers::journal::create_session_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdJournalSessionsSessionId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id} \u2014 implemented by `handlers::journal::get_session_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/end": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdJournalSessionsSessionIdEnd",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/end",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/end \u2014 implemented by `handlers::journal::end_session_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/entries": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdJournalSessionsSessionIdEntries",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/entries",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/journal/sessions/{session_id}/entries \u2014 implemented by `handlers::journal::add_entry_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/lens-presets": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLensPresets",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/lens-presets",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/lens-presets \u2014 implemented by `handlers::lens_presets::get_lens_presets`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/liability-shield/audit-trail/{trail_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLiabilityShieldAuditTrailTrailId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/audit-trail/{trail_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/audit-trail/{trail_id} \u2014 implemented by `handlers::liability_shield::get_audit_trail`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trail_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `trail_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/liability-shield/compliance-report": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLiabilityShieldComplianceReport",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/compliance-report",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/compliance-report \u2014 implemented by `handlers::liability_shield::generate_compliance_report`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/liability-shield/compliance/query": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLiabilityShieldComplianceQuery",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/compliance/query",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/liability-shield/compliance/query \u2014 implemented by `handlers::liability_shield::query_compliance`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/liability-shield/verify": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdLiabilityShieldVerify",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/liability-shield/verify",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/liability-shield/verify \u2014 implemented by `handlers::liability_shield::verify_ledger`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/lineage/artifacts/{artifact_type}/{artifact_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLineageArtifactsArtifactTypeArtifactId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/lineage/artifacts/{artifact_type}/{artifact_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/lineage/artifacts/{artifact_type}/{artifact_id} \u2014 implemented by `handlers::knowledge_lineage::get_artifact_lineage`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/lineage/graph/{artifact_type}/{artifact_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLineageGraphArtifactTypeArtifactId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/lineage/graph/{artifact_type}/{artifact_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/lineage/graph/{artifact_type}/{artifact_id} \u2014 implemented by `handlers::knowledge_lineage::get_lineage_graph`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `artifact_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/lineage/sources/{source_type}/{source_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdLineageSourcesSourceTypeSourceId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/lineage/sources/{source_type}/{source_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/lineage/sources/{source_type}/{source_id} \u2014 implemented by `handlers::knowledge_lineage::get_lineage_by_source`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source_type",
            "in": "path",
            "required": true,
            "description": "Path parameter `source_type`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `source_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/museum/exhibits": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdMuseumExhibits",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/museum/exhibits",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/museum/exhibits \u2014 implemented by `handlers::museum::get_exhibits_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/museum/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdMuseumGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/museum/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/museum/generate \u2014 implemented by `handlers::museum::generate_museum_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/museum/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdMuseumTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/museum/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/museum/timeline \u2014 implemented by `handlers::museum::get_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/museum/tours": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdMuseumTours",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/museum/tours",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/museum/tours \u2014 implemented by `handlers::museum::get_tours_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdOntology",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ontology",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ontology \u2014 implemented by `handlers::neural_ontology::get_ontology`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/concepts/{concept_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdOntologyConceptsConceptId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ontology/concepts/{concept_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ontology/concepts/{concept_id} \u2014 implemented by `handlers::neural_ontology::get_concept`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concept_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `concept_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/feedback": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdOntologyFeedback",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ontology/feedback",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ontology/feedback \u2014 implemented by `handlers::neural_ontology::provide_feedback`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/rebuild": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdOntologyRebuild",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ontology/rebuild",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ontology/rebuild \u2014 implemented by `handlers::neural_ontology::rebuild_ontology`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/search": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdOntologySearch",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ontology/search",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ontology/search \u2014 implemented by `handlers::neural_ontology::search_concepts`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/suggestions": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdOntologySuggestions",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ontology/suggestions",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ontology/suggestions \u2014 implemented by `handlers::neural_ontology::get_suggestions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/teach": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdOntologyTeach",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/ontology/teach",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/ontology/teach \u2014 implemented by `handlers::neural_ontology::teach_concept`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/ontology/teachings": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdOntologyTeachings",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/ontology/teachings",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/ontology/teachings \u2014 implemented by `handlers::neural_ontology::list_teachings`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/persona-docs/generate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdPersonaDocsGenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/persona-docs/generate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/persona-docs/generate \u2014 implemented by `handlers::persona_docs::generate_persona_docs_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/persona/selection": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdPersonaSelection",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/persona/selection",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/persona/selection \u2014 implemented by `handlers::persona::get_persona_selection_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiReposTenantIdRepoIdPersonaSelection",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/persona/selection",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/persona/selection \u2014 implemented by `handlers::persona::set_persona_selection_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/prompt-playbooks": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdPromptPlaybooks",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/prompt-playbooks",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/prompt-playbooks \u2014 implemented by `handlers::prompt_library::get_repo_prompt_playbooks`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/refactor/concept-based": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdRefactorConceptBased",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/refactor/concept-based",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/refactor/concept-based \u2014 implemented by `handlers::concept_refactor::generate_refactor_plan`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdRefactorConceptClusters",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters \u2014 implemented by `handlers::concept_refactor::get_concept_clusters`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters/{cluster_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdRefactorConceptClustersClusterId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters/{cluster_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/refactor/concept-clusters/{cluster_id} \u2014 implemented by `handlers::concept_refactor::get_concept_cluster_details`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cluster_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `cluster_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/root-cause/origin": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdRootCauseOrigin",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/root-cause/origin",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/root-cause/origin \u2014 implemented by `handlers::root_cause_time_machine::get_origin_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/root-cause/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdRootCauseTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/root-cause/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/root-cause/timeline \u2014 implemented by `handlers::root_cause_time_machine::get_timeline_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/root-cause/trace": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdRootCauseTrace",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/root-cause/trace",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/root-cause/trace \u2014 implemented by `handlers::root_cause_time_machine::trace_root_cause_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/security/sbom": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSecuritySbom",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom \u2014 implemented by `handlers::sbom::generate_sbom`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/security/sbom/download": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSecuritySbomDownload",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom/download",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom/download \u2014 implemented by `handlers::sbom::download_sbom`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/security/sbom/summary": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSecuritySbomSummary",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom/summary",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/security/sbom/summary \u2014 implemented by `handlers::sbom::get_sbom_summary`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/slack/ingest": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdSlackIngest",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/slack/ingest",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/slack/ingest \u2014 implemented by `handlers::cross_data_correlation::ingest_slack_messages`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/social-card": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSocialCard",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/social-card",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/social-card \u2014 implemented by `handlers::social_cards::get_social_card`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/social-card/regenerate": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdSocialCardRegenerate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/social-card/regenerate",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/social-card/regenerate \u2014 implemented by `handlers::social_cards::regenerate_social_card`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/audit-trail": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSymbolsSymbolIdAuditTrail",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/audit-trail",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/audit-trail \u2014 implemented by `handlers::code_historian::get_audit_trail_by_symbol`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSymbolsSymbolIdGenealogy",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy \u2014 implemented by `handlers::genealogy::get_genealogy_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy/stability": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSymbolsSymbolIdGenealogyStability",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy/stability",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/genealogy/stability \u2014 implemented by `handlers::genealogy::get_stability_metrics_handler`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/prompt-lineage": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdSymbolsSymbolIdPromptLineage",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/prompt-lineage",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/prompt-lineage \u2014 implemented by `handlers::agentic_prompts::get_symbol_prompt_lineage`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTickets",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/tickets",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/tickets \u2014 implemented by `handlers::tickets::list_tickets`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/autolink": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTicketsAutolink",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/tickets/autolink",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/tickets/autolink \u2014 implemented by `handlers::tickets::auto_link_commits`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/bootstrap": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTicketsBootstrap",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/tickets/bootstrap",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/tickets/bootstrap \u2014 implemented by `handlers::tickets::bootstrap_github_integration`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/connect": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTicketsConnect",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/tickets/connect",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/tickets/connect \u2014 implemented by `handlers::tickets::connect_ticket_system`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/sync": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTicketsSync",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/tickets/sync",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/tickets/sync \u2014 implemented by `handlers::tickets::sync_tickets`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/velocity": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTicketsVelocity",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/tickets/velocity",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/tickets/velocity \u2014 implemented by `handlers::tickets::get_velocity_metrics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/ai-analytics": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTicketsTicketIdAiAnalytics",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/ai-analytics",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/ai-analytics \u2014 implemented by `handlers::prompt_analytics::get_ticket_ai_analytics`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticket_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `ticket_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/timeline": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTicketsTicketIdTimeline",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/timeline",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/tickets/{ticket_id}/timeline \u2014 implemented by `handlers::tickets::get_ticket_timeline`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ticket_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `ticket_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/create": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTimeTravelSnapshotsCreate",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/create",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/create \u2014 implemented by `handlers::time_travel::create_snapshot`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTimeTravelSnapshotsSnapshotId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id} \u2014 implemented by `handlers::time_travel::get_snapshot`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "snapshot_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `snapshot_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id}/trace": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTimeTravelSnapshotsSnapshotIdTrace",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id}/trace",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/snapshots/{snapshot_id}/trace \u2014 implemented by `handlers::time_travel::generate_trace`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "snapshot_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `snapshot_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTimeTravelTracesTraceId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id} \u2014 implemented by `handlers::time_travel::get_trace`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trace_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `trace_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/replay": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdTimeTravelTracesTraceIdReplay",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/replay",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/replay \u2014 implemented by `handlers::time_travel::replay_trace`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trace_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `trace_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/visualization": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdTimeTravelTracesTraceIdVisualization",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/visualization",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/time-travel/traces/{trace_id}/visualization \u2014 implemented by `handlers::time_travel::get_trace_visualization`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trace_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `trace_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/value-alignment/analyze": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdValueAlignmentAnalyze",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/value-alignment/analyze",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/value-alignment/analyze \u2014 implemented by `handlers::value_alignment::analyze_alignment`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/value-alignment/assessments": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdValueAlignmentAssessments",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/value-alignment/assessments",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/value-alignment/assessments \u2014 implemented by `handlers::value_alignment::get_alignment_assessments`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/workflows": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdWorkflows",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/workflows",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/workflows \u2014 implemented by `handlers::opinionated_workflows::list_workflow_executions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/workflows/modernization": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdWorkflowsModernization",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/workflows/modernization",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/workflows/modernization \u2014 implemented by `handlers::opinionated_workflows::execute_modernization_workflow`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/workflows/onboarding": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdWorkflowsOnboarding",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/workflows/onboarding",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/workflows/onboarding \u2014 implemented by `handlers::opinionated_workflows::execute_onboarding_workflow`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/workflows/security-sweep": {
      "post": {
        "operationId": "postApiReposTenantIdRepoIdWorkflowsSecuritySweep",
        "summary": "POST /api/repos/{tenant_id}/{repo_id}/workflows/security-sweep",
        "description": "POST /api/repos/{tenant_id}/{repo_id}/workflows/security-sweep \u2014 implemented by `handlers::opinionated_workflows::execute_security_sweep_workflow`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/repos/{tenant_id}/{repo_id}/workflows/{execution_id}": {
      "get": {
        "operationId": "getApiReposTenantIdRepoIdWorkflowsExecutionId",
        "summary": "GET /api/repos/{tenant_id}/{repo_id}/workflows/{execution_id}",
        "description": "GET /api/repos/{tenant_id}/{repo_id}/workflows/{execution_id} \u2014 implemented by `handlers::opinionated_workflows::get_workflow_execution_status`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "execution_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `execution_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/api/security/{tenant_id}/{repo_id}/ai-audit": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdAiAudit",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/ai-audit",
        "description": "GET /api/security/{tenant_id}/{repo_id}/ai-audit \u2014 implemented by `handlers::ai_audit::list_audit_trails`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/attestations/generate": {
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdAttestationsGenerate",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/attestations/generate",
        "description": "POST /api/security/{tenant_id}/{repo_id}/attestations/generate \u2014 implemented by `handlers::slsa_attestation::generate_attestation`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/attestations/{attestation_id}": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdAttestationsAttestationId",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/attestations/{attestation_id}",
        "description": "GET /api/security/{tenant_id}/{repo_id}/attestations/{attestation_id} \u2014 implemented by `handlers::slsa_attestation::get_attestation`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attestation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `attestation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/attestations/{attestation_id}/verify": {
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdAttestationsAttestationIdVerify",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/attestations/{attestation_id}/verify",
        "description": "POST /api/security/{tenant_id}/{repo_id}/attestations/{attestation_id}/verify \u2014 implemented by `handlers::slsa_attestation::verify_attestation`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attestation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `attestation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/guardrails": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdGuardrails",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/guardrails",
        "description": "GET /api/security/{tenant_id}/{repo_id}/guardrails \u2014 implemented by `handlers::data_lineage_guardrails::list_guardrail_rules`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdGuardrails",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/guardrails",
        "description": "POST /api/security/{tenant_id}/{repo_id}/guardrails \u2014 implemented by `handlers::data_lineage_guardrails::create_guardrail_rule`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/guardrails/violations": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdGuardrailsViolations",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/guardrails/violations",
        "description": "GET /api/security/{tenant_id}/{repo_id}/guardrails/violations \u2014 implemented by `handlers::data_lineage_guardrails::get_guardrail_violations`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/guardrails/violations/{violation_id}/status": {
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdGuardrailsViolationsViolationIdStatus",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/guardrails/violations/{violation_id}/status",
        "description": "POST /api/security/{tenant_id}/{repo_id}/guardrails/violations/{violation_id}/status \u2014 implemented by `handlers::data_lineage_guardrails::update_violation_status`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "violation_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `violation_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/guardrails/{rule_id}": {
      "delete": {
        "operationId": "deleteApiSecurityTenantIdRepoIdGuardrailsRuleId",
        "summary": "DELETE /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id}",
        "description": "DELETE /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id} \u2014 implemented by `handlers::data_lineage_guardrails::delete_guardrail_rule`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `rule_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdGuardrailsRuleId",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id}",
        "description": "GET /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id} \u2014 implemented by `handlers::data_lineage_guardrails::get_guardrail_rule`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `rule_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "patch": {
        "operationId": "patchApiSecurityTenantIdRepoIdGuardrailsRuleId",
        "summary": "PATCH /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id}",
        "description": "PATCH /api/security/{tenant_id}/{repo_id}/guardrails/{rule_id} \u2014 implemented by `handlers::data_lineage_guardrails::update_guardrail_rule`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `rule_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/licenses/assignments": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdLicensesAssignments",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/licenses/assignments",
        "description": "GET /api/security/{tenant_id}/{repo_id}/licenses/assignments \u2014 implemented by `handlers::license_cartography::get_license_assignments`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/licenses/risk-map": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdLicensesRiskMap",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/licenses/risk-map",
        "description": "GET /api/security/{tenant_id}/{repo_id}/licenses/risk-map \u2014 implemented by `handlers::license_cartography::get_license_risk_map`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/licenses/risks": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdLicensesRisks",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/licenses/risks",
        "description": "GET /api/security/{tenant_id}/{repo_id}/licenses/risks \u2014 implemented by `handlers::license_cartography::get_symbol_license_risks`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/licenses/scan": {
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdLicensesScan",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/licenses/scan",
        "description": "POST /api/security/{tenant_id}/{repo_id}/licenses/scan \u2014 implemented by `handlers::license_cartography::scan_licenses`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/licenses/symbol/{symbol_id}": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdLicensesSymbolSymbolId",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/licenses/symbol/{symbol_id}",
        "description": "GET /api/security/{tenant_id}/{repo_id}/licenses/symbol/{symbol_id} \u2014 implemented by `handlers::license_cartography::get_symbol_license_risk`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/sbom/generate": {
      "post": {
        "operationId": "postApiSecurityTenantIdRepoIdSbomGenerate",
        "summary": "POST /api/security/{tenant_id}/{repo_id}/sbom/generate",
        "description": "POST /api/security/{tenant_id}/{repo_id}/sbom/generate \u2014 implemented by `handlers::slsa_attestation::generate_sbom`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/security/{tenant_id}/{repo_id}/sbom/suggestion/{suggestion_id}": {
      "get": {
        "operationId": "getApiSecurityTenantIdRepoIdSbomSuggestionSuggestionId",
        "summary": "GET /api/security/{tenant_id}/{repo_id}/sbom/suggestion/{suggestion_id}",
        "description": "GET /api/security/{tenant_id}/{repo_id}/sbom/suggestion/{suggestion_id} \u2014 implemented by `handlers::slsa_attestation::get_sbom_for_suggestion`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestion_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `suggestion_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/badges": {
      "get": {
        "operationId": "getApiUsersUserIdBadges",
        "summary": "GET /api/users/{user_id}/badges",
        "description": "GET /api/users/{user_id}/badges \u2014 implemented by `handlers::badges::get_user_badges`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/badges/all": {
      "get": {
        "operationId": "getApiUsersUserIdBadgesAll",
        "summary": "GET /api/users/{user_id}/badges/all",
        "description": "GET /api/users/{user_id}/badges/all \u2014 implemented by `handlers::badges::list_user_badges`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/badges/check": {
      "post": {
        "operationId": "postApiUsersUserIdBadgesCheck",
        "summary": "POST /api/users/{user_id}/badges/check",
        "description": "POST /api/users/{user_id}/badges/check \u2014 implemented by `handlers::badges::check_and_award_badges`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/badges/{badge_id}/signals": {
      "get": {
        "operationId": "getApiUsersUserIdBadgesBadgeIdSignals",
        "summary": "GET /api/users/{user_id}/badges/{badge_id}/signals",
        "description": "GET /api/users/{user_id}/badges/{badge_id}/signals \u2014 implemented by `handlers::badges::get_badge_signals`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "badge_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `badge_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/paths": {
      "get": {
        "operationId": "getApiUsersUserIdPaths",
        "summary": "GET /api/users/{user_id}/paths",
        "description": "GET /api/users/{user_id}/paths \u2014 implemented by `handlers::badge_paths::get_user_path_progress`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/paths/{path_id}": {
      "get": {
        "operationId": "getApiUsersUserIdPathsPathId",
        "summary": "GET /api/users/{user_id}/paths/{path_id}",
        "description": "GET /api/users/{user_id}/paths/{path_id} \u2014 implemented by `handlers::badge_paths::get_user_path_progress_for_path`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "path_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `path_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/paths/{path_id}/check": {
      "post": {
        "operationId": "postApiUsersUserIdPathsPathIdCheck",
        "summary": "POST /api/users/{user_id}/paths/{path_id}/check",
        "description": "POST /api/users/{user_id}/paths/{path_id}/check \u2014 implemented by `handlers::badge_paths::check_path_progress`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "path_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `path_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/users/{user_id}/repos/{tenant_id}/{repo_id}/lens-preset": {
      "get": {
        "operationId": "getApiUsersUserIdReposTenantIdRepoIdLensPreset",
        "summary": "GET /api/users/{user_id}/repos/{tenant_id}/{repo_id}/lens-preset",
        "description": "GET /api/users/{user_id}/repos/{tenant_id}/{repo_id}/lens-preset \u2014 implemented by `handlers::lens_presets::get_user_lens_preset`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postApiUsersUserIdReposTenantIdRepoIdLensPreset",
        "summary": "POST /api/users/{user_id}/repos/{tenant_id}/{repo_id}/lens-preset",
        "description": "POST /api/users/{user_id}/repos/{tenant_id}/{repo_id}/lens-preset \u2014 implemented by `handlers::lens_presets::save_user_lens_preset`.",
        "tags": [
          "users"
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `user_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/api/v1/meta": {
      "get": {
        "tags": [
          "public"
        ],
        "operationId": "getPublicApiMeta",
        "summary": "Service metadata card",
        "description": "Self-describing service information for agents and API clients: product name, version, the list of public v1 endpoints, and links to documentation, the OpenAPI spec, and llms.txt. No authentication required.",
        "security": [],
        "responses": {
          "200": {
            "description": "Service metadata",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "example": "public, max-age=300"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicApiMeta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sample-report": {
      "get": {
        "tags": [
          "public"
        ],
        "operationId": "getPublicSampleReport",
        "summary": "Sample PR analysis report",
        "description": "Returns a complete static example of CodeDig's PR analysis output (risk score, security findings, downstream impact, suggested reviewers) so agents and evaluators can inspect real output shape without an account. Marked sample:true. No authentication required.",
        "security": [],
        "responses": {
          "200": {
            "description": "Static sample PR analysis report",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "example": "public, max-age=300"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SampleReport"
                }
              }
            }
          }
        }
      }
    },
    "/auth/2fa/disable": {
      "post": {
        "operationId": "postAuth2faDisable",
        "summary": "POST /auth/2fa/disable",
        "description": "POST /auth/2fa/disable \u2014 implemented by `handlers::auth::disable_2fa`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/2fa/regenerate-backup-codes": {
      "post": {
        "operationId": "postAuth2faRegenerateBackupCodes",
        "summary": "POST /auth/2fa/regenerate-backup-codes",
        "description": "POST /auth/2fa/regenerate-backup-codes \u2014 implemented by `handlers::auth::regenerate_backup_codes_2fa`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/2fa/setup": {
      "post": {
        "operationId": "postAuth2faSetup",
        "summary": "POST /auth/2fa/setup",
        "description": "POST /auth/2fa/setup \u2014 implemented by `handlers::auth::setup_2fa`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/2fa/verify": {
      "post": {
        "operationId": "postAuth2faVerify",
        "summary": "POST /auth/2fa/verify",
        "description": "POST /auth/2fa/verify \u2014 implemented by `handlers::auth::verify_2fa_challenge`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/2fa/verify-setup": {
      "post": {
        "operationId": "postAuth2faVerifySetup",
        "summary": "POST /auth/2fa/verify-setup",
        "description": "POST /auth/2fa/verify-setup \u2014 implemented by `handlers::auth::verify_setup_2fa`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/api-keys": {
      "get": {
        "operationId": "getAuthApiKeys",
        "summary": "GET /auth/api-keys",
        "description": "GET /auth/api-keys \u2014 implemented by `handlers::auth::list_api_keys`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postAuthApiKeys",
        "summary": "POST /auth/api-keys",
        "description": "POST /auth/api-keys \u2014 implemented by `handlers::auth::create_api_key`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/api-keys/{id}": {
      "delete": {
        "operationId": "deleteAuthApiKeysId",
        "summary": "DELETE /auth/api-keys/{id}",
        "description": "DELETE /auth/api-keys/{id} \u2014 implemented by `handlers::auth::delete_api_key`.",
        "tags": [
          "auth"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/change-email": {
      "post": {
        "operationId": "postAuthChangeEmail",
        "summary": "POST /auth/change-email",
        "description": "POST /auth/change-email \u2014 implemented by `handlers::auth::change_email`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/change-email/confirm": {
      "post": {
        "operationId": "postAuthChangeEmailConfirm",
        "summary": "POST /auth/change-email/confirm",
        "description": "POST /auth/change-email/confirm \u2014 implemented by `handlers::auth::change_email_confirm`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/change-email/pending": {
      "delete": {
        "operationId": "deleteAuthChangeEmailPending",
        "summary": "DELETE /auth/change-email/pending",
        "description": "DELETE /auth/change-email/pending \u2014 implemented by `handlers::auth::change_email_cancel`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/change-password": {
      "post": {
        "operationId": "postAuthChangePassword",
        "summary": "POST /auth/change-password",
        "description": "POST /auth/change-password \u2014 implemented by `handlers::auth::change_password`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/connected-accounts": {
      "get": {
        "operationId": "getAuthConnectedAccounts",
        "summary": "GET /auth/connected-accounts",
        "description": "GET /auth/connected-accounts \u2014 implemented by `handlers::auth::list_connected_accounts`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/login": {
      "post": {
        "operationId": "postAuthLogin",
        "summary": "POST /auth/login",
        "description": "POST /auth/login \u2014 implemented by `handlers::auth::login`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/logout": {
      "post": {
        "operationId": "postAuthLogout",
        "summary": "POST /auth/logout",
        "description": "POST /auth/logout \u2014 implemented by `handlers::auth::logout`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/me": {
      "get": {
        "operationId": "getAuthMe",
        "summary": "GET /auth/me",
        "description": "GET /auth/me \u2014 implemented by `handlers::auth::me`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/oauth/github": {
      "post": {
        "operationId": "postAuthOauthGithub",
        "summary": "POST /auth/oauth/github",
        "description": "POST /auth/oauth/github \u2014 implemented by `handlers::auth::oauth_github`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/oauth/gitlab": {
      "post": {
        "operationId": "postAuthOauthGitlab",
        "summary": "POST /auth/oauth/gitlab",
        "description": "POST /auth/oauth/gitlab \u2014 implemented by `handlers::auth::oauth_gitlab`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/oauth/{provider}": {
      "delete": {
        "operationId": "deleteAuthOauthProvider",
        "summary": "DELETE /auth/oauth/{provider}",
        "description": "DELETE /auth/oauth/{provider} \u2014 implemented by `handlers::auth::delete_oauth_connection`.",
        "tags": [
          "auth"
        ],
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "description": "Path parameter `provider`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/oidc/callback": {
      "post": {
        "operationId": "postAuthOidcCallback",
        "summary": "POST /auth/oidc/callback",
        "description": "POST /auth/oidc/callback \u2014 implemented by `handlers::auth::oidc_callback`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/oidc/login": {
      "post": {
        "operationId": "postAuthOidcLogin",
        "summary": "POST /auth/oidc/login",
        "description": "POST /auth/oidc/login \u2014 implemented by `handlers::auth::oidc_login`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/oidc/refresh": {
      "post": {
        "operationId": "postAuthOidcRefresh",
        "summary": "POST /auth/oidc/refresh",
        "description": "POST /auth/oidc/refresh \u2014 implemented by `handlers::auth::oidc_refresh`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/password-reset/confirm": {
      "post": {
        "operationId": "postAuthPasswordResetConfirm",
        "summary": "POST /auth/password-reset/confirm",
        "description": "POST /auth/password-reset/confirm \u2014 implemented by `handlers::auth::password_reset_confirm`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/password-reset/request": {
      "post": {
        "operationId": "postAuthPasswordResetRequest",
        "summary": "POST /auth/password-reset/request",
        "description": "POST /auth/password-reset/request \u2014 implemented by `handlers::auth::password_reset_request`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/resend-verification": {
      "post": {
        "operationId": "postAuthResendVerification",
        "summary": "POST /auth/resend-verification",
        "description": "POST /auth/resend-verification \u2014 implemented by `handlers::auth::resend_verification`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/sessions": {
      "delete": {
        "operationId": "deleteAuthSessions",
        "summary": "DELETE /auth/sessions",
        "description": "DELETE /auth/sessions \u2014 implemented by `handlers::auth::delete_all_other_sessions`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "get": {
        "operationId": "getAuthSessions",
        "summary": "GET /auth/sessions",
        "description": "GET /auth/sessions \u2014 implemented by `handlers::auth::list_sessions`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/sessions/{id}": {
      "delete": {
        "operationId": "deleteAuthSessionsId",
        "summary": "DELETE /auth/sessions/{id}",
        "description": "DELETE /auth/sessions/{id} \u2014 implemented by `handlers::auth::delete_session`.",
        "tags": [
          "auth"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/signup": {
      "post": {
        "operationId": "postAuthSignup",
        "summary": "POST /auth/signup",
        "description": "POST /auth/signup \u2014 implemented by `handlers::auth::signup`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/auth/user/tenants": {
      "get": {
        "operationId": "getAuthUserTenants",
        "summary": "GET /auth/user/tenants",
        "description": "GET /auth/user/tenants \u2014 implemented by `handlers::auth::get_user_tenants`.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/auth/verify-email": {
      "post": {
        "operationId": "postAuthVerifyEmail",
        "summary": "POST /auth/verify-email",
        "description": "POST /auth/verify-email \u2014 implemented by `handlers::auth::verify_email`. Public endpoint: no bearer token required.",
        "tags": [
          "auth"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/commits/batch-classify": {
      "post": {
        "operationId": "postCommitsBatchClassify",
        "summary": "POST /commits/batch-classify",
        "description": "POST /commits/batch-classify \u2014 implemented by `handlers::code_ancestry::batch_classify_commit_intent_handler`.",
        "tags": [
          "commits"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/commits/unclassified": {
      "get": {
        "operationId": "getCommitsUnclassified",
        "summary": "GET /commits/unclassified",
        "description": "GET /commits/unclassified \u2014 implemented by `handlers::code_ancestry::list_unclassified_commits_handler`.",
        "tags": [
          "commits"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/commits/{commit_id}/classify": {
      "post": {
        "operationId": "postCommitsCommitIdClassify",
        "summary": "POST /commits/{commit_id}/classify",
        "description": "POST /commits/{commit_id}/classify \u2014 implemented by `handlers::code_ancestry::classify_commit_intent_handler`.",
        "tags": [
          "commits"
        ],
        "parameters": [
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/commits/{commit_id}/override-intent": {
      "post": {
        "operationId": "postCommitsCommitIdOverrideIntent",
        "summary": "POST /commits/{commit_id}/override-intent",
        "description": "POST /commits/{commit_id}/override-intent \u2014 implemented by `handlers::code_ancestry::override_commit_intent_handler`.",
        "tags": [
          "commits"
        ],
        "parameters": [
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/commits/{commit_id}/summarize": {
      "post": {
        "operationId": "postCommitsCommitIdSummarize",
        "summary": "POST /commits/{commit_id}/summarize",
        "description": "POST /commits/{commit_id}/summarize \u2014 implemented by `handlers::code_ancestry::generate_diff_summary_handler`.",
        "tags": [
          "commits"
        ],
        "parameters": [
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/dashboard": {
      "get": {
        "operationId": "getDashboard",
        "summary": "GET /dashboard",
        "description": "GET /dashboard \u2014 implemented by `handlers::dashboard::dashboard`. Public endpoint: no bearer token required.",
        "tags": [
          "dashboard"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/graph/playground": {
      "get": {
        "operationId": "getGraphPlayground",
        "summary": "GET /graph/playground",
        "description": "GET /graph/playground \u2014 implemented by `handlers::graphql::graphql_playground`.",
        "tags": [
          "graph"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/graph/query": {
      "post": {
        "operationId": "postGraphQuery",
        "summary": "POST /graph/query",
        "description": "POST /graph/query \u2014 implemented by `handlers::graphql::graphql_handler`.",
        "tags": [
          "graph"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/health": {
      "get": {
        "operationId": "getHealth",
        "summary": "GET /health",
        "description": "GET /health \u2014 implemented by `handlers::health::health`. Public endpoint: no bearer token required.",
        "tags": [
          "health"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/health/detailed": {
      "get": {
        "operationId": "getHealthDetailed",
        "summary": "GET /health/detailed",
        "description": "GET /health/detailed \u2014 implemented by `handlers::health::detailed_health`. Public endpoint: no bearer token required.",
        "tags": [
          "health"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/health/ready": {
      "get": {
        "operationId": "getHealthReady",
        "summary": "GET /health/ready",
        "description": "GET /health/ready \u2014 implemented by `handlers::health::ready`. Public endpoint: no bearer token required.",
        "tags": [
          "health"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/impact": {
      "get": {
        "operationId": "getImpact",
        "summary": "GET /impact",
        "description": "GET /impact \u2014 implemented by `handlers::search::impact`.",
        "tags": [
          "impact"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/impact/predict": {
      "get": {
        "operationId": "getImpactPredict",
        "summary": "GET /impact/predict",
        "description": "GET /impact/predict \u2014 implemented by `handlers::search::impact_predict`.",
        "tags": [
          "impact"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/metrics": {
      "get": {
        "operationId": "getMetrics",
        "summary": "GET /metrics",
        "description": "GET /metrics \u2014 implemented by `handlers::health::metrics_endpoint`. Public endpoint: no bearer token required.",
        "tags": [
          "metrics"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/metrics/prometheus": {
      "get": {
        "operationId": "getMetricsPrometheus",
        "summary": "GET /metrics/prometheus",
        "description": "GET /metrics/prometheus \u2014 implemented by `handlers::health::prometheus_scrape_endpoint`. Public endpoint: no bearer token required.",
        "tags": [
          "metrics"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/metrics/trends": {
      "get": {
        "operationId": "getMetricsTrends",
        "summary": "GET /metrics/trends",
        "description": "GET /metrics/trends \u2014 implemented by `handlers::health::trends_endpoint`. Public endpoint: no bearer token required.",
        "tags": [
          "metrics"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/ml/dead-code/batch": {
      "post": {
        "operationId": "postMlDeadCodeBatch",
        "summary": "POST /ml/dead-code/batch",
        "description": "POST /ml/dead-code/batch \u2014 implemented by `handlers::ml::batch_predict_dead_code`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/dead-code/model": {
      "get": {
        "operationId": "getMlDeadCodeModel",
        "summary": "GET /ml/dead-code/model",
        "description": "GET /ml/dead-code/model \u2014 implemented by `handlers::ml::get_dead_code_model_info`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/dead-code/model/{major}/{minor}/{patch}": {
      "get": {
        "operationId": "getMlDeadCodeModelMajorMinorPatch",
        "summary": "GET /ml/dead-code/model/{major}/{minor}/{patch}",
        "description": "GET /ml/dead-code/model/{major}/{minor}/{patch} \u2014 implemented by `handlers::ml::get_dead_code_model_version_info`.",
        "tags": [
          "ml"
        ],
        "parameters": [
          {
            "name": "major",
            "in": "path",
            "required": true,
            "description": "Path parameter `major`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "minor",
            "in": "path",
            "required": true,
            "description": "Path parameter `minor`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "patch",
            "in": "path",
            "required": true,
            "description": "Path parameter `patch`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/dead-code/predict": {
      "post": {
        "operationId": "postMlDeadCodePredict",
        "summary": "POST /ml/dead-code/predict",
        "description": "POST /ml/dead-code/predict \u2014 implemented by `handlers::ml::predict_dead_code`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/dead-code/train": {
      "post": {
        "operationId": "postMlDeadCodeTrain",
        "summary": "POST /ml/dead-code/train",
        "description": "POST /ml/dead-code/train \u2014 implemented by `handlers::ml::train_dead_code_model`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/detect-anomaly": {
      "post": {
        "operationId": "postMlDetectAnomaly",
        "summary": "POST /ml/detect-anomaly",
        "description": "POST /ml/detect-anomaly \u2014 implemented by `handlers::ml::detect_anomaly`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/predict-false-positive": {
      "post": {
        "operationId": "postMlPredictFalsePositive",
        "summary": "POST /ml/predict-false-positive",
        "description": "POST /ml/predict-false-positive \u2014 implemented by `handlers::ml::predict_false_positive`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/quality/batch": {
      "post": {
        "operationId": "postMlQualityBatch",
        "summary": "POST /ml/quality/batch",
        "description": "POST /ml/quality/batch \u2014 implemented by `handlers::ml::batch_predict_quality`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/quality/model": {
      "get": {
        "operationId": "getMlQualityModel",
        "summary": "GET /ml/quality/model",
        "description": "GET /ml/quality/model \u2014 implemented by `handlers::ml::get_quality_model_info`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/quality/predict": {
      "post": {
        "operationId": "postMlQualityPredict",
        "summary": "POST /ml/quality/predict",
        "description": "POST /ml/quality/predict \u2014 implemented by `handlers::ml::predict_quality`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/score-quality": {
      "post": {
        "operationId": "postMlScoreQuality",
        "summary": "POST /ml/score-quality",
        "description": "POST /ml/score-quality \u2014 implemented by `handlers::ml::score_quality`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/train": {
      "post": {
        "operationId": "postMlTrain",
        "summary": "POST /ml/train",
        "description": "POST /ml/train \u2014 implemented by `handlers::ml::train_model`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/vulnerability/batch": {
      "post": {
        "operationId": "postMlVulnerabilityBatch",
        "summary": "POST /ml/vulnerability/batch",
        "description": "POST /ml/vulnerability/batch \u2014 implemented by `handlers::ml::batch_predict_vulnerability`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/vulnerability/model": {
      "get": {
        "operationId": "getMlVulnerabilityModel",
        "summary": "GET /ml/vulnerability/model",
        "description": "GET /ml/vulnerability/model \u2014 implemented by `handlers::ml::get_vulnerability_model_info`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/ml/vulnerability/predict": {
      "post": {
        "operationId": "postMlVulnerabilityPredict",
        "summary": "POST /ml/vulnerability/predict",
        "description": "POST /ml/vulnerability/predict \u2014 implemented by `handlers::ml::predict_vulnerability`.",
        "tags": [
          "ml"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/playground/run": {
      "get": {
        "operationId": "getPlaygroundRun",
        "summary": "GET /playground/run",
        "description": "GET /playground/run \u2014 implemented by `handlers::playground::get_playground_run`.",
        "tags": [
          "playground"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/cross-system-processes": {
      "get": {
        "operationId": "getReposTenantIdCrossSystemProcesses",
        "summary": "GET /repos/{tenant_id}/cross-system-processes",
        "description": "GET /repos/{tenant_id}/cross-system-processes \u2014 implemented by `handlers::cross_system_processes::get_cross_system_processes`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/cross-system-processes/correlate": {
      "post": {
        "operationId": "postReposTenantIdCrossSystemProcessesCorrelate",
        "summary": "POST /repos/{tenant_id}/cross-system-processes/correlate",
        "description": "POST /repos/{tenant_id}/cross-system-processes/correlate \u2014 implemented by `handlers::cross_system_processes::correlate_processes`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/cross-system-processes/{process_id}": {
      "get": {
        "operationId": "getReposTenantIdCrossSystemProcessesProcessId",
        "summary": "GET /repos/{tenant_id}/cross-system-processes/{process_id}",
        "description": "GET /repos/{tenant_id}/cross-system-processes/{process_id} \u2014 implemented by `handlers::cross_system_processes::get_cross_system_process`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "process_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `process_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/dashboard": {
      "get": {
        "operationId": "getReposTenantIdRepoIdAicaDashboard",
        "summary": "GET /repos/{tenant_id}/{repo_id}/aica/dashboard",
        "description": "GET /repos/{tenant_id}/{repo_id}/aica/dashboard \u2014 implemented by `handlers::aica_orchestrator::get_aica_dashboard`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows": {
      "get": {
        "operationId": "getReposTenantIdRepoIdAicaWorkflows",
        "summary": "GET /repos/{tenant_id}/{repo_id}/aica/workflows",
        "description": "GET /repos/{tenant_id}/{repo_id}/aica/workflows \u2014 implemented by `handlers::aica_orchestrator::list_workflows`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/anomaly-detection": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAicaWorkflowsAnomalyDetection",
        "summary": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/anomaly-detection",
        "description": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/anomaly-detection \u2014 implemented by `handlers::aica_orchestrator::execute_anomaly_detection`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/comprehension-refresh": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAicaWorkflowsComprehensionRefresh",
        "summary": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/comprehension-refresh",
        "description": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/comprehension-refresh \u2014 implemented by `handlers::aica_orchestrator::execute_comprehension_refresh`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/execute": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAicaWorkflowsExecute",
        "summary": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/execute",
        "description": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/execute \u2014 implemented by `handlers::aica_orchestrator::execute_workflow`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/full-discovery": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAicaWorkflowsFullDiscovery",
        "summary": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/full-discovery",
        "description": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/full-discovery \u2014 implemented by `handlers::aica_orchestrator::execute_full_discovery`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/research-mission": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAicaWorkflowsResearchMission",
        "summary": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/research-mission",
        "description": "POST /repos/{tenant_id}/{repo_id}/aica/workflows/research-mission \u2014 implemented by `handlers::aica_orchestrator::execute_research_mission`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/aica/workflows/{execution_id}": {
      "get": {
        "operationId": "getReposTenantIdRepoIdAicaWorkflowsExecutionId",
        "summary": "GET /repos/{tenant_id}/{repo_id}/aica/workflows/{execution_id}",
        "description": "GET /repos/{tenant_id}/{repo_id}/aica/workflows/{execution_id} \u2014 implemented by `handlers::aica_orchestrator::get_workflow_state`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "execution_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `execution_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/anomaly-radar/anomalies": {
      "get": {
        "operationId": "getReposTenantIdRepoIdAnomalyRadarAnomalies",
        "summary": "GET /repos/{tenant_id}/{repo_id}/anomaly-radar/anomalies",
        "description": "GET /repos/{tenant_id}/{repo_id}/anomaly-radar/anomalies \u2014 implemented by `handlers::code_anomaly_radar::get_anomalies`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/anomaly-radar/baselines": {
      "get": {
        "operationId": "getReposTenantIdRepoIdAnomalyRadarBaselines",
        "summary": "GET /repos/{tenant_id}/{repo_id}/anomaly-radar/baselines",
        "description": "GET /repos/{tenant_id}/{repo_id}/anomaly-radar/baselines \u2014 implemented by `handlers::code_anomaly_radar::get_baselines`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/anomaly-radar/batch-detect": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAnomalyRadarBatchDetect",
        "summary": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/batch-detect",
        "description": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/batch-detect \u2014 implemented by `handlers::code_anomaly_radar::batch_detect_anomalies`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/anomaly-radar/classify/{anomaly_id}": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAnomalyRadarClassifyAnomalyId",
        "summary": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/classify/{anomaly_id}",
        "description": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/classify/{anomaly_id} \u2014 implemented by `handlers::code_anomaly_radar::classify_anomaly`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "anomaly_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `anomaly_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/anomaly-radar/establish-baselines": {
      "post": {
        "operationId": "postReposTenantIdRepoIdAnomalyRadarEstablishBaselines",
        "summary": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/establish-baselines",
        "description": "POST /repos/{tenant_id}/{repo_id}/anomaly-radar/establish-baselines \u2014 implemented by `handlers::code_anomaly_radar::establish_baselines`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/benchmarks/compare": {
      "get": {
        "operationId": "getReposTenantIdRepoIdBenchmarksCompare",
        "summary": "GET /repos/{tenant_id}/{repo_id}/benchmarks/compare",
        "description": "GET /repos/{tenant_id}/{repo_id}/benchmarks/compare \u2014 implemented by `handlers::benchmarks::get_benchmark_comparison`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/benchmarks/opt-in": {
      "get": {
        "operationId": "getReposTenantIdRepoIdBenchmarksOptIn",
        "summary": "GET /repos/{tenant_id}/{repo_id}/benchmarks/opt-in",
        "description": "GET /repos/{tenant_id}/{repo_id}/benchmarks/opt-in \u2014 implemented by `handlers::benchmarks::get_benchmark_opt_in`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postReposTenantIdRepoIdBenchmarksOptIn",
        "summary": "POST /repos/{tenant_id}/{repo_id}/benchmarks/opt-in",
        "description": "POST /repos/{tenant_id}/{repo_id}/benchmarks/opt-in \u2014 implemented by `handlers::benchmarks::update_benchmark_opt_in`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/benchmarks/snapshot": {
      "post": {
        "operationId": "postReposTenantIdRepoIdBenchmarksSnapshot",
        "summary": "POST /repos/{tenant_id}/{repo_id}/benchmarks/snapshot",
        "description": "POST /repos/{tenant_id}/{repo_id}/benchmarks/snapshot \u2014 implemented by `handlers::benchmarks::snapshot_repo_benchmark_data`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/commits/batch-generate-history": {
      "post": {
        "operationId": "postReposTenantIdRepoIdCommitsBatchGenerateHistory",
        "summary": "POST /repos/{tenant_id}/{repo_id}/commits/batch-generate-history",
        "description": "POST /repos/{tenant_id}/{repo_id}/commits/batch-generate-history \u2014 implemented by `handlers::code_historian::batch_generate_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/commits/{commit_id}/generate-history": {
      "post": {
        "operationId": "postReposTenantIdRepoIdCommitsCommitIdGenerateHistory",
        "summary": "POST /repos/{tenant_id}/{repo_id}/commits/{commit_id}/generate-history",
        "description": "POST /repos/{tenant_id}/{repo_id}/commits/{commit_id}/generate-history \u2014 implemented by `handlers::code_historian::generate_commit_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/commits/{commit_id}/history": {
      "get": {
        "operationId": "getReposTenantIdRepoIdCommitsCommitIdHistory",
        "summary": "GET /repos/{tenant_id}/{repo_id}/commits/{commit_id}/history",
        "description": "GET /repos/{tenant_id}/{repo_id}/commits/{commit_id}/history \u2014 implemented by `handlers::code_historian::get_commit_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "commit_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `commit_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/comprehension/artifacts/{area_path}": {
      "get": {
        "operationId": "getReposTenantIdRepoIdComprehensionArtifactsAreaPath",
        "summary": "GET /repos/{tenant_id}/{repo_id}/comprehension/artifacts/{area_path}",
        "description": "GET /repos/{tenant_id}/{repo_id}/comprehension/artifacts/{area_path} \u2014 implemented by `handlers::progressive_comprehension::get_artifacts`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "area_path",
            "in": "path",
            "required": true,
            "description": "Path parameter `area_path`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/comprehension/dark-zones": {
      "get": {
        "operationId": "getReposTenantIdRepoIdComprehensionDarkZones",
        "summary": "GET /repos/{tenant_id}/{repo_id}/comprehension/dark-zones",
        "description": "GET /repos/{tenant_id}/{repo_id}/comprehension/dark-zones \u2014 implemented by `handlers::progressive_comprehension::get_dark_zones`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/comprehension/queue": {
      "get": {
        "operationId": "getReposTenantIdRepoIdComprehensionQueue",
        "summary": "GET /repos/{tenant_id}/{repo_id}/comprehension/queue",
        "description": "GET /repos/{tenant_id}/{repo_id}/comprehension/queue \u2014 implemented by `handlers::progressive_comprehension::get_exploration_queue`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/comprehension/state/{area_path}": {
      "get": {
        "operationId": "getReposTenantIdRepoIdComprehensionStateAreaPath",
        "summary": "GET /repos/{tenant_id}/{repo_id}/comprehension/state/{area_path}",
        "description": "GET /repos/{tenant_id}/{repo_id}/comprehension/state/{area_path} \u2014 implemented by `handlers::progressive_comprehension::get_comprehension_state`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "area_path",
            "in": "path",
            "required": true,
            "description": "Path parameter `area_path`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/consultant/insights": {
      "get": {
        "operationId": "getReposTenantIdRepoIdConsultantInsights",
        "summary": "GET /repos/{tenant_id}/{repo_id}/consultant/insights",
        "description": "GET /repos/{tenant_id}/{repo_id}/consultant/insights \u2014 implemented by `handlers::consultant::get_consultant_insights`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/consultant/refresh": {
      "post": {
        "operationId": "postReposTenantIdRepoIdConsultantRefresh",
        "summary": "POST /repos/{tenant_id}/{repo_id}/consultant/refresh",
        "description": "POST /repos/{tenant_id}/{repo_id}/consultant/refresh \u2014 implemented by `handlers::consultant::refresh_consultant_insights`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/explore/dark-zones": {
      "get": {
        "operationId": "getReposTenantIdRepoIdExploreDarkZones",
        "summary": "GET /repos/{tenant_id}/{repo_id}/explore/dark-zones",
        "description": "GET /repos/{tenant_id}/{repo_id}/explore/dark-zones \u2014 implemented by `handlers::autonomous_exploration::get_dark_zones`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/explore/findings": {
      "get": {
        "operationId": "getReposTenantIdRepoIdExploreFindings",
        "summary": "GET /repos/{tenant_id}/{repo_id}/explore/findings",
        "description": "GET /repos/{tenant_id}/{repo_id}/explore/findings \u2014 implemented by `handlers::autonomous_exploration::get_findings`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/explore/sessions/{session_id}": {
      "get": {
        "operationId": "getReposTenantIdRepoIdExploreSessionsSessionId",
        "summary": "GET /repos/{tenant_id}/{repo_id}/explore/sessions/{session_id}",
        "description": "GET /repos/{tenant_id}/{repo_id}/explore/sessions/{session_id} \u2014 implemented by `handlers::autonomous_exploration::get_exploration_session`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/explore/sessions/{session_id}/trace": {
      "get": {
        "operationId": "getReposTenantIdRepoIdExploreSessionsSessionIdTrace",
        "summary": "GET /repos/{tenant_id}/{repo_id}/explore/sessions/{session_id}/trace",
        "description": "GET /repos/{tenant_id}/{repo_id}/explore/sessions/{session_id}/trace \u2014 implemented by `handlers::autonomous_exploration::get_exploration_trace`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `session_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/explore/start": {
      "post": {
        "operationId": "postReposTenantIdRepoIdExploreStart",
        "summary": "POST /repos/{tenant_id}/{repo_id}/explore/start",
        "description": "POST /repos/{tenant_id}/{repo_id}/explore/start \u2014 implemented by `handlers::autonomous_exploration::start_exploration`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/insights": {
      "get": {
        "operationId": "getReposTenantIdRepoIdInsights",
        "summary": "GET /repos/{tenant_id}/{repo_id}/insights",
        "description": "GET /repos/{tenant_id}/{repo_id}/insights \u2014 implemented by `handlers::insight_stream::get_insight_stream`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/insights/bulk-status": {
      "post": {
        "operationId": "postReposTenantIdRepoIdInsightsBulkStatus",
        "summary": "POST /repos/{tenant_id}/{repo_id}/insights/bulk-status",
        "description": "POST /repos/{tenant_id}/{repo_id}/insights/bulk-status \u2014 implemented by `handlers::insight_stream::bulk_update_insight_status`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/insights/{insight_id}/status": {
      "patch": {
        "operationId": "patchReposTenantIdRepoIdInsightsInsightIdStatus",
        "summary": "PATCH /repos/{tenant_id}/{repo_id}/insights/{insight_id}/status",
        "description": "PATCH /repos/{tenant_id}/{repo_id}/insights/{insight_id}/status \u2014 implemented by `handlers::insight_stream::update_insight_status`. Public endpoint: no bearer token required.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "insight_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `insight_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/repos/{tenant_id}/{repo_id}/lore/sync-confluence": {
      "post": {
        "operationId": "postReposTenantIdRepoIdLoreSyncConfluence",
        "summary": "POST /repos/{tenant_id}/{repo_id}/lore/sync-confluence",
        "description": "POST /repos/{tenant_id}/{repo_id}/lore/sync-confluence \u2014 implemented by `handlers::corporate_lore::sync_confluence`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/lore/sync-wiki": {
      "post": {
        "operationId": "postReposTenantIdRepoIdLoreSyncWiki",
        "summary": "POST /repos/{tenant_id}/{repo_id}/lore/sync-wiki",
        "description": "POST /repos/{tenant_id}/{repo_id}/lore/sync-wiki \u2014 implemented by `handlers::corporate_lore::sync_wiki`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/research/assign": {
      "post": {
        "operationId": "postReposTenantIdRepoIdResearchAssign",
        "summary": "POST /repos/{tenant_id}/{repo_id}/research/assign",
        "description": "POST /repos/{tenant_id}/{repo_id}/research/assign \u2014 implemented by `handlers::research_agent::assign_mission`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/research/missions": {
      "get": {
        "operationId": "getReposTenantIdRepoIdResearchMissions",
        "summary": "GET /repos/{tenant_id}/{repo_id}/research/missions",
        "description": "GET /repos/{tenant_id}/{repo_id}/research/missions \u2014 implemented by `handlers::research_agent::list_missions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/research/missions/{mission_id}": {
      "get": {
        "operationId": "getReposTenantIdRepoIdResearchMissionsMissionId",
        "summary": "GET /repos/{tenant_id}/{repo_id}/research/missions/{mission_id}",
        "description": "GET /repos/{tenant_id}/{repo_id}/research/missions/{mission_id} \u2014 implemented by `handlers::research_agent::get_mission`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mission_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `mission_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/research/missions/{mission_id}/trace": {
      "get": {
        "operationId": "getReposTenantIdRepoIdResearchMissionsMissionIdTrace",
        "summary": "GET /repos/{tenant_id}/{repo_id}/research/missions/{mission_id}/trace",
        "description": "GET /repos/{tenant_id}/{repo_id}/research/missions/{mission_id}/trace \u2014 implemented by `handlers::research_agent::get_mission_trace`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mission_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `mission_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/history": {
      "get": {
        "operationId": "getReposTenantIdRepoIdSymbolsSymbolIdHistory",
        "summary": "GET /repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/history",
        "description": "GET /repos/{tenant_id}/{repo_id}/symbols/{symbol_id}/history \u2014 implemented by `handlers::code_historian::get_symbol_history`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo_id`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/authors/{author}/skills": {
      "get": {
        "operationId": "getReposTenantRepoAuthorsAuthorSkills",
        "summary": "GET /repos/{tenant}/{repo}/authors/{author}/skills",
        "description": "GET /repos/{tenant}/{repo}/authors/{author}/skills \u2014 implemented by `handlers::skill_heatmap::get_author_skills`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "author",
            "in": "path",
            "required": true,
            "description": "Path parameter `author`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/cultural-intelligence/anomalies": {
      "get": {
        "operationId": "getReposTenantRepoCulturalIntelligenceAnomalies",
        "summary": "GET /repos/{tenant}/{repo}/cultural-intelligence/anomalies",
        "description": "GET /repos/{tenant}/{repo}/cultural-intelligence/anomalies \u2014 implemented by `handlers::cultural_intelligence::get_health_anomalies`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/cultural-intelligence/anomalies/detect": {
      "post": {
        "operationId": "postReposTenantRepoCulturalIntelligenceAnomaliesDetect",
        "summary": "POST /repos/{tenant}/{repo}/cultural-intelligence/anomalies/detect",
        "description": "POST /repos/{tenant}/{repo}/cultural-intelligence/anomalies/detect \u2014 implemented by `handlers::cultural_intelligence::detect_health_anomalies`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/cultural-intelligence/snapshot": {
      "post": {
        "operationId": "postReposTenantRepoCulturalIntelligenceSnapshot",
        "summary": "POST /repos/{tenant}/{repo}/cultural-intelligence/snapshot",
        "description": "POST /repos/{tenant}/{repo}/cultural-intelligence/snapshot \u2014 implemented by `handlers::cultural_intelligence::take_health_snapshot`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/cultural-intelligence/snapshots": {
      "get": {
        "operationId": "getReposTenantRepoCulturalIntelligenceSnapshots",
        "summary": "GET /repos/{tenant}/{repo}/cultural-intelligence/snapshots",
        "description": "GET /repos/{tenant}/{repo}/cultural-intelligence/snapshots \u2014 implemented by `handlers::cultural_intelligence::get_health_snapshots`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/cultural-intelligence/trends": {
      "get": {
        "operationId": "getReposTenantRepoCulturalIntelligenceTrends",
        "summary": "GET /repos/{tenant}/{repo}/cultural-intelligence/trends",
        "description": "GET /repos/{tenant}/{repo}/cultural-intelligence/trends \u2014 implemented by `handlers::cultural_intelligence::analyze_health_trends`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/hotspots/enhanced-justification-heatmap": {
      "get": {
        "operationId": "getReposTenantRepoHotspotsEnhancedJustificationHeatmap",
        "summary": "GET /repos/{tenant}/{repo}/hotspots/enhanced-justification-heatmap",
        "description": "GET /repos/{tenant}/{repo}/hotspots/enhanced-justification-heatmap \u2014 implemented by `handlers::hotspots::enhanced_justification_heatmap`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/hotspots/justification-heatmap": {
      "get": {
        "operationId": "getReposTenantRepoHotspotsJustificationHeatmap",
        "summary": "GET /repos/{tenant}/{repo}/hotspots/justification-heatmap",
        "description": "GET /repos/{tenant}/{repo}/hotspots/justification-heatmap \u2014 implemented by `handlers::hotspots::justification_heatmap`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/investigation-sessions": {
      "get": {
        "operationId": "getReposTenantRepoInvestigationSessions",
        "summary": "GET /repos/{tenant}/{repo}/investigation-sessions",
        "description": "GET /repos/{tenant}/{repo}/investigation-sessions \u2014 implemented by `handlers::knowledge_capsule::list_sessions`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postReposTenantRepoInvestigationSessions",
        "summary": "POST /repos/{tenant}/{repo}/investigation-sessions",
        "description": "POST /repos/{tenant}/{repo}/investigation-sessions \u2014 implemented by `handlers::knowledge_capsule::create_session`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/knowledge-capsules": {
      "get": {
        "operationId": "getReposTenantRepoKnowledgeCapsules",
        "summary": "GET /repos/{tenant}/{repo}/knowledge-capsules",
        "description": "GET /repos/{tenant}/{repo}/knowledge-capsules \u2014 implemented by `handlers::knowledge_capsule::list_capsules`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postReposTenantRepoKnowledgeCapsules",
        "summary": "POST /repos/{tenant}/{repo}/knowledge-capsules",
        "description": "POST /repos/{tenant}/{repo}/knowledge-capsules \u2014 implemented by `handlers::knowledge_capsule::create_capsule`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/knowledge-capsules/from-template": {
      "post": {
        "operationId": "postReposTenantRepoKnowledgeCapsulesFromTemplate",
        "summary": "POST /repos/{tenant}/{repo}/knowledge-capsules/from-template",
        "description": "POST /repos/{tenant}/{repo}/knowledge-capsules/from-template \u2014 implemented by `handlers::knowledge_capsule::create_capsule_from_template`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/knowledge-capsules/templates": {
      "get": {
        "operationId": "getReposTenantRepoKnowledgeCapsulesTemplates",
        "summary": "GET /repos/{tenant}/{repo}/knowledge-capsules/templates",
        "description": "GET /repos/{tenant}/{repo}/knowledge-capsules/templates \u2014 implemented by `handlers::knowledge_capsule::list_templates`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/mentorship/request": {
      "post": {
        "operationId": "postReposTenantRepoMentorshipRequest",
        "summary": "POST /repos/{tenant}/{repo}/mentorship/request",
        "description": "POST /repos/{tenant}/{repo}/mentorship/request \u2014 implemented by `handlers::mentorship::request_mentorship`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/mentorship/routes": {
      "get": {
        "operationId": "getReposTenantRepoMentorshipRoutes",
        "summary": "GET /repos/{tenant}/{repo}/mentorship/routes",
        "description": "GET /repos/{tenant}/{repo}/mentorship/routes \u2014 implemented by `handlers::mentorship::get_mentorship_routes`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/mentorship/routes/{route_id}/status": {
      "post": {
        "operationId": "postReposTenantRepoMentorshipRoutesRouteIdStatus",
        "summary": "POST /repos/{tenant}/{repo}/mentorship/routes/{route_id}/status",
        "description": "POST /repos/{tenant}/{repo}/mentorship/routes/{route_id}/status \u2014 implemented by `handlers::mentorship::update_mentorship_status`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "route_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `route_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/skills/build": {
      "post": {
        "operationId": "postReposTenantRepoSkillsBuild",
        "summary": "POST /repos/{tenant}/{repo}/skills/build",
        "description": "POST /repos/{tenant}/{repo}/skills/build \u2014 implemented by `handlers::skill_heatmap::build_skill_heatmap`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/repos/{tenant}/{repo}/skills/heatmap": {
      "get": {
        "operationId": "getReposTenantRepoSkillsHeatmap",
        "summary": "GET /repos/{tenant}/{repo}/skills/heatmap",
        "description": "GET /repos/{tenant}/{repo}/skills/heatmap \u2014 implemented by `handlers::skill_heatmap::get_skill_heatmap`.",
        "tags": [
          "repos"
        ],
        "parameters": [
          {
            "name": "tenant",
            "in": "path",
            "required": true,
            "description": "Path parameter `tenant`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/search": {
      "get": {
        "operationId": "getSearch",
        "summary": "GET /search",
        "description": "GET /search \u2014 implemented by `handlers::search::search`. Public endpoint: no bearer token required.",
        "tags": [
          "search"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/security/baselines": {
      "get": {
        "operationId": "getSecurityBaselines",
        "summary": "GET /security/baselines",
        "description": "GET /security/baselines \u2014 implemented by `handlers::security::list_baselines`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      },
      "post": {
        "operationId": "postSecurityBaselines",
        "summary": "POST /security/baselines",
        "description": "POST /security/baselines \u2014 implemented by `handlers::security::create_baseline`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/baselines/{id}/activate": {
      "post": {
        "operationId": "postSecurityBaselinesIdActivate",
        "summary": "POST /security/baselines/{id}/activate",
        "description": "POST /security/baselines/{id}/activate \u2014 implemented by `handlers::security::activate_baseline`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/baselines/{id}/compare": {
      "get": {
        "operationId": "getSecurityBaselinesIdCompare",
        "summary": "GET /security/baselines/{id}/compare",
        "description": "GET /security/baselines/{id}/compare \u2014 implemented by `handlers::security::compare_baseline`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/dashboard": {
      "get": {
        "operationId": "getSecurityDashboard",
        "summary": "GET /security/dashboard",
        "description": "GET /security/dashboard \u2014 implemented by `handlers::security::get_dashboard`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/dashboard/ws": {
      "get": {
        "operationId": "getSecurityDashboardWs",
        "summary": "GET /security/dashboard/ws",
        "description": "GET /security/dashboard/ws \u2014 implemented by `handlers::security::dashboard_websocket`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings": {
      "get": {
        "operationId": "getSecurityFindings",
        "summary": "GET /security/findings",
        "description": "GET /security/findings \u2014 implemented by `handlers::security::get_findings`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/bulk-resolve": {
      "post": {
        "operationId": "postSecurityFindingsBulkResolve",
        "summary": "POST /security/findings/bulk-resolve",
        "description": "POST /security/findings/bulk-resolve \u2014 implemented by `handlers::security::bulk_resolve_findings`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/bulk-suppress": {
      "post": {
        "operationId": "postSecurityFindingsBulkSuppress",
        "summary": "POST /security/findings/bulk-suppress",
        "description": "POST /security/findings/bulk-suppress \u2014 implemented by `handlers::security::bulk_suppress_findings`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/bulk-triage": {
      "post": {
        "operationId": "postSecurityFindingsBulkTriage",
        "summary": "POST /security/findings/bulk-triage",
        "description": "POST /security/findings/bulk-triage \u2014 implemented by `handlers::security::bulk_triage_findings`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/{id}": {
      "get": {
        "operationId": "getSecurityFindingsId",
        "summary": "GET /security/findings/{id}",
        "description": "GET /security/findings/{id} \u2014 implemented by `handlers::security::get_finding`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/{id}/resolve": {
      "post": {
        "operationId": "postSecurityFindingsIdResolve",
        "summary": "POST /security/findings/{id}/resolve",
        "description": "POST /security/findings/{id}/resolve \u2014 implemented by `handlers::security::resolve_finding`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/{id}/suppress": {
      "post": {
        "operationId": "postSecurityFindingsIdSuppress",
        "summary": "POST /security/findings/{id}/suppress",
        "description": "POST /security/findings/{id}/suppress \u2014 implemented by `handlers::security::suppress_finding`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/findings/{id}/triage": {
      "post": {
        "operationId": "postSecurityFindingsIdTriage",
        "summary": "POST /security/findings/{id}/triage",
        "description": "POST /security/findings/{id}/triage \u2014 implemented by `handlers::security::triage_finding`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Path parameter `id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/metrics/history": {
      "get": {
        "operationId": "getSecurityMetricsHistory",
        "summary": "GET /security/metrics/history",
        "description": "GET /security/metrics/history \u2014 implemented by `handlers::security::get_metrics_history`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/ml/insights/{repo}": {
      "get": {
        "operationId": "getSecurityMlInsightsRepo",
        "summary": "GET /security/ml/insights/{repo}",
        "description": "GET /security/ml/insights/{repo} \u2014 implemented by `handlers::security::get_ml_insights`. Public endpoint: no bearer token required.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "repo",
            "in": "path",
            "required": true,
            "description": "Path parameter `repo`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/security/ml/predict": {
      "post": {
        "operationId": "postSecurityMlPredict",
        "summary": "POST /security/ml/predict",
        "description": "POST /security/ml/predict \u2014 implemented by `handlers::security::predict_finding_ml`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/scan": {
      "post": {
        "operationId": "postSecurityScan",
        "summary": "POST /security/scan",
        "description": "POST /security/scan \u2014 implemented by `handlers::security::trigger_scan`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/scans/{scan_id}/sarif": {
      "get": {
        "operationId": "getSecurityScansScanIdSarif",
        "summary": "GET /security/scans/{scan_id}/sarif",
        "description": "GET /security/scans/{scan_id}/sarif \u2014 implemented by `handlers::security::get_sarif`.",
        "tags": [
          "security"
        ],
        "parameters": [
          {
            "name": "scan_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `scan_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/security/validation-issues": {
      "get": {
        "operationId": "getSecurityValidationIssues",
        "summary": "GET /security/validation-issues",
        "description": "GET /security/validation-issues \u2014 implemented by `handlers::security::get_validation_issues`.",
        "tags": [
          "security"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/symbols/provenance": {
      "get": {
        "operationId": "getSymbolsProvenance",
        "summary": "GET /symbols/provenance",
        "description": "GET /symbols/provenance \u2014 implemented by `handlers::search::symbols_by_provenance`.",
        "tags": [
          "symbols"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/symbols/{sid}": {
      "get": {
        "operationId": "getSymbolsSid",
        "summary": "GET /symbols/{sid}",
        "description": "GET /symbols/{sid} \u2014 implemented by `handlers::search::symbol_detail`.",
        "tags": [
          "symbols"
        ],
        "parameters": [
          {
            "name": "sid",
            "in": "path",
            "required": true,
            "description": "Path parameter `sid`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/symbols/{symbol_id}/ancestry": {
      "get": {
        "operationId": "getSymbolsSymbolIdAncestry",
        "summary": "GET /symbols/{symbol_id}/ancestry",
        "description": "GET /symbols/{symbol_id}/ancestry \u2014 implemented by `handlers::code_ancestry::get_symbol_ancestry_handler`.",
        "tags": [
          "symbols"
        ],
        "parameters": [
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/symbols/{symbol_id}/ancestry/advanced": {
      "get": {
        "operationId": "getSymbolsSymbolIdAncestryAdvanced",
        "summary": "GET /symbols/{symbol_id}/ancestry/advanced",
        "description": "GET /symbols/{symbol_id}/ancestry/advanced \u2014 implemented by `handlers::code_ancestry::get_symbol_ancestry_advanced_handler`.",
        "tags": [
          "symbols"
        ],
        "parameters": [
          {
            "name": "symbol_id",
            "in": "path",
            "required": true,
            "description": "Path parameter `symbol_id`.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    },
    "/where-used": {
      "get": {
        "operationId": "getWhereUsed",
        "summary": "GET /where-used",
        "description": "GET /where-used \u2014 implemented by `handlers::search::where_used`.",
        "tags": [
          "where-used"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonValue"
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer_auth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Session JWT or API key sent as `Authorization: Bearer <token>`. Browser clients may instead use the session cookie."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Generic error envelope returned on failures.",
        "properties": {
          "error": {
            "type": "string",
            "description": "Human-readable error message."
          },
          "code": {
            "type": "integer",
            "description": "HTTP status code."
          }
        },
        "required": [
          "error"
        ]
      },
      "JsonValue": {
        "description": "Arbitrary JSON value. Schemas are simplified per endpoint; consult the endpoint description and handler for exact shape."
      },
      "PublicApiMeta": {
        "type": "object",
        "description": "Self-describing service metadata for the public v1 API.",
        "required": [
          "service",
          "description",
          "api_version",
          "version",
          "endpoints",
          "documentation",
          "openapi_spec",
          "llms_txt"
        ],
        "properties": {
          "service": {
            "type": "string",
            "enum": [
              "codedig"
            ]
          },
          "description": {
            "type": "string"
          },
          "api_version": {
            "type": "string",
            "enum": [
              "v1"
            ]
          },
          "version": {
            "type": "string",
            "description": "Deployed api crate version (CARGO_PKG_VERSION)."
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Public v1 endpoint paths."
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "openapi_spec": {
            "type": "string",
            "format": "uri"
          },
          "llms_txt": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "SampleReport": {
        "type": "object",
        "description": "Static example of a CodeDig PR analysis. Always carries sample:true.",
        "required": [
          "sample",
          "pr",
          "risk",
          "findings",
          "impact"
        ],
        "properties": {
          "sample": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "pr": {
            "type": "object",
            "required": [
              "title",
              "author",
              "files_changed",
              "additions",
              "deletions"
            ],
            "properties": {
              "title": {
                "type": "string"
              },
              "author": {
                "type": "string"
              },
              "files_changed": {
                "type": "integer",
                "minimum": 0
              },
              "additions": {
                "type": "integer",
                "minimum": 0
              },
              "deletions": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "risk": {
            "type": "object",
            "required": [
              "score",
              "level"
            ],
            "properties": {
              "score": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "level": {
                "type": "string",
                "description": "e.g. low | medium | high | critical"
              }
            }
          },
          "findings": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "category",
                "severity",
                "title",
                "file",
                "line",
                "detail"
              ],
              "properties": {
                "category": {
                  "type": "string",
                  "description": "e.g. injection, secrets, dependency-risk"
                },
                "severity": {
                  "type": "string",
                  "description": "e.g. critical, high, medium, low, info"
                },
                "title": {
                  "type": "string"
                },
                "file": {
                  "type": "string"
                },
                "line": {
                  "type": "integer",
                  "minimum": 0
                },
                "detail": {
                  "type": "string"
                }
              }
            }
          },
          "impact": {
            "type": "object",
            "required": [
              "summary",
              "downstream_services",
              "affected_endpoints"
            ],
            "properties": {
              "summary": {
                "type": "string"
              },
              "downstream_services": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "service",
                    "relationship"
                  ],
                  "properties": {
                    "service": {
                      "type": "string"
                    },
                    "relationship": {
                      "type": "string"
                    }
                  }
                }
              },
              "affected_endpoints": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "suggested_reviewers": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "username",
                "rationale"
              ],
              "properties": {
                "username": {
                  "type": "string"
                },
                "rationale": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-codegen-note": "Paths enumerated mechanically from crates/api/src/routes/*.rs configure functions (actix-web router, crates/api/src/router.rs configure_routes). Response/request bodies are intentionally simplified to JsonValue."
}