Skip to content

Commit f8341bb

Browse files
committed
chore: clean up
1 parent f76d528 commit f8341bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.OpenApi/Models/OpenApiParameter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
using System;
@@ -270,7 +270,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
270270
// deprecated
271271
writer.WriteProperty(OpenApiConstants.Deprecated, Deprecated, false);
272272

273-
var extensionsClone = Extensions is not null ? new Dictionary<string, IOpenApiExtension>(Extensions) : null;
273+
var extensionsClone = Extensions is not null ? new OpenApiExtensionDictionary(Extensions) : null;
274274

275275
// schema
276276
WriteRequestBodySchemaForV2(writer, extensionsClone);

0 commit comments

Comments
 (0)