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
namespaceApiSdk.Sample;publicclassSampleRequestBuilder:BaseRequestBuilder{// Returns an instance of itself instead of the nested RequestBuilder... It is missing an extra "Sample" in the namespacepublicApiSdk.Sample.SampleRequestBuilderSample=>newApiSdk.Sample.SampleRequestBuilder(PathParameters,RequestAdapter);// [...]}
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Csharp
Describe the bug
I am trying to generate client code with Kiota 1.15.0 for this openAPI document:
but the generated code looks like
Expected behavior
Generated code should look like
(notice the extra
Sample
namespace)How to reproduce
Run
kiota generate -l CSharp -d ./definition_problematic.json -o ./Client
Or see repro repository here.
Open API description file
definition_problematic.json
Kiota Version
1.15.0+b535a94064cd8c14a022aaba42964467d5db525a
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
I have to go in after generation and manually append the missing namespace segments.
Configuration
No response
Debug output
No response
Other information
No response
The text was updated successfully, but these errors were encountered: