Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Validate mock input data #138

Open
fornwall opened this issue Mar 16, 2020 · 0 comments
Open

Validate mock input data #138

fornwall opened this issue Mar 16, 2020 · 0 comments

Comments

@fornwall
Copy link
Contributor

We should validate input data to the mock, so that if called with incorrect data not obeying the schema we

  • Return a good HTTP response code (perhaps a 5xx one).
  • Give a descriptive error message in the HTTP response.
  • Log a descriptive error message.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant