Updated to Core 2.1 and now I get this error: `Application startup exception: System.MissingMethodException: Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.IncludeXmlComments(System.String)'.`
VictorioBerra opened this issue · 13 comments
Application startup exception: System.MissingMethodException: Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.IncludeXmlComments(System.String)'.
at Boilerplate.AspNetCore.Swagger.SwaggerGenOptionsExtensions.IncludeXmlCommentsIfExists(SwaggerGenOptions options, String filePath)
at Boilerplate.AspNetCore.Swagger.SwaggerGenOptionsExtensions.IncludeXmlCommentsIfExists(SwaggerGenOptions options, Assembly assembly)
at WuitCMDB.API.ServiceCollectionExtensions.<>c__DisplayClass8_0.<AddSwagger>b__0(SwaggerGenOptions options) in C:\Source\MyApp\ServiceCollectionExtensions.cs:line 192
at Microsoft.Extensions.Options.ConfigureNamedOptions`1.Configure(String name, TOptions options)
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
at Microsoft.Extensions.Options.OptionsManager`1.<>c__DisplayClass5_0.<Get>b__0()
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Microsoft.Extensions.Options.OptionsCache`1.GetOrAdd(String name, Func`1 createOptions)
at Microsoft.Extensions.Options.OptionsManager`1.Get(String name)
at Microsoft.Extensions.Options.OptionsManager`1.get_Value()
at Microsoft.Extensions.DependencyInjection.SwaggerGenServiceCollectionExtensions.CreateSwaggerProvider(IServiceProvider serviceProvider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(IServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass4_0.<UseMiddleware>b__0(RequestDelegate next)
at Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
DevConf [17:30:16 Fatal] Microsoft.AspNetCore.Hosting.Internal.WebHost
I removed Boilerplate.AspNetCore
and Boilerplate.AspNetCore.Swagger
and installed Boxed.AspNetCore
and Boilerplate.AspNetCore.Swagger
this did not solve my issue.
Is it possible this broke it? I also updated Swashbuckle.AspNetCore to 2.5.0 which was recently released.
domaindrivendev/Swashbuckle.AspNetCore@da98707#diff-9e9ab36196f1a6384a208dffc4a62c32
They added bool includeControllerXmlComments = false
to IncludeXmlComments()
. Does that mean you need to pass that argument down here as well? https://github.com/Dotnet-Boxed/Framework/blob/master/Source/Boxed.AspNetCore.Swagger/SwaggerGenOptionsExtensions.cs#L64
Actually, I would wager that means you need to update your version of Swashbuckle.AspNetCore to 2.5.0 https://github.com/Dotnet-Boxed/Framework/blob/master/Source/Boxed.AspNetCore.Swagger/Boxed.AspNetCore.Swagger.csproj#L49.
Yes, I think you are probably right. I'm working on an update for 2.1.
Released a new version. You could also have added the latest. Swashbuckle package to the project yourself.
@RehanSaeed I already have a reference to it in my project, not sure why that did not solve the issue.
I am having
MissingMethodException: Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'.
with Swashbuckle.AspNetCore 4.0.1
And if I downgrade I get
failed to load API definition. internal server error /swagger/v1/swagger.json
Any ideas!!
Have you also upgraded the Swashbuckle.AspNetCore
package to 4.0.1
?
@RehanSaeed Yes, I did that.
Is this with an existing project that you've upgraded or with a brand new one? If existing, then create a new project and compare your code.
Same error for me when I upgraded from .net core 2.1.5 to 2.16 and Swagger V4.0.1
I m interested by the answer too :)
NOTE: no problem with Swagger V4.0.0
Packages:
PackageReference Include="Autofac" Version="4.8.1"
PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.3.1"
PackageReference Include="AutoMapper" Version="7.0.1"
PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="5.0.1"
PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.6"
PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.4"
PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.0.138"
PackageReference Include="Serilog" Version="2.7.1"
PackageReference Include="Serilog.AspNetCore" Version="2.1.1"
PackageReference Include="Serilog.Enrichers.Demystify" Version="0.1.0-dev-00016"
PackageReference Include="Serilog.Settings.Configuration" Version="3.0.1"
PackageReference Include="Serilog.Sinks.Console" Version="3.1.1"
PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.0"
PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1"
PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="4.0.1"
And the error:
MissingMethodException: Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'.
AllInOne.Api.Startup+<>c.b__8_2(SwaggerGenOptions c)DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.)
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions
1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.)
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable parameters)DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IConfigureOptions
1[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable
1[[Microsoft.Extensions.Options.IConfigureOptions1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]], Microsoft.Extensions.Options, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable parameters)DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsFactory
1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptionsFactory
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IConfigureOptions1[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable
1[[Microsoft.Extensions.Options.IConfigureOptions1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]], Microsoft.Extensions.Options, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable parameters)DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsManager
1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsFactory1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptionsFactory
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IConfigureOptions1[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable
1[[Microsoft.Extensions.Options.IConfigureOptions1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]], Microsoft.Extensions.Options, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable parameters)DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SchemaRegistryFactory (ReflectionActivator), Services = [Swashbuckle.AspNetCore.SwaggerGen.ISchemaRegistryFactory], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsManager
1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsFactory1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptionsFactory
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IConfigureOptions1[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable
1[[Microsoft.Extensions.Options.IConfigureOptions1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]], Microsoft.Extensions.Options, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable parameters)DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SwaggerGenerator (ReflectionActivator), Services = [Swashbuckle.AspNetCore.Swagger.ISwaggerProvider], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = SchemaRegistryFactory (ReflectionActivator), Services = [Swashbuckle.AspNetCore.SwaggerGen.ISchemaRegistryFactory], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsManager
1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = OptionsFactory1 (ReflectionActivator), Services = [Microsoft.Extensions.Options.IOptionsFactory
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IConfigureOptions1[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable
1[[Microsoft.Extensions.Options.IConfigureOptions1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]], Microsoft.Extensions.Options, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ConfigureSchemaRegistryOptions (ReflectionActivator), Services = [Microsoft.Extensions.Options.IConfigureOptions
1[[Swashbuckle.AspNetCore.SwaggerGen.SchemaRegistryOptions, Swashbuckle.AspNetCore.SwaggerGen, Version=4.0.1.0, Culture=neutral, PublicKeyToken=d84d99fb0135530a]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider, Microsoft.Extensions.Options.IOptions`1[Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions])' on type 'ConfigureSchemaRegistryOptions'. ---> Method not found: 'Void Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions.SwaggerDoc(System.String, Swashbuckle.AspNetCore.Swagger.Info)'. (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.)
@ranouf The project template has no problem running ASP.NET Core 2.1.6 with Swashbuckle 4.0.1. You are not using Boxed.AspNetCore.Swagger
, so there is no problem there. Perhaps it would make sense to post an issue in the Swashbuckle repo?
@RehanSaeed This is a really good point! :) I m clearly not at the good place :)