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
When controllers are configured to use Camel Case for JSON Serialization, it correctly returns the data, but when an exception is thrown, the properties under errors are returned with Pascal Case convention.
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Invalid city. Please correct the errors and try again.",
"status": 400,
"errors": {
"Name": [
"Text is required"
],
"CreatedDate": [
"Date is required",
"Date is not recent"
],
"CreatedByUser": [
"Text is required"
],
"UpdatedDate": [
"Date is required"
],
"UpdatedByUser": [
"Text is required"
]
}
}
The text was updated successfully, but these errors were encountered:
When controllers are configured to use Camel Case for JSON Serialization, it correctly returns the data, but when an exception is thrown, the properties under errors are returned with Pascal Case convention.
The text was updated successfully, but these errors were encountered: