nswag openapi add a global return type for a specific response code
Hey, I have an API that has routes which are defined like below; but I return some 401s and others via middleware, is there a way to say that all routes could return a specific response type using openAPI?
4 Replies