-
Notifications
You must be signed in to change notification settings - Fork 279
Add webhooks property to the root document #1046
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
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f6cc9d8
Add webhooks property to OpenAPI document
MaggieKimani1 0678365
Deep copy the webhooks object in the copy constructor
MaggieKimani1 5bb8f44
Add serialization for the webhooks property
MaggieKimani1 7479780
Add logic to deserialize the webhooks property
MaggieKimani1 43e165c
Clean up project references
MaggieKimani1 9efc130
Add pathItem reference type and webhooks constant
MaggieKimani1 c79a4f9
Adds tests
MaggieKimani1 103f123
Adds 3.1 as a valid input OpenAPI version
MaggieKimani1 624bd0c
Adds a walker to visit the webhooks object and its child elements
MaggieKimani1 7a14575
Update the validation rule to exclude paths as a required field accor…
MaggieKimani1 8d004ff
Revert change
MaggieKimani1 149175c
Update test with correct property type
MaggieKimani1 17b1c2d
Add the validation for Paths as a required field in 3.0 during parsing
MaggieKimani1 c79bd11
Update spec version
MaggieKimani1 b7e3e48
Add more validation for empty paths and missing paths/webhooks for 3.1
MaggieKimani1 846fb0e
Use Any() instead of count
MaggieKimani1 2299117
Code clean up
MaggieKimani1 21e19a0
Add negation operator
MaggieKimani1 6152336
Change reference type to pathItem
MaggieKimani1 86594a8
Reuse LoadPaths() logic to avoid creating a root reference object in …
MaggieKimani1 243eb23
Update test
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
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
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.
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.