Skip to content

Commit 27ab7f7

Browse files
committed
Copy over all Info properties
1 parent 3f3dae0 commit 27ab7f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Microsoft.OpenApi/Services/OpenApiFilterService.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ public static OpenApiDocument CreateFilteredDocument(OpenApiDocument source, Fun
5959
{
6060
Info = new OpenApiInfo()
6161
{
62-
Title = source.Info.Title + " - subset",
62+
Title = source.Info.Title + " - Subset",
63+
Description = source.Info.Description,
64+
TermsOfService = source.Info.TermsOfService,
65+
Contact = source.Info.Contact,
66+
License = source.Info.License,
6367
Version = source.Info.Version
6468
},
6569

0 commit comments

Comments
 (0)