Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit c2778fd

Browse files
committed
Deprecato metodo statico
1 parent 16a8c72 commit c2778fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NET6CustomLibrary/Extensions/DependencyInjection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static IServiceCollection AddDateTimeOnlyAttributes(this IServiceCollecti
9191
#endregion
9292

9393
#region "SWAGGER"
94-
[Obsolete("This method is deprecated. Do not use it as it will be removed in the next release", false)]
94+
[Obsolete("This method is deprecated and will be removed. See https://bit.ly/40XbcAs link for new documentation.", true)]
9595
public static SwaggerGenOptions AddDateTimeSwaggerGenOptions(this SwaggerGenOptions options)
9696
{
9797
options.MapType<DateOnly>(() => new OpenApiSchema

0 commit comments

Comments
 (0)