Skip to content

API generatePlugin cannot respond when using Get /users of https://aka.ms/graph/v1.0/openapi.yaml #7181

@Alive-Fish

Description

@Alive-Fish

What are you generating using Kiota, clients or plugins?

Kiota plugin

In what context or format are you using Kiota?

Nuget tool

Client library/SDK language

TypeScript

Describe the bug

Version of @microsoft/kiota: 1.29.0.
Function: generatePlugin.
Usage:

await generatePlugin(
  {
    descriptionPath: "https://aka.ms/graph/v1.0/openapi.yaml",
    outputPath: "C:\\Users\\zhiyou\\AppData\\Local\\Temp\\tmp-16564-9mb3Y1SKS8Rj\\plugin",
    includePatterns: [
      "/users#GET",
    ],
    excludePatterns: [
    ],
    pluginName: "testda12036",
    clearCache: false,
    cleanOutput: false,
    disabledValidationRules: [
    ],
    operation: 1,
    pluginAuthType: null,
    pluginAuthRefid: undefined,
    workingDirectory: "C:\\Users\\zhiyou\\AppData\\Local\\Temp\\tmp-16564-9mb3Y1SKS8Rj",
    noWorkspace: undefined,
  }
)

Result: it will keep on it until disk become full.
Image

Expected behavior

Return the right result.

How to reproduce

See the description.

Open API description file

https://aka.ms/graph/v1.0/openapi.yaml

Kiota Version

1.29.0

Latest Kiota version known to work for scenario above?(Not required)

No response

Known Workarounds

No response

Configuration

No response

Debug output

Click to expand log ```
</details>


### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    TypeScriptPull requests that update Javascript codestatus:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    Status

    Needs Triage 🔍

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions