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 df65299 commit 9b8e16bCopy full SHA for 9b8e16b
src/Microsoft.OpenApi/Models/OpenApiOperation.cs
@@ -255,7 +255,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
255
{
256
var paramName = property.Key;
257
var paramSchema = property.Value;
258
- if (paramSchema.Type == "string" && paramSchema.Format == "binary" || paramSchema.Format == "base64") {
+ if (paramSchema.Type == "string" && (paramSchema.Format == "binary" || paramSchema.Format == "base64")) {
259
paramSchema.Type = "file";
260
paramSchema.Format = null;
261
}
0 commit comments