Skip to content

Commit c4b08d2

Browse files
shethaaditCopilot
andauthored
Update src/OpenApi/src/Services/Schemas/OpenApiSchemaService.cs
Co-authored-by: Copilot <[email protected]>
1 parent a127105 commit c4b08d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/src/Services/Schemas/OpenApiSchemaService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ internal sealed class OpenApiSchemaService(
6666
{
6767
[OpenApiSchemaKeywords.TypeKeyword] = "string",
6868
[OpenApiSchemaKeywords.FormatKeyword] = "binary",
69-
[OpenApiConstants.SchemaId] = type == typeof(FileContentResult) ? "FileContentResult" : "IFormFile"
69+
[OpenApiConstants.SchemaId] = GetBinarySchemaId(type)
7070
};
7171
}
7272
else if (type == typeof(IFormFileCollection))

0 commit comments

Comments
 (0)