I am having issues with ASP.NET Core having custom validation responses different than our custom response object. We have a certain format needed and many of the automatic responses provided are a different format than our own.
For example Validation responses, Ok/BadRequest/NotFound/NoContent, and unsupported media type.
I am curious how to go about this without creating a custom ControllerBase class that overrides all these but am still looking for how to deal with the automatic responses as well.
I still want to keep the automatic responses I just want them to be of my own custom type.