diff --git a/Src/DeUrgenta.Api/DeUrgenta.Api.csproj b/Src/DeUrgenta.Api/DeUrgenta.Api.csproj
index 29d468c..7eb14ee 100644
--- a/Src/DeUrgenta.Api/DeUrgenta.Api.csproj
+++ b/Src/DeUrgenta.Api/DeUrgenta.Api.csproj
@@ -17,6 +17,7 @@
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Src/DeUrgenta.Api/Extensions/SwaggerExtensions.cs b/Src/DeUrgenta.Api/Extensions/SwaggerExtensions.cs
index 99053ce..9391f56 100644
--- a/Src/DeUrgenta.Api/Extensions/SwaggerExtensions.cs
+++ b/Src/DeUrgenta.Api/Extensions/SwaggerExtensions.cs
@@ -1,6 +1,7 @@
using System;
using System.IO;
using System.Reflection;
+using MicroElements.Swashbuckle.FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
@@ -65,7 +66,9 @@ public static IServiceCollection AddSwaggerFor(this IServiceCollection services,
c.ExampleFilters();
});
+ services.AddFluentValidationRulesToSwagger();
services.AddSwaggerExamplesFromAssemblies(assemblies);
+
return services;
}