Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Copy OpenApiResponses object from source OpenApiOperation#1022

Merged
MaggieKimani1 merged 3 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/copy-responses-propertymicrosoft/OpenAPI.NET:mk/copy-responses-propertyCopy head branch name to clipboard
Sep 26, 2022
Merged

Copy OpenApiResponses object from source OpenApiOperation#1022
MaggieKimani1 merged 3 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/copy-responses-propertymicrosoft/OpenAPI.NET:mk/copy-responses-propertyCopy head branch name to clipboard

Conversation

@MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Sep 26, 2022

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 MaggieKimani1 changed the title Copy OpenApiResponses object from source operation Copy OpenApiResponses object from source OpenApiOperation Sep 26, 2022
@MaggieKimani1 MaggieKimani1 merged commit e81a1c6 into vnext Sep 26, 2022
@MaggieKimani1 MaggieKimani1 deleted the mk/copy-responses-property branch September 26, 2022 12:09
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.