case 4586 - fuck it, everything is interdependent, just went for it, mostly buildable just reporting to fixup then testing after this

This commit is contained in:
2024-05-09 22:56:53 +00:00
parent 7f048a7666
commit 87a4946500
75 changed files with 217 additions and 212 deletions

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Asp.Versioning.ApiExplorer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore;
@@ -197,14 +197,12 @@ namespace AyaNova
#region Swagger
services
.AddApiVersioning(options =>
services.AddApiVersioning(options =>
{
options.AssumeDefaultVersionWhenUnspecified = true;
options.DefaultApiVersion = Microsoft.AspNetCore.Mvc.ApiVersion.Parse("8.0");
options.DefaultApiVersion = new Asp.Versioning.ApiVersion(8, 0);// Asp.Versioning.ApiVersion..Parse("8.0");
options.ReportApiVersions = true;
});
services.AddVersionedApiExplorer(options =>
}).AddApiExplorer(options =>
{
// add the versioned api explorer, which also adds IApiVersionDescriptionProvider service