Error: The type does not contain any information #5701
Labels
generator
Issues or improvements relater to generation capabilities.
type:bug
A broken experience
type:investigation
Investigation work, output should be a document detailing findings or a prototype
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
When I try to generate an SDK I get this error:
2024-10-31 14:29:34.644 [error] error generating the client: One or more errors occurred. (One or more errors occurred. (The type does not contain any information Path: \orders\v1, Reference Id: UserId))
Expected behavior
That I didn't get the error and the SDK was generated.
How to reproduce
Create a .yaml file and insert the example below. Use Kiota to generate an SDK. In this simple example it doesn't make sense to have multi nesting references, but the company I work for has a pretty complex API where something like this makes more sense.
This fails:
This works:
Open API description file
No response
Kiota Version
1.19.1
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
```The text was updated successfully, but these errors were encountered: