blob: c1d1cbf91fc68462c0856a7994fec27045bc7f0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
namespace IOL.BookmarkThing.Server.Api.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 = Constants.API_NAME,
Version = VERSION_STRING
}
};
}
|