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 f76d528 commit f8341bbCopy full SHA for f8341bb
src/Microsoft.OpenApi/Models/OpenApiParameter.cs
@@ -1,4 +1,4 @@
1
-// Copyright (c) Microsoft Corporation. All rights reserved.
+// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT license.
3
4
using System;
@@ -270,7 +270,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
270
// deprecated
271
writer.WriteProperty(OpenApiConstants.Deprecated, Deprecated, false);
272
273
- var extensionsClone = Extensions is not null ? new Dictionary<string, IOpenApiExtension>(Extensions) : null;
+ var extensionsClone = Extensions is not null ? new OpenApiExtensionDictionary(Extensions) : null;
274
275
// schema
276
WriteRequestBodySchemaForV2(writer, extensionsClone);
0 commit comments