Skip to content

Add allErrors to validate request/response options#1

Merged
cdimascio merged 1 commit intocdimascio:mainfrom
CSNW:allerrors
Aug 31, 2024
Merged

Add allErrors to validate request/response options#1
cdimascio merged 1 commit intocdimascio:mainfrom
CSNW:allerrors

Conversation

@mdmower-csnw
Copy link
Copy Markdown
Contributor

  • Include usage notes and schema for allErrors property in validateRequests and validateResponses.
  • Minor typo fixes.

- Include usage notes and schema for `allErrors` property in
  validateRequests and validateResponses.
- Minor typo fixes.
Copy link
Copy Markdown
Contributor Author

@mdmower-csnw mdmower-csnw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cdimascio - obviously, feel free to edit this PR as much as you like, but I specifically called out two lines that have versions which you should review and update as needed. Thanks!


- ### `allErrors`

> This option was introduced in version 5.4.0, where the default behavior of request validation was changed to stop after the first failure.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update version


- ### `allErrors`

> This option was introduced in version 5.4.0, where the default behavior of response validation was changed to stop after the first failure.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update version

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.

2 participants