Our API has a generic error object that can be potentially returned for any
api call. An object describing errors (values) on specific attributes
(keys).
I
# Response
HTTP/1.1 422 Unprocessable Entity
{
"errors": {
"shipping_line": [
"is invalid"
],
"line_items": [
"cannot be empty"
]
}
}
I am having trouble coming up with the correct syntax to capture this
errors object in the api spec. Any input would be appreciated.
https://andrewjtech123.github.io/rebilly-validschema/
regards,
Andrew
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.