Skip to content
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

Look into response payload validation via schema #23

Open
wpscholar opened this issue Dec 13, 2022 · 4 comments
Open

Look into response payload validation via schema #23

wpscholar opened this issue Dec 13, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@wpscholar
Copy link
Member

Reference the comments on this PR for details: #22

@wpscholar wpscholar added the enhancement New feature or request label Dec 13, 2022
@wpscholar
Copy link
Member Author

This could be a useful library: https://github.com/swaggest/php-json-schema

@wpscholar wpscholar self-assigned this Dec 13, 2022
@wpscholar
Copy link
Member Author

@wpscholar
Copy link
Member Author

Or this: https://github.com/opis/json-schema

@wpscholar
Copy link
Member Author

We could also use the JSON schema in our Cypress tests: https://www.cypress.io/blog/2018/07/10/json-schemas-are-your-true-testing-friend/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant