Skip to content

Commit 24dc7dc

Browse files
fix: this commit introduces license information to open api specification
1 parent a6a0527 commit 24dc7dc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Source/Vinder.Federation.WebApi/Extensions/OpenApiExtension.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public static void AddOpenApiSpecification(this IServiceCollection services)
5757
Url = new Uri("https://github.com/vinder-io/vinder.identity.provider")
5858
};
5959

60+
document.Info.License = new OpenApiLicense
61+
{
62+
Name = "MIT",
63+
Url = new Uri("https://github.com/vinder-io/vinder.identity.provider/blob/master/LICENSE")
64+
};
65+
6066
return Task.CompletedTask;
6167
});
6268
});

0 commit comments

Comments
 (0)