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

OpenApiOperation constructor preserve null #1195

Conversation

dldl-cmd
Copy link
Contributor

Fixes #1192

  • Fix OpenApiOperation RequestBody and Tags null is not preserved
  • Add tests for null preserving null on copy constructor
  • Add tests for copy constructor serialization result to be equal
  • Fix OpenApiParameter object changes during serialization, so that the serialization result is on consecutive run the same.

 Fixes microsoft#1192

 - Fix OpenApiOperation RequestBody and Tags null is not preserved
 - Add tests for null preserving null on copy constructor
 - Add tests for copy constructor serialization result to be equal
 - Fix OpenApiParameter object changes during serialization, so that the serialization result is on consecutive run the same.
@baywet
Copy link
Member

baywet commented Mar 29, 2023

Thanks for the contribution. @MaggieKimani1 can you merge this PR when you have a couple of minutes please so it goes out with the next preview?

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.

OpenApiOperation copy constructor - RequestBody null not preserved
3 participants