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 7637861 commit 7c9fac2Copy full SHA for 7c9fac2
src/Microsoft.OpenApi/Models/OpenApiParameter.cs
@@ -377,7 +377,7 @@ public void SerializeAsV2WithoutReference(IOpenApiWriter writer)
377
// allowEmptyValue
378
writer.WriteProperty(OpenApiConstants.AllowEmptyValue, AllowEmptyValue, false);
379
380
- if (this.In == ParameterLocation.Query)
+ if (this.In == ParameterLocation.Query && Schema?.Type == "array")
381
{
382
if (this.Style == ParameterStyle.Form && this.Explode == true)
383
0 commit comments