You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any plans to update the module for .NET 8 -- Orchard Core 1.8 and NSwag 14?
If I try that combination with ThisNetWorks.OrchardCore.OpenApi 1.5.0 then I get this at runtime when enabling the Open API feature:
System.MissingMethodException: Method not found: 'System.Action1<NSwag.AspNetCore.SwaggerUi3Settings> ThisNetWorks.OrchardCore.OpenApi.Options.OpenApiMiddlewareOptions.get_SwaggerUi3Settings()'. at ThisNetWorks.OrchardCore.OpenApi.Startup.Configure(IApplicationBuilder builder, IEndpointRouteBuilder routes, IServiceProvider serviceProvider) at OrchardCore.Modules.ShellPipelineExtensions.ConfigurePipelineAsync(IApplicationBuilder builder) at OrchardCore.Modules.ShellPipelineExtensions.BuildPipelineInternalAsync(ShellContext context) at OrchardCore.Modules.ShellPipelineExtensions.BuildPipelineAsync(ShellContext context) at OrchardCore.Modules.ModularTenantRouterMiddleware.Invoke(HttpContext httpContext) at OrchardCore.Modules.ModularTenantContainerMiddleware.<>c__DisplayClass4_0.<<Invoke>b__0>d.MoveNext() --- End of stack trace from previous location --- at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func2 execute, Boolean activateShell)
at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func2 execute, Boolean activateShell) at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func2 execute, Boolean activateShell)
at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func2 execute, Boolean activateShell) at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func2 execute, Boolean activateShell)
at OrchardCore.Modules.ModularTenantContainerMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
The text was updated successfully, but these errors were encountered:
yes, there's an upgrade to NSwag in OC 1.8 that isn't reflectd in this repository yet.
There is an draft pr here, I just haven't had time to test it, or add the OC 1.8 upgrade as well #39
If you are actively using it, and can report issues, then I'd be happy to merge it untested, as I am not in a position to take OC 1.8 easily and test it well myself at the moment.
Any plans to update the module for .NET 8 -- Orchard Core 1.8 and NSwag 14?
If I try that combination with ThisNetWorks.OrchardCore.OpenApi 1.5.0 then I get this at runtime when enabling the Open API feature:
System.MissingMethodException: Method not found: 'System.Action
1<NSwag.AspNetCore.SwaggerUi3Settings> ThisNetWorks.OrchardCore.OpenApi.Options.OpenApiMiddlewareOptions.get_SwaggerUi3Settings()'. at ThisNetWorks.OrchardCore.OpenApi.Startup.Configure(IApplicationBuilder builder, IEndpointRouteBuilder routes, IServiceProvider serviceProvider) at OrchardCore.Modules.ShellPipelineExtensions.ConfigurePipelineAsync(IApplicationBuilder builder) at OrchardCore.Modules.ShellPipelineExtensions.BuildPipelineInternalAsync(ShellContext context) at OrchardCore.Modules.ShellPipelineExtensions.BuildPipelineAsync(ShellContext context) at OrchardCore.Modules.ModularTenantRouterMiddleware.Invoke(HttpContext httpContext) at OrchardCore.Modules.ModularTenantContainerMiddleware.<>c__DisplayClass4_0.<<Invoke>b__0>d.MoveNext() --- End of stack trace from previous location --- at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func
2 execute, Boolean activateShell)at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func
2 execute, Boolean activateShell) at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func
2 execute, Boolean activateShell)at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func
2 execute, Boolean activateShell) at OrchardCore.Environment.Shell.Scope.ShellScope.UsingAsync(Func
2 execute, Boolean activateShell)at OrchardCore.Modules.ModularTenantContainerMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
The text was updated successfully, but these errors were encountered: