From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 5 Oct 2022 20:45:21 +0800 Subject: refactor: Change file structure --- server/src/Endpoints/V1/ApiSpecV1.cs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 server/src/Endpoints/V1/ApiSpecV1.cs (limited to 'server/src/Endpoints/V1/ApiSpecV1.cs') diff --git a/server/src/Endpoints/V1/ApiSpecV1.cs b/server/src/Endpoints/V1/ApiSpecV1.cs deleted file mode 100644 index e4f9cc9..0000000 --- a/server/src/Endpoints/V1/ApiSpecV1.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace IOL.GreatOffice.Api.Endpoints.V1; - -public static class ApiSpecV1 -{ - private const int MAJOR = 1; - private const int MINOR = 0; - public const string VERSION_STRING = "1.0"; - - public static ApiSpecDocument Document => new() { - Version = new ApiVersion(MAJOR, MINOR), - VersionName = VERSION_STRING, - SwaggerPath = $"/swagger/{VERSION_STRING}/swagger.json", - OpenApiInfo = new OpenApiInfo { - Title = AppConstants.API_NAME, - Version = VERSION_STRING - } - }; -} -- cgit v1.3