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

Commit c40effd

Browse files
author
Angelo Pirola
committed
Fix region
1 parent f78dc4b commit c40effd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NET6CustomLibrary/Extensions/DependencyInjection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ public static IServiceCollection AddDateTimeOnlyAttributes(this IServiceCollecti
7979

8080
return services;
8181
}
82+
#endregion
8283

84+
#region "SWAGGER"
8385
[Obsolete("This method is deprecated. Do not use it as it will be removed in the next release", false)]
8486
public static SwaggerGenOptions AddDateTimeSwaggerGenOptions(this SwaggerGenOptions options)
8587
{
@@ -98,9 +100,7 @@ public static SwaggerGenOptions AddDateTimeSwaggerGenOptions(this SwaggerGenOpti
98100

99101
return options;
100102
}
101-
#endregion
102103

103-
#region "JSON"
104104
public static IMvcBuilder AddSimpleJsonOptions(this IMvcBuilder builder)
105105
{
106106
builder.AddJsonOptions(options =>

0 commit comments

Comments
 (0)