You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the error {"errors":[{"source":{"pointer":"/data/type"},"title":"is not valid: \"my_type1\""}]} I have no clues which are the valid values, which would be nice to print in case of an enum so it's easier to find out what error one did when specifying the endpoint in the openapi.yaml
The text was updated successfully, but these errors were encountered:
Hi @johannesluedke! Thanks for the issue.
What do you think about this change? It changes the error to something like:
{
"errors": [
{
"source": {
"pointer": "/type"
},
"title": "value \"unknown-type\" is not defined in enum",
"detail": "value can be one of pet, plan"
}
]
}
In the error
{"errors":[{"source":{"pointer":"/data/type"},"title":"is not valid: \"my_type1\""}]}
I have no clues which are the valid values, which would be nice to print in case of an enum so it's easier to find out what error one did when specifying the endpoint in the openapi.yamlThe text was updated successfully, but these errors were encountered: