We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2f839 commit cce993fCopy full SHA for cce993f
src/OpenApi/src/Services/Schemas/OpenApiSchemaService.cs
@@ -60,7 +60,7 @@ internal sealed class OpenApiSchemaService(
60
{
61
var type = context.TypeInfo.Type;
62
// Fix up schemas generated for IFormFile, IFormFileCollection, Stream, PipeReader,
63
- // FileContentResult, FileStreamResult, FileContentHttpResult and FileContentHttpResult
+ // FileContentResult, FileStreamResult, FileContentHttpResult and FileStreamHttpResult
64
// that appear as properties within complex types.
65
if (type == typeof(IFormFile) || type == typeof(Stream) || type == typeof(PipeReader)
66
|| type == typeof(Mvc.FileContentResult) || type == typeof(Mvc.FileStreamResult) || type == typeof(FileContentHttpResult) || type == typeof(FileStreamHttpResult))
0 commit comments