Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add discriminators #271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davla
Copy link

@davla davla commented Jun 4, 2024

When trying to generate a C# client via Kiota I had many warnings about missing discriminators. Given that it's part of the OpenAPI specification, I just added them to the spec where it was possible.

Furthermore, there were some duplicate YAML anchors definitions. I just removed them and referenced the first occurring one.

@StephenHodgson
Copy link

@davla I also have a generated C# client if you'd like to try it out. Still working on adding assistant streaming events tho. Should be in next release.

Unfortunately the spec still has some troubles for auto generated schema clients. I have def ran into several edge cases.

@kayhantolga
Copy link

I also tried to generate(update) my client sdk via a YAML file, but sadly, the YAML file is not reliable. I have created PRs to fix it, but they have been waiting for months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants