-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Bump AJV to v8 #713
Merged
Merged
Bump AJV to v8 #713
Changes from 43 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
95f635c
try upgrading to OAPIv3.1
5f9e3cd
Merge branch 'master' into ajvV8
JacobLey 7f13a14
Remove 3.1-support related files
JacobLey 2507329
Const typings on formats
JacobLey c201f65
Set _discriminator as non-enumerable
JacobLey 3f4bc1a
Refactor `x-eov-serdes` to ensure order of validation
JacobLey 2b06654
Update AJV options handling
JacobLey 6bc5ce4
Update read/write only keywords
JacobLey 5bd09d7
Add noop keywords
JacobLey c09e11a
Use AJV Draft 4 to validate OpenAPI doc
JacobLey ec9cf15
Use `must` keyword to match AJV validations
JacobLey bb092d4
Expected validation errors prefer `must` over `should`, `/` over `.`
JacobLey 8790c22
Update README to reflect expected validation errors
JacobLey 1c3a774
Explicitly pass formats to ignore
JacobLey c85c40e
Serdes validation errors contain more errors
JacobLey 4117df7
Update example with expected AJV errors
JacobLey dc27f9d
Drop noisy test logs
JacobLey d828c16
Restore previous `Format` version
JacobLey 764c727
Add failing tests for undeclared x-* keywords
JacobLey bce2cb2
Detect `x-*` prefixes and declare as noop for Ajv
JacobLey 06efc3e
Update README to declare reserved vendor extension prefix
JacobLey d85b894
readOnly+writeOnly do not modify, and do attach errors
JacobLey e17f2ff
Remove test enforcing `x-eov-*` usage
JacobLey 0e0b08e
Rely on strictSchema=false to handle unknown keywords
JacobLey eef091e
Explicitly pass strict=false to response validator test
JacobLey d2480ef
Add types to serdes validator, auto-true if missing method
JacobLey d24edd7
Rework serdes schema processor
JacobLey 297b991
Update serdes test to reflect simpler validation messages
JacobLey 0f59997
Consistent usage of / over . for json path
JacobLey e3a37f7
Add `eov` prefix to unknown query parameters flag
JacobLey 4f56d9d
Create "normalized options" type that has stricter format
JacobLey be28f24
Set defaults in one place
JacobLey 56a6b87
Add warnings for deprecated usage of options
JacobLey b812807
Move options handling to `normalizeOptions`, add `ajvFormats` option
JacobLey 61b5868
Update README to reflect new options behavior
JacobLey ed123ce
Merge branch 'master' into ajvV8
JacobLey 50b1e43
Consistent `/` over `.`
JacobLey 1e4b9b1
Remove unnecessary serDesInternal check
JacobLey 992cde0
Add `anyOf` test with serdes, expose all relevant errors
JacobLey 10e3d50
Simplify format overriding by applying in order, remove constant
JacobLey dd9793c
Move redactable error to common types file
JacobLey 76eb208
Tweak error redacting to only expose most relevant
JacobLey 1938497
Refactor serdes (again...) to use keyword execution order
JacobLey 56075cc
v4.14.0-beta.1
cdimascio 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implied by
ajv-draft-04