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

Commit 97f9628

Browse files
committed
Aggiunto attributo obsolete
1 parent 0de7909 commit 97f9628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NET6CustomLibrary/Extensions/DependencyInjection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public static IServiceCollection AddDateTimeOnlyAttributes(this IServiceCollecti
7575
return services;
7676
}
7777

78+
[Obsolete("This method is deprecated. Do not use it as it will be removed in the next release", false)]
7879
public static SwaggerGenOptions AddDateTimeSwaggerGenOptions(this SwaggerGenOptions options)
7980
{
8081
options.MapType<DateOnly>(() => new OpenApiSchema

0 commit comments

Comments
 (0)