Closed zacharyburkett closed 2 years ago
Update: this actually occurs for all validation erros in the middleware.
My team at work is going to take this in a week or two. We'll be using it as a learning experience for the other devs, and to get them involved in goapi-gen
Currently when security requirements fail when using the validation middleware the response content type is always text/plain. We should allow developers to specify a content type, and possibly other options (such as error messages) when security validations fail.