We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If someone tried to use the API to figure out what was wrong with this request, they'd be completely stuck:
$ echo '{"name": "Test", "jobDefinition": "lol", "validation": {"schema": {}}}' | http :8080/api/models HTTP/1.1 400 Bad Request Content-Length: 23 Content-Type: text/plain; charset=UTF-8 Date: Mon, 16 Mar 2020 15:29:04 GMT Invalid value for: body
You get an identical unhelpful response for bad data types, e.g., if you include jobQueue: 3:
jobQueue: 3
$ echo '{"name": "Test", "jobDefinition": "lol", "jobQueue": 3, "validation": {"schema": {}}}' | http :8080/api/models 481ms HTTP/1.1 400 Bad Request Content-Length: 23 Content-Type: text/plain; charset=UTF-8 Date: Mon, 16 Mar 2020 15:28:24 GMT Invalid value for: body
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If someone tried to use the API to figure out what was wrong with this request, they'd be completely stuck:
You get an identical unhelpful response for bad data types, e.g., if you include
jobQueue: 3
:The text was updated successfully, but these errors were encountered: