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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user