Skip to content

Commit 60831a0

Browse files
committed
Update to v4.1.0
1 parent 5515961 commit 60831a0

File tree

4 files changed

+57
-38
lines changed

4 files changed

+57
-38
lines changed

.editorconfig

+24-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
indent_style = space
88
# Code files
99
[*.{cs,csx,vb,vbx}]
10-
indent_size =2
10+
indent_size = 2
1111
insert_final_newline = true
1212
charset = utf-8-bom
1313
###############################
@@ -54,11 +54,17 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
5454
# Use PascalCase for constant fields
5555
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
5656
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
57-
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
57+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
5858
dotnet_naming_symbols.constant_fields.applicable_kinds = field
5959
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
6060
dotnet_naming_symbols.constant_fields.required_modifiers = const
61-
tab_width=2
61+
tab_width= 2
62+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
63+
dotnet_style_prefer_compound_assignment = true:suggestion
64+
dotnet_style_prefer_simplified_interpolation = true:suggestion
65+
dotnet_style_namespace_match_folder = true:suggestion
66+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
67+
end_of_line = crlf
6268
###############################
6369
# C# Coding Conventions #
6470
###############################
@@ -118,6 +124,21 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
118124
# Wrapping preferences
119125
csharp_preserve_single_line_statements = true
120126
csharp_preserve_single_line_blocks = true
127+
csharp_using_directive_placement = outside_namespace:silent
128+
csharp_prefer_simple_using_statement = true:suggestion
129+
csharp_style_namespace_declarations = file_scoped:warning
130+
csharp_style_prefer_method_group_conversion = true:silent
131+
csharp_style_prefer_top_level_statements = true:silent
132+
csharp_style_expression_bodied_lambdas = true:silent
133+
csharp_style_expression_bodied_local_functions = false:silent
134+
csharp_style_prefer_null_check_over_type_check = true:suggestion
135+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
136+
csharp_style_prefer_index_operator = true:suggestion
137+
csharp_style_prefer_range_operator = true:suggestion
138+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
139+
csharp_style_prefer_tuple_swap = true:suggestion
140+
csharp_style_prefer_utf8_string_literals = true:suggestion
141+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
121142
###############################
122143
# VB Coding Conventions #
123144
###############################
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<PackageId>Ardalis.ApiEndpoints.NSwag</PackageId>
5-
<Version>4.0.1</Version>
6-
<Authors>Steve Smith (@ardalis), Maksym Koshovyi</Authors>
7-
<Description>OpenAPI support for ApiEndpoints using NSwag</Description>
8-
<Summary>OpenAPI support for ApiEndpoints using NSwag</Summary>
9-
<PackageTags>api endpoints openapi nswag</PackageTags>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<PackageReference Include="NSwag.Generation.AspNetCore" Version="13.0.0" />
14-
</ItemGroup>
3+
<PropertyGroup>
4+
<PackageId>Ardalis.ApiEndpoints.NSwag</PackageId>
5+
<Version>4.1.0</Version>
6+
<Authors>Steve Smith (@ardalis), Maksym Koshovyi</Authors>
7+
<Description>OpenAPI support for ApiEndpoints using NSwag</Description>
8+
<Summary>OpenAPI support for ApiEndpoints using NSwag</Summary>
9+
<PackageTags>api endpoints openapi nswag</PackageTags>
10+
</PropertyGroup>
1511

16-
<ItemGroup>
17-
<ProjectReference Include="..\Ardalis.ApiEndpoints\Ardalis.ApiEndpoints.csproj" />
18-
</ItemGroup>
12+
<ItemGroup>
13+
<PackageReference Include="NSwag.Generation.AspNetCore" Version="13.0.0" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\Ardalis.ApiEndpoints\Ardalis.ApiEndpoints.csproj" />
18+
</ItemGroup>
1919

2020
</Project>
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<PackageId>Ardalis.ApiEndpoints.Swashbuckle</PackageId>
5-
<Version>4.0.1</Version>
6-
<Authors>Steve Smith (@ardalis), Maksym Koshovyi</Authors>
7-
<Description>OpenAPI support for ApiEndpoints using Swashbuckle</Description>
8-
<Summary>OpenAPI support for ApiEndpoints using Swashbuckle</Summary>
9-
<PackageTags>api endpoints openapi swashbuckle</PackageTags>
10-
</PropertyGroup>
11-
12-
<ItemGroup>
13-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="4.0.0" />
14-
</ItemGroup>
3+
<PropertyGroup>
4+
<PackageId>Ardalis.ApiEndpoints.Swashbuckle</PackageId>
5+
<Version>4.1.0</Version>
6+
<Authors>Steve Smith (@ardalis), Maksym Koshovyi</Authors>
7+
<Description>OpenAPI support for ApiEndpoints using Swashbuckle</Description>
8+
<Summary>OpenAPI support for ApiEndpoints using Swashbuckle</Summary>
9+
<PackageTags>api endpoints openapi swashbuckle</PackageTags>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="4.0.0" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<ProjectReference Include="..\Ardalis.ApiEndpoints\Ardalis.ApiEndpoints.csproj" />
18+
</ItemGroup>
1519

16-
<ItemGroup>
17-
<ProjectReference Include="..\Ardalis.ApiEndpoints\Ardalis.ApiEndpoints.csproj" />
18-
</ItemGroup>
19-
2020
</Project>

src/Ardalis.ApiEndpoints/Ardalis.ApiEndpoints.csproj

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
<Description>An alternative to Controllers for ASP.NET Core API Endpoints.</Description>
1212
<Summary>Controllers promote creating bloated classes that lack cohesion. This project provides a simpler alternative that follows SOLID principles. An alternative to Controllers for ASP.NET Core API Endpoints.</Summary>
1313
<PackageTags>aspnet asp.net aspnetcore asp.net core api web api rest endpoint controller</PackageTags>
14-
<PackageReleaseNotes>See README for breaking changes and migration guide.
15-
16-
4.0.1 Updates reference to Ardalis.ApiEndpoints.CodeAnalyzers to non-prerelease.</PackageReleaseNotes>
17-
<Version>4.0.1</Version>
14+
<PackageReleaseNotes>Add IAsyncEnumerable Support; other minor fixes</PackageReleaseNotes>
15+
<Version>4.1.0</Version>
1816
<AssemblyName>Ardalis.ApiEndpoints</AssemblyName>
1917
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
2018
</PropertyGroup>

0 commit comments

Comments
 (0)