Skip to content
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

Change the model validation errors output #24

Open
Tolkie opened this issue Apr 25, 2021 · 1 comment
Open

Change the model validation errors output #24

Tolkie opened this issue Apr 25, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Tolkie
Copy link
Collaborator

Tolkie commented Apr 25, 2021

Current output looks like
{ "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1", "title": "One or more validation errors occurred.", "status": 400, "traceId": "00-b639e7886ee9044090af6bd072b5237d-11188e924e2fd748-00", "errors": { "LastName": [ "The LastName field is required." ] } }
We should remove the type and traceId fields.

@Tolkie Tolkie added the enhancement New feature or request label Apr 25, 2021
@Tolkie Tolkie changed the title Change the model validation errors outpu Change the model validation errors output Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant