We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Say I do this:
public class SwaggerErrorResponseAttribute : SwaggerResponseAttribute { public SwaggerErrorResponseAttribute(HttpStatusCode code) : base(code, type: typeof(Error)) { } }
Then apply that on class or method level, then the UI only shows the first one and that response is not present in swagger.json either.
The text was updated successfully, but these errors were encountered:
.NET bug, reported (and PR submitted): dotnet/coreclr#6240
For a workaround: Just implement GetHashCode and, if needed, Equals to desired behavior.
GetHashCode
Equals
Sorry, something went wrong.
No branches or pull requests
Say I do this:
Then apply that on class or method level, then the UI only shows the first one and that response is not present in swagger.json either.
The text was updated successfully, but these errors were encountered: