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 a127105 commit c4b08d2Copy full SHA for c4b08d2
src/OpenApi/src/Services/Schemas/OpenApiSchemaService.cs
@@ -66,7 +66,7 @@ internal sealed class OpenApiSchemaService(
66
{
67
[OpenApiSchemaKeywords.TypeKeyword] = "string",
68
[OpenApiSchemaKeywords.FormatKeyword] = "binary",
69
- [OpenApiConstants.SchemaId] = type == typeof(FileContentResult) ? "FileContentResult" : "IFormFile"
+ [OpenApiConstants.SchemaId] = GetBinarySchemaId(type)
70
};
71
}
72
else if (type == typeof(IFormFileCollection))
0 commit comments