Skip to content

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
This was referenced Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content-type specified in ProducesResponseTypeAttribute is not in generated openapi document Support content type from ProducesResponseTypeAttribute

2 participants