python gen: 'value' property skipped, and $refs from .net generics in swagger #6227
Labels
Python
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
type:bug
A broken experience
type:question
An issue that's a question
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Windows executable
Client library/SDK language
Python
Describe the bug
There are two issues:
The swagger generated using .Net tools has the $ref as specified above.
I see the following error during generation:
However, I'm not sure what I'm supposed to do about this, as this is how the swagger is generated.
The code seems to work FWICT, but the class is named
ZeroCultureNeutralPublicKeyTokenNull
.The other issue is this one:
The class is generated, but it completely skips over 'value', just generating the other two properties:
thanks
Expected behavior
Expect $ref to work, even if some openapi rule needs to be relaxed, as it's part of the .net ecosystem.
Expect all fields in the filter DTO to be generated.
How to reproduce
Used latest kiota x64 binaries
Open API description file
Can not provide
Kiota Version
1.23.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
ZeroCultureNeutralPublicKeyTokenNull
as classname, or rename after generation (or alias on all imports)value
propertyConfiguration
Win x64 Python
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: