mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Add OpenAPI license and contact
This commit is contained in:
@@ -128,7 +128,17 @@ namespace Tgstation.Server.Host.Core
|
||||
new OpenApiInfo
|
||||
{
|
||||
Title = "TGS API",
|
||||
Version = ApiHeaders.Version.Semver().ToString()
|
||||
Version = ApiHeaders.Version.Semver().ToString(),
|
||||
License = new OpenApiLicense
|
||||
{
|
||||
Name = "AGPL-3.0",
|
||||
Url = new Uri("https://github.com/tgstation/tgstation-server/blob/dev/LICENSE")
|
||||
},
|
||||
Contact = new OpenApiContact
|
||||
{
|
||||
Name = "/tg/station 13",
|
||||
Url = new Uri("https://github.com/tgstation")
|
||||
}
|
||||
});
|
||||
|
||||
// Important to do this before applying our own filters
|
||||
|
||||
Reference in New Issue
Block a user