Skip to content

Copy OpenApiResponses object from source OpenApiOperation - #1022

Merged
Maggie Kimani (MaggieKimani1) merged 3 commits into
vnextfrom
mk/copy-responses-property
Sep 26, 2022
Merged

Maggie Kimani (MaggieKimani1) merged 3 commits into
vnextfrom
mk/copy-responses-property

Conversation

@MaggieKimani1

@MaggieKimani1 Maggie Kimani (MaggieKimani1) commented Sep 26, 2022 •

Copy link
Copy Markdown
Contributor

Fixes #995
This PR:

  • Ensures Responses are copied over in the OpenApiOperation copy constructor
  • Adds a test case for validation
  • Bumps up lib version

@MaggieKimani1 Maggie Kimani (MaggieKimani1) changed the title Copy OpenApiResponses object from source operation Copy OpenApiResponses object from source OpenApiOperation Sep 26, 2022
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 does not copy Responses property from source operation

2 participants