-
Notifications
You must be signed in to change notification settings - Fork 270
Refactor readers to reduce surface area #1975
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
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
a648591
Refactor readers to reduce surface area
darrelmiller c9b01cb
Moved load external references
darrelmiller 634cb1c
Merge remote-tracking branch 'origin/vnext' into mk/fix-json-reader
MaggieKimani1 1464e2c
Move load methods to be adjacent
MaggieKimani1 e588377
Async over sync
MaggieKimani1 47e3e25
refactor code
MaggieKimani1 8521082
Use the provided format in hidi options
MaggieKimani1 99a80b9
Clean up tests; refactor to use async
MaggieKimani1 627d75b
Dispose stream
MaggieKimani1 46718f0
clean up and dispose stream if specified in the settings
MaggieKimani1 bd64612
Update public API
MaggieKimani1 a2f70ae
Leave stream open if specified in settings
MaggieKimani1 8bbb3dd
Guard against null references
MaggieKimani1 cecf011
code cleanup
MaggieKimani1 be3bbf5
Update public API
MaggieKimani1 408e793
remove extra semi-colon and commented out code
MaggieKimani1 7acdf9b
Remove unnecessary using
MaggieKimani1 dc25f9e
Inspect string input's format if not explicitly provided
MaggieKimani1 63ab53f
Remove unnecessary using and whitespace
MaggieKimani1 d022fa4
Remove unnecessary using
MaggieKimani1 04af1a6
Make format optional; add logic for inspecting stream format
MaggieKimani1 86b70c9
code cleanup
MaggieKimani1 dd80ab7
Update public API
MaggieKimani1 2c2bbe6
chore: code fixes recommended by sonarqube
baywet 3665930
Update src/Microsoft.OpenApi.Readers/OpenApiYamlReader.cs
MaggieKimani1 5ca061b
Update src/Microsoft.OpenApi/Models/OpenApiDocument.cs
MaggieKimani1 e8c76db
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 a66e21b
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 4198c82
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 0836e97
chore: code linting
baywet a5e1057
Update src/Microsoft.OpenApi/Reader/OpenApiJsonReader.cs
MaggieKimani1 01e4f49
chore: adds missing defensive programming and passes settings when re…
baywet d1aedb4
Merge branch 'mk/fix-json-reader' of https://github.com/microsoft/Ope…
baywet 07ab67a
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 3123cb7
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 ab2ddf0
fix: default settings in case of null value
baywet 87ce841
Merge branch 'mk/fix-json-reader' of https://github.com/microsoft/Ope…
baywet 3154d45
Merge branch 'vnext' into mk/fix-json-reader
MaggieKimani1 955f7fb
Fix issues from resolving merge conflicts
MaggieKimani1 a4933ef
Update input doc comments
MaggieKimani1 538d2eb
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 f879452
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 aac99fe
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 e3049a6
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 8a17bf2
Update src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs
MaggieKimani1 c944a31
Defensive programming; pass cancellation token
MaggieKimani1 66cc6e0
Merge remote-tracking branch 'origin/mk/fix-json-reader' into mk/fix-…
MaggieKimani1 47dca99
Code cleanup and fix tests
MaggieKimani1 e243f4e
simplify tuple variables
MaggieKimani1 28e1ecd
Update public API
MaggieKimani1 56742b9
Dispose stream in caller method
MaggieKimani1 ee63758
Abstract implementation detail from interface
MaggieKimani1 7270a89
Dispose preparedStream properly
MaggieKimani1 b033b76
Pass cancellation token
MaggieKimani1 c24d670
Update API
MaggieKimani1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.