Skip to content

generate command yields "error generating the SDK: Object reference not set to an instance of an object" #1886

@DavidBiesack

Description

@DavidBiesack

Using kiota 0.6.0 on macos (installed via the Releases download here on GitHub):

curl -q https://gist.githubusercontent.com/DavidBiesack/cf30605f50d328aee36c9b5854859684/raw/9ca9d18ffe90128f2209a14b45f32930fdf3f2e5/banking-api-openapi-3.0.yaml > openapi.yaml
kiota generate --openapi openapi.yaml --language TypeScript --namespace-name Apiture.BankingClient --class-name BankingClient --clean-output --output ./gen/sdk/client --log-level Error

I get a cryptic error and the process fails:

crit: Kiota.Builder.KiotaBuilder[0]
      error generating the SDK: Object reference not set to an instance of an object.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions