I am having the same problem with validations with FastAPI. Django Rest Framework is doing a great job with this, example:
{ "name": ["This field is required."] }
Did you found any solution for better formating of validation errors in FastAPI?
Hello Mirza, I haven't really looked into it. But you can look into this GitHub thread: github.com/tiangolo/fastapi/issues...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am having the same problem with validations with FastAPI.
Django Rest Framework is doing a great job with this, example:
Did you found any solution for better formating of validation errors in FastAPI?
Hello Mirza,
I haven't really looked into it. But you can look into this GitHub thread:
github.com/tiangolo/fastapi/issues...