blob: e4f9cc97669c140b2ed431921276d170406a3321 (
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
}
};
}
|