You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbug: Kiota.Builder.KiotaBuilder[0]
step 1 - reading the stream - took 00:00:01.0605268
dbug: Kiota.Builder.KiotaBuilder[0]
step 2 - parsing the document - took 00:00:00.2659796
dbug: Kiota.Builder.KiotaBuilder[0]
step 3 - create uri space - took 00:00:00.0021657
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \privat\v1\hendelser\feedxsd
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \presse\v1\hendelser\feedxsd
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \presse\v1\personer\xsd
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \privatutenhjemmel\v1\hendelser\feedxsd
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \privat\v1\personer\xsd
warn: Kiota.Builder.KiotaBuilder[0]
could not find operation return type Get \privatutenhjemmel\v1\personer\xsd
dbug: Kiota.Builder.KiotaBuilder[0]
CreateRequestBuilderClass 00:00:00.1049891
warn: Kiota.Builder.KiotaBuilder[0]
Type with empty name and parent Get
warn: Kiota.Builder.KiotaBuilder[0]
Type with empty name and parent Get
warn: Kiota.Builder.KiotaBuilder[0]
Type with empty name and parent tilleggsinformasjon
warn: Kiota.Builder.KiotaBuilder[0]
Type with empty name and parent Get
dbug: Kiota.Builder.KiotaBuilder[0]
MapTypeDefinitions 00:00:00.0217443
dbug: Kiota.Builder.KiotaBuilder[0]
step 4 - create source model - took 00:00:00.1272016
crit: Kiota.Builder.KiotaBuilder[0]
error generating the SDK: Value cannot be null. (Parameter 'key')
Any suggestions? Is the OpenAPI file the problem?
The text was updated successfully, but these errors were encountered:
Hi @henriksen
Thanks for trying out Kiota and for reporting this issue.
The description you're using seems correct, after investigating the issue further I was able to identify a few shortcomings in the code base for some edge cases. I've authored #1441 to fix those issues.
It'll most likely be released with the next Kiota release this Friday, but in the meantime you can always checkout that branch locally and build a local version of Kiota to generate your client (with those fixes I was able to get a dotnet client that builds).
Don't hesitate to open other issues if you run into other things!
Current result
Using the OpenAPI file https://api.swaggerhub.com/apis/Skatteetaten_FREG/Lesemodell-uten-taushetsbelagt/1.5, generating the SDK using this command:
it fails with the end message being
error generating the SDK: Value cannot be null. (Parameter 'key')
This message is neither helpful nor actionable. There is nothing called
key
in the OpenAPI file, so I'm assuming it's something internal i Kiota.The OpenAPI file validates using an online validator.
The OpenAPI file is also available at SwaggerHub.
Expected result:
Client SDK was generated
Full debug output:
Any suggestions? Is the OpenAPI file the problem?
The text was updated successfully, but these errors were encountered: