-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Fix supressed validation error causing options to not be scrubbed (#β¦
β¦853) * π Fix supressed validation error causing option to not be scrubbed For `allOf`, `anyOf`, and `oneOf`, errors are surpressed since the real error will typically bubble from one of the nested schemas. However, if those nested schemas are simple primative types, there is no additional error. And without an error the validation logic does not scrub the option. This change fixes the issue by adding explicit errors for two of these schemas. In addition, the execute option was relocated so additional snapshots are not allowed to use an object (only a single execute function is allowed for additional snapshots).
- Loading branch information
Showing
2 changed files
with
23 additions
and
15 deletions.
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