Skip to content

Commit

Permalink
issue 140 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
petriashev committed Dec 23, 2023
1 parent 7ae3d77 commit 8d06c56
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public static IEnumerable<IValidator> GetValidators(
Type modelType,
ISchemaGenerationOptions options)
{
// Fix for https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/issues/140
if (typeof(void) == modelType)
{
yield break;
Expand Down

0 comments on commit 8d06c56

Please sign in to comment.