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 27059b9 commit 256d0c1Copy full SHA for 256d0c1
src/Microsoft.OpenApi/Reader/V2/OpenApiParameterDeserializer.cs
@@ -75,7 +75,7 @@ internal static partial class OpenApiV2Deserializer
75
{
76
var schema = GetOrCreateSchema(o);
77
schema.Type = type.ToJsonSchemaType();
78
- if (type.Equals("file"))
+ if ("file".Equals(type, StringComparison.OrdinalIgnoreCase))
79
80
schema.Format = "binary";
81
}
0 commit comments