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

Ensures Paths are copied in the copy constructor#1008

Merged
irvinesunday merged 9 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
fix/is/copy-ctor-pathsmicrosoft/OpenAPI.NET:fix/is/copy-ctor-pathsCopy head branch name to clipboard
Sep 12, 2022
Merged

Ensures Paths are copied in the copy constructor#1008
irvinesunday merged 9 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
fix/is/copy-ctor-pathsmicrosoft/OpenAPI.NET:fix/is/copy-ctor-pathsCopy head branch name to clipboard

Conversation

@irvinesunday
Copy link
Contributor

Fixes #1007

This PR:

  • Ensures Paths are copied in the copy constructor of OpenApiDocument.
  • Adds test to validate the above.

src/Microsoft.OpenApi/Models/OpenApiDocument.cs Outdated Show resolved Hide resolved
src/Microsoft.OpenApi/Models/OpenApiDocument.cs Outdated Show resolved Hide resolved
baywet
baywet previously approved these changes Sep 12, 2022
@irvinesunday irvinesunday merged commit 307d569 into vnext Sep 12, 2022
@irvinesunday irvinesunday deleted the fix/is/copy-ctor-paths branch September 12, 2022 17:24
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.

Paths are not copied over in the copy constructor of OpenApiPaths

2 participants

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