From 0744c88e0e86f24650be604c12eb5f2fa6489f88 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Fri, 13 Sep 2024 16:50:19 -0400 Subject: [PATCH] Fix semver type specification --- src/Tgstation.Server.Host/GraphQL/Types/Scalars/SemverType.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/GraphQL/Types/Scalars/SemverType.cs b/src/Tgstation.Server.Host/GraphQL/Types/Scalars/SemverType.cs index 76fbb55eed..bd07aad71f 100644 --- a/src/Tgstation.Server.Host/GraphQL/Types/Scalars/SemverType.cs +++ b/src/Tgstation.Server.Host/GraphQL/Types/Scalars/SemverType.cs @@ -2,6 +2,7 @@ using HotChocolate.Language; using HotChocolate.Types; + using Tgstation.Server.Common.Extensions; namespace Tgstation.Server.Host.GraphQL.Types.Scalars @@ -17,7 +18,8 @@ namespace Tgstation.Server.Host.GraphQL.Types.Scalars public SemverType() : base("Semver") { - Description = "Represents a version in semver format as defined by https://semver.org/spec/v2.0.0.html"; + Description = "Represents a version in semantic versioning format"; + SpecifiedBy = new Uri("https://semver.org/spec/v2.0.0.html"); } ///