Skip to content

Commit a689c36

Browse files
committed
Copy over extensions object to new document
1 parent dbd8d92 commit a689c36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Microsoft.OpenApi/Services/OpenApiFilterService.cs

Lines changed: 3 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;
@@ -60,7 +60,8 @@ public static OpenApiDocument CreateFilteredDocument(OpenApiDocument source, Fun
6060
TermsOfService = source.Info.TermsOfService,
6161
Contact = source.Info.Contact,
6262
License = source.Info.License,
63-
Version = source.Info.Version
63+
Version = source.Info.Version,
64+
Extensions = source.Info.Extensions
6465
},
6566

6667
Components = new OpenApiComponents()

0 commit comments

Comments
 (0)