diff --git a/build/Version.props b/build/Version.props
index 90ae43c543..200291b706 100644
--- a/build/Version.props
+++ b/build/Version.props
@@ -3,7 +3,7 @@
4.1.0
- 5.0.0
+ 5.0.1
5.0.0
5.0.0
0.1.6
diff --git a/src/Tgstation.Server.Host/Core/SwaggerConfiguration.cs b/src/Tgstation.Server.Host/Core/SwaggerConfiguration.cs
index cfefb257fc..694ccec5b0 100644
--- a/src/Tgstation.Server.Host/Core/SwaggerConfiguration.cs
+++ b/src/Tgstation.Server.Host/Core/SwaggerConfiguration.cs
@@ -11,6 +11,7 @@ using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Controllers;
+using Tgstation.Server.Host.Extensions;
namespace Tgstation.Server.Host.Core
{
@@ -121,7 +122,7 @@ namespace Tgstation.Server.Host.Core
new OpenApiInfo
{
Title = "TGS API",
- Version = "v4"
+ Version = ApiHeaders.Version.Semver()
});
// Important to do this before applying our own filters
diff --git a/src/Tgstation.Server.Host/Extensions/VersionExtensions.cs b/src/Tgstation.Server.Host/Extensions/VersionExtensions.cs
new file mode 100644
index 0000000000..1507340fb7
--- /dev/null
+++ b/src/Tgstation.Server.Host/Extensions/VersionExtensions.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace Tgstation.Server.Host.Extensions
+{
+ ///
+ /// Extensions for the .
+ ///
+ static class VersionExtensions
+ {
+ ///
+ /// Converts a given into a semver .
+ ///
+ /// The to convert.
+ /// A semver base on .
+ public static string Semver(this Version version)
+ {
+ if (version == null)
+ throw new ArgumentNullException(nameof(version));
+
+ return $"{version.Major}.{version.Minor}.{version.Build}";
+ }
+ }
+}