{
  "repo": "pingcap/autoflow",
  "binary": "backend",
  "binary_path": "backend/main.py",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "extensions": {},
  "services": [
    {
      "name": "BackendLifecycle",
      "package": "backend/main.py",
      "methods": [
        {
          "name": "runserver",
          "name_key": "BackendLifecycle.runserver",
          "input": "host + port + workers click options",
          "output": "running FastAPI backend",
          "type": "local"
        }
      ]
    },
    {
      "name": "BackendAPI",
      "package": "app.api.main",
      "type": "http",
      "methods": [
        {
          "name": "HTTP /api/v1/*",
          "name_key": "Runtime BackendAPI.HandleAPIV1Requests",
          "path": "/api/v1/*",
          "http_method": "ANY",
          "handler": "api_router",
          "type": "http"
        },
        {
          "name": "GET /api/v1/openapi.json",
          "name_key": "HTTP GET /api/v1/openapi.json",
          "path": "/api/v1/openapi.json",
          "http_method": "GET",
          "handler": "FastAPI OpenAPI generator",
          "type": "http"
        }
      ]
    }
  ]
}
