diff --git a/src/Web/DependencyInjection.cs b/src/Web/DependencyInjection.cs index 461512239..a297b521d 100644 --- a/src/Web/DependencyInjection.cs +++ b/src/Web/DependencyInjection.cs @@ -51,7 +51,8 @@ public static IServiceCollection AddWebServices(this IServiceCollection services var fluentValidationSchemaProcessor = sp.CreateScope().ServiceProvider.GetRequiredService(); - configure.SchemaProcessors.Add(fluentValidationSchemaProcessor); + // BUG: SchemaProcessors is missing in NSwag 14 (https://github.com/RicoSuter/NSwag/issues/4524#issuecomment-1811897079) + // configure.SchemaProcessors.Add(fluentValidationSchemaProcessor); #if (UseApiOnly) // Add JWT