Skip to content

Commit 240d10e

Browse files
committed
Add contact information in the API documentation
- Adds contact information in the API documentation for node. - Update title on the API documentation.
1 parent 1520378 commit 240d10e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/Features/Blockcore.Features.Api/ConfigureSwaggerOptions.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,14 @@ private static OpenApiInfo CreateInfoForApiVersion(ApiVersionDescription descrip
6464
{
6565
var info = new OpenApiInfo()
6666
{
67-
Title = "Stratis Node API",
67+
Title = "Blockcore Node API",
6868
Version = description.ApiVersion.ToString(),
69-
Description = "Access to the Stratis Node's core features."
69+
Description = "Access to the Blockcore Node features.",
70+
Contact = new OpenApiContact
71+
{
72+
Name = "Blockcore",
73+
Url = new Uri("https://www.blockcore.net/")
74+
}
7075
};
7176

7277
if (info.Version.Contains("dev"))

0 commit comments

Comments
 (0)