Skip to content
New issue

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

Fix handling of FileResult's with content types #2841

Conversation

IGx89
Copy link
Contributor

@IGx89 IGx89 commented Apr 26, 2024

When ProducesResponseType is used with FileResult subclasses and explicit content types, ApiExplorer sets ModelMetadata to null. We were then erroneously treating it as returning no content.

Resolves #2320
Resolves #2386

When ProducesResponseType is used with FileResult subclasses and explicit content types, ApiExplorer sets ModelMetadata to null. We were then erroneously treating it as returning no content.
Resolves domaindrivendev#2320, domaindrivendev#2386
@martincostello martincostello added this to the v6.6.0 milestone Apr 29, 2024
@martincostello martincostello merged commit 713c8e5 into domaindrivendev:master Apr 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants