Add errors to FailedResponseBodyJson
kevin-lee opened this issue · comments
Kevin Lee commented
Task
Summary
Add errors
to FailedResponseBodyJson
. It will be available in the UnprocessableEntity
error.
Project Details
Version: 2.15.0
Description
So the new FailedResponseBodyJson
should be able to contain all the fields from the following JSON.
{
"message": "Validation Failed",
"errors": [
{
"code": "already_exists",
"field": "tag_name",
"resource": "Release"
}
],
"documentation_url": "https://docs.github.com/rest/reference/repos#create-a-release"
}