blob: 7a54eb0c6c86bc5107022ed4c74ae5be331a0cc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
}
};
}
|