aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Endpoints/V1/ApiSpecV1.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/api/src/Endpoints/V1/ApiSpecV1.cs')
-rw-r--r--code/api/src/Endpoints/V1/ApiSpecV1.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/code/api/src/Endpoints/V1/ApiSpecV1.cs b/code/api/src/Endpoints/V1/ApiSpecV1.cs
index e4f9cc9..7a54eb0 100644
--- a/code/api/src/Endpoints/V1/ApiSpecV1.cs
+++ b/code/api/src/Endpoints/V1/ApiSpecV1.cs
@@ -2,17 +2,17 @@ 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";
+ 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
- }
- };
-}
+ 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
+ }
+ };
+} \ No newline at end of file