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

Getting NullReferenceException when deserializing a yaml document #1989

Open
lucassklp opened this issue Dec 13, 2024 · 2 comments
Open

Getting NullReferenceException when deserializing a yaml document #1989

lucassklp opened this issue Dec 13, 2024 · 2 comments

Comments

@lucassklp
Copy link

Describe the bug
I aim trying to deserialize a yaml open api file, but it's getting NullReferenceException

OpenApi File To Reproduce
https://api.codacy.com/api/api-docs/swagger.yaml

Expected behavior
The document shoud be serialized correctly

Screenshots/Code Snippets

Code to reproduce available here:
https://github.com/lucassklp/Rx.Http.CodeGen/tree/ce2a7b97ec91ba09e56f3c77d62e1730abe1463d

Methods i'm calling:
Image

Stacktrace:
Image

Additional context
Version: 2.0.0-preview2

@MaggieKimani1
Copy link
Contributor

Hi, do you mind sharing the OpenApi file you're using for us to reproduce this?

@lucassklp
Copy link
Author

The link of file is on description:

https://api.codacy.com/api/api-docs/swagger.yaml

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

No branches or pull requests

2 participants