-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Examples should allow error results #363
Labels
good first issue
Good for newcomers
Comments
Since all result & param reference |
Should you be able to ref an ErrorObject? ie: {
"name": "examplepair",
"params": [...],
"error": { "$ref": "components/errors/bigbad" }
} |
Should it be the same as the others, use ExampleObject.value and provide the whole error object? {
"name": "examplepair",
"params": [...],
"error": {
"name": "big bad example",
"value": {
"code": 404,
"message": "dog ate homework",
"data": {}
}
}
} |
either? |
hm maybe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would also make automated testing tools able to test against failing cases.
The text was updated successfully, but these errors were encountered: