diff --git a/Endpoint/Configuration/ApplicationConfiguration/ApiVersioningConfiguration.cs b/Endpoint/Configuration/ApplicationConfiguration/ApiVersioningConfiguration.cs
index f6abe4b..f92706e 100644
--- a/Endpoint/Configuration/ApplicationConfiguration/ApiVersioningConfiguration.cs
+++ b/Endpoint/Configuration/ApplicationConfiguration/ApiVersioningConfiguration.cs
@@ -1,5 +1,4 @@
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Mvc.Versioning;
+using Asp.Versioning;
using Microsoft.Extensions.DependencyInjection;
namespace Mirea.Api.Endpoint.Configuration.ApplicationConfiguration;
@@ -14,14 +13,10 @@ public static class ApiVersioningConfiguration
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
options.ApiVersionReader = new UrlSegmentApiVersionReader();
- });
-
- services.AddVersionedApiExplorer(options =>
+ }).AddApiExplorer(options =>
{
options.GroupNameFormat = "'v'VVV";
options.SubstituteApiVersionInUrl = true;
});
-
- services.AddEndpointsApiExplorer();
}
}
\ No newline at end of file
diff --git a/Endpoint/Configuration/ApplicationConfiguration/SwaggerConfiguration.cs b/Endpoint/Configuration/ApplicationConfiguration/SwaggerConfiguration.cs
index ad13435..74a0e7f 100644
--- a/Endpoint/Configuration/ApplicationConfiguration/SwaggerConfiguration.cs
+++ b/Endpoint/Configuration/ApplicationConfiguration/SwaggerConfiguration.cs
@@ -1,5 +1,5 @@
-using Microsoft.AspNetCore.Builder;
-using Microsoft.AspNetCore.Mvc.ApiExplorer;
+using Asp.Versioning.ApiExplorer;
+using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
diff --git a/Endpoint/Configuration/SwaggerOptions/ConfigureSwaggerOptions.cs b/Endpoint/Configuration/SwaggerOptions/ConfigureSwaggerOptions.cs
index 40f302b..09520fa 100644
--- a/Endpoint/Configuration/SwaggerOptions/ConfigureSwaggerOptions.cs
+++ b/Endpoint/Configuration/SwaggerOptions/ConfigureSwaggerOptions.cs
@@ -1,4 +1,4 @@
-using Microsoft.AspNetCore.Mvc.ApiExplorer;
+using Asp.Versioning.ApiExplorer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
diff --git a/Endpoint/Controllers/Configuration/SetupController.cs b/Endpoint/Controllers/Configuration/SetupController.cs
index a7c1643..a0beff6 100644
--- a/Endpoint/Controllers/Configuration/SetupController.cs
+++ b/Endpoint/Controllers/Configuration/SetupController.cs
@@ -1,4 +1,5 @@
-using Cronos;
+using Asp.Versioning;
+using Cronos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Data.Sqlite;
diff --git a/Endpoint/Controllers/V1/AuthController.cs b/Endpoint/Controllers/V1/AuthController.cs
index 9ee7f7d..e07868a 100644
--- a/Endpoint/Controllers/V1/AuthController.cs
+++ b/Endpoint/Controllers/V1/AuthController.cs
@@ -1,4 +1,5 @@
-using Microsoft.AspNetCore.Authorization;
+using Asp.Versioning;
+using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
diff --git a/Endpoint/Controllers/V1/CampusController.cs b/Endpoint/Controllers/V1/CampusController.cs
index a5dce32..c0f22f9 100644
--- a/Endpoint/Controllers/V1/CampusController.cs
+++ b/Endpoint/Controllers/V1/CampusController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.Campus.Queries.GetCampusBasicInfoList;
diff --git a/Endpoint/Controllers/V1/DisciplineController.cs b/Endpoint/Controllers/V1/DisciplineController.cs
index 7ab686a..d0528aa 100644
--- a/Endpoint/Controllers/V1/DisciplineController.cs
+++ b/Endpoint/Controllers/V1/DisciplineController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.Discipline.Queries.GetDisciplineDetails;
diff --git a/Endpoint/Controllers/V1/FacultyController.cs b/Endpoint/Controllers/V1/FacultyController.cs
index 7d71fd1..6e0ffda 100644
--- a/Endpoint/Controllers/V1/FacultyController.cs
+++ b/Endpoint/Controllers/V1/FacultyController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.Faculty.Queries.GetFacultyDetails;
diff --git a/Endpoint/Controllers/V1/GroupController.cs b/Endpoint/Controllers/V1/GroupController.cs
index fe6f079..d0daa28 100644
--- a/Endpoint/Controllers/V1/GroupController.cs
+++ b/Endpoint/Controllers/V1/GroupController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.Group.Queries.GetGroupDetails;
diff --git a/Endpoint/Controllers/V1/LectureHallController.cs b/Endpoint/Controllers/V1/LectureHallController.cs
index a5e62ba..d8fb077 100644
--- a/Endpoint/Controllers/V1/LectureHallController.cs
+++ b/Endpoint/Controllers/V1/LectureHallController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.LectureHall.Queries.GetLectureHallDetails;
diff --git a/Endpoint/Controllers/V1/ProfessorController.cs b/Endpoint/Controllers/V1/ProfessorController.cs
index 7e3d8b6..46b1794 100644
--- a/Endpoint/Controllers/V1/ProfessorController.cs
+++ b/Endpoint/Controllers/V1/ProfessorController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mirea.Api.DataAccess.Application.Cqrs.Professor.Queries.GetProfessorDetails;
diff --git a/Endpoint/Controllers/V1/ScheduleController.cs b/Endpoint/Controllers/V1/ScheduleController.cs
index c4a5941..109e61e 100644
--- a/Endpoint/Controllers/V1/ScheduleController.cs
+++ b/Endpoint/Controllers/V1/ScheduleController.cs
@@ -1,4 +1,5 @@
-using MediatR;
+using Asp.Versioning;
+using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
diff --git a/Endpoint/Endpoint.csproj b/Endpoint/Endpoint.csproj
index 946a6fa..06b626c 100644
--- a/Endpoint/Endpoint.csproj
+++ b/Endpoint/Endpoint.csproj
@@ -5,9 +5,9 @@
disable
enable
Winsomnia
- 1.0.0-rc0
- 1.0.2.0
- 1.0.2.0
+ 1.0.0-rc1
+ 1.0.2.1
+ 1.0.2.1
Mirea.Api.Endpoint
$(AssemblyName)
Exe
@@ -22,22 +22,38 @@
+
+
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
-
+
+
+
+
+
+
diff --git a/SqlData/Application/Application.csproj b/SqlData/Application/Application.csproj
index 9c7f6dd..889c41c 100644
--- a/SqlData/Application/Application.csproj
+++ b/SqlData/Application/Application.csproj
@@ -5,17 +5,17 @@
disable
enable
Winsomnia
- 1.0.0
- 1.0.3.0
- 1.0.3.0
+ 1.0.1
+ 1.0.3.1
+ 1.0.3.1
Mirea.Api.DataAccess.Application
$(AssemblyName)
-
-
-
+
+
+