Skip to content

Commit

Permalink
🐛 SchemaProcessors is missing from NSwag 14.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontaylordev committed Nov 15, 2023
1 parent 8b2a5a9 commit 1e47144
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Web/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public static IServiceCollection AddWebServices(this IServiceCollection services
var fluentValidationSchemaProcessor =
sp.CreateScope().ServiceProvider.GetRequiredService<FluentValidationSchemaProcessor>();

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
Expand Down

0 comments on commit 1e47144

Please sign in to comment.