Skip to content

Crash Report #2848

@alirezas

Description

@alirezas

Plugin: @hey-api/transformers
Event: operation
Arguments:

[
  {
    "_path": [
      "paths",
      "/storage/directories/tree",
      "get"
    ],
    "pointer": "#/paths/~1storage~1directories~1tree/get",
    "tags": {},
    "method": "get",
    "operation": {
      "id": "directoryControllerGetDirectoryTree",
      "method": "get",
      "path": "/storage/directories/tree",
      "operationId": "DirectoryController_getDirectoryTree",
      "description": "Retrieves all directories for the user in a nested tree structure showing parent-child relationships.",
      "summary": "Get directory tree",
      "tags": [
        "Storage - Directories"
      ],
      "parameters": {
        "query": {
          "includehassubdirectory": {
            "allowReserved": false,
            "explode": true,
            "location": "query",
            "name": "includeHasSubdirectory",
            "schema": {
              "description": "Include hasSubdirectory property in response (requires additional queries)",
              "type": "boolean"
            },
            "style": "form",
            "description": "Include hasSubdirectory property in response (requires additional queries)"
          }
        }
      },
      "responses": {
        "200": {
          "mediaType": "application/json",
          "schema": {
            "description": "Directory tree retrieved successfully as nested structure",
            "type": "array",
            "items": [
              {
                "$ref": "#/components/schemas/StorageDirectoryTreeDto"
              }
            ]
          }
        },
        "400": {
          "mediaType": "application/json",
          "schema": {
            "description": "Bad Request",
            "$ref": "#/components/schemas/BadRequestResponseDto"
          }
        },
        "401": {
          "mediaType": "application/json",
          "schema": {
            "$ref": "#/components/schemas/UnauthorizedResponseDto"
          }
        },
        "500": {
          "mediaType": "application/json",
          "schema": {
            "description": "Internal Server Error",
            "$ref": "#/components/schemas/InternalServerErrorResponseDto"
          }
        }
      },
      "security": [
        {
          "scheme": "bearer",
          "bearerFormat": "JWT",
          "type": "http"
        }
      ]
    },
    "path": "/storage/directories/tree",
    "type": "operation"
  }
]

Error: Maximum call stack size exceeded

Stack Trace:

RangeError: Maximum call stack size exceeded
    at Object.It [as propertyAccessExpression] (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:2:1381)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:10261)
    at Zu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:8746)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:9001)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:9722)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:10315)
    at Zu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:8746)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:9001)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:9722)
    at Qu (/PATH/node_modules/.pnpm/@hey-api+openapi-ts@0.86.4_typescript@5.9.3/node_modules/@hey-api/openapi-ts/dist/getSpec-6kHHn13e.cjs:23:10315)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🔥Broken or incorrect behavior.needs info ⏳More information needed.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions