{
  "openapi": "3.0.0",
  "info": {
    "title": "n8n 公共 API",
    "version": "1.1.1"
  },
  "components": {
    "schemas": {
      "dependencyListPublicDto.generated": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "agent",
                    "credential",
                    "dataTable",
                    "errorWorkflow",
                    "errorWorkflowParent",
                    "parentWorkflow",
                    "subWorkflow"
                  ],
                  "description": "与所请求资源的关系。`credential`、`dataTable`、`subWorkflow`、`errorWorkflow`：所请求的工作流使用此依赖项。`parentWorkflow`：此工作流使用所请求的资源。`errorWorkflowParent`：此工作流将所请求的工作流用作错误工作流。`agent`：此智能体使用所请求的资源。"
                },
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "projectId": {
                  "type": "string",
                  "description": "依赖项所属项目（已知时返回）。"
                }
              },
              "required": [
                "type",
                "id",
                "name"
              ]
            }
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          },
          "inaccessibleCount": {
            "type": "integer",
            "minimum": 0,
            "description": "你无权访问的依赖项数量；这些依赖项不会列出。"
          }
        },
        "required": [
          "data",
          "nextCursor",
          "inaccessibleCount"
        ]
      }
    }
  }
}
