Skip to content

Commit e36b618

Browse files
Merge pull request #210 from atc-net/hotfix/parameter-name-casings
Fix parameter name casings for FromRoute in Mvc mode
2 parents 858b460 + 778d1fa commit e36b618

File tree

72 files changed

+162
-153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+162
-153
lines changed

.editorconfig

+23-1
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,13 @@ dotnet_diagnostic.MA0048.severity = error # https://github.com/atc-net
464464
dotnet_diagnostic.CA1014.severity = none # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/MicrosoftCodeAnalysis/CA1014.md
465465
dotnet_diagnostic.CA1068.severity = error # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/MicrosoftCodeAnalysis/CA1068.md
466466
dotnet_diagnostic.CA1305.severity = error
467+
dotnet_diagnostic.CA1308.severity = suggestion # Normalize strings to uppercase
467468
dotnet_diagnostic.CA1510.severity = suggestion # Use ArgumentNullException throw helper
468469
dotnet_diagnostic.CA1511.severity = suggestion # Use ArgumentException throw helper
469470
dotnet_diagnostic.CA1512.severity = suggestion # Use ArgumentOutOfRangeException throw helper
470471
dotnet_diagnostic.CA1513.severity = suggestion # Use ObjectDisposedException throw helper
471472
dotnet_diagnostic.CA1514.severity = error # Avoid redundant length argument
473+
dotnet_diagnostic.CA1515.severity = suggestion # Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
472474
dotnet_diagnostic.CA1707.severity = error # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/MicrosoftCodeAnalysis/CA1707.md
473475
dotnet_diagnostic.CA1812.severity = none
474476
dotnet_diagnostic.CA1822.severity = suggestion
@@ -504,7 +506,16 @@ dotnet_diagnostic.CA2259.severity = error # Ensure ThreadStatic is onl
504506
dotnet_diagnostic.CA2260.severity = error # Implement generic math interfaces correctly
505507
dotnet_diagnostic.CA2261.severity = error # Do not use ConfigureAwaitOptions.SuppressThrowing with Task<TResult>
506508
dotnet_diagnostic.IDE0005.severity = warning # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/MicrosoftCodeAnalysis/IDE0005.md
509+
dotnet_diagnostic.IDE0010.severity = suggestion # Populate switch
510+
dotnet_diagnostic.IDE0028.severity = suggestion # Collection initialization can be simplified
511+
dotnet_diagnostic.IDE0021.severity = suggestion # Use expression body for constructor
512+
dotnet_diagnostic.IDE0055.severity = none # Fix formatting
507513
dotnet_diagnostic.IDE0058.severity = none # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/MicrosoftCodeAnalysis/IDE0058.md
514+
dotnet_diagnostic.IDE0061.severity = suggestion # Use expression body for local function
515+
dotnet_diagnostic.IDE0130.severity = suggestion # Namespace does not match folder structure
516+
dotnet_diagnostic.IDE0290.severity = none # Use primary constructor
517+
dotnet_diagnostic.IDE0301.severity = suggestion # Use collection expression for empty
518+
dotnet_diagnostic.IDE0305.severity = suggestion # Collection initialization can be simplified
508519

509520

510521
# Microsoft - Compiler Errors
@@ -541,6 +552,7 @@ dotnet_diagnostic.SA1649.severity = error # https://github.com/atc-net
541552
# https://rules.sonarsource.com/csharp
542553
dotnet_diagnostic.S1135.severity = suggestion # https://github.com/atc-net/atc-coding-rules/blob/main/documentation/CodeAnalyzersRules/SonarAnalyzerCSharp/S1135.md
543554
dotnet_diagnostic.S2629.severity = none # Don't use string interpolation in logging message templates.
555+
dotnet_diagnostic.S3358.severity = none # Extract this nested ternary operation into an independent statement.
544556
dotnet_diagnostic.S6602.severity = none # "Find" method should be used instead of the "FirstOrDefault"
545557
dotnet_diagnostic.S6603.severity = none # The collection-specific "TrueForAll" method should be used instead of the "All"
546558
dotnet_diagnostic.S6605.severity = none # Collection-specific "Exists" method should be used instead of the "Any"
@@ -584,9 +596,19 @@ dotnet_diagnostic.CA1822.Severity = none
584596
dotnet_diagnostic.CA1859.Severity = none
585597
dotnet_diagnostic.CA1860.Severity = none
586598
dotnet_diagnostic.CA1861.Severity = none
599+
587600
dotnet_diagnostic.S125.Severity = none
588601
dotnet_diagnostic.S1481.Severity = none
589602
dotnet_diagnostic.SA1512.Severity = none
590603
dotnet_diagnostic.SA1513.Severity = none
591604

592-
dotnet_diagnostic.AsyncFixer02.Severity = none # ToListAsync should be used instead of xxx
605+
dotnet_diagnostic.AsyncFixer02.Severity = none # ToListAsync should be used instead of xxx
606+
607+
dotnet_diagnostic.IDE0022.Severity = none # Use expression body for method
608+
dotnet_diagnostic.IDE0045.Severity = none # 'if' statement can be simplified
609+
dotnet_diagnostic.IDE0046.Severity = none # 'if' statement can be simplified
610+
dotnet_diagnostic.IDE0052.Severity = none # Private member
611+
dotnet_diagnostic.IDE0059.Severity = none # Unnecessary assignment of a value
612+
dotnet_diagnostic.IDE0060.Severity = none # Remove unused parameter
613+
dotnet_diagnostic.IDE0270.Severity = none # Null check can be simplified
614+
dotnet_diagnostic.IDE0300.Severity = none # Collection initialization can be simplified

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<ItemGroup Label="Code Analyzers">
4444
<PackageReference Include="AsyncFixer" Version="1.6.0" PrivateAssets="All" />
4545
<PackageReference Include="Asyncify" Version="0.9.7" PrivateAssets="All" />
46-
<PackageReference Include="Meziantou.Analyzer" Version="2.0.163" PrivateAssets="All" />
46+
<PackageReference Include="Meziantou.Analyzer" Version="2.0.179" PrivateAssets="All" />
4747
<PackageReference Include="SecurityCodeScan.VS2019" Version="5.6.7" PrivateAssets="All" />
4848
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="All" />
4949
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167" PrivateAssets="All" />

src/Atc.CodeGeneration.CSharp/Atc.CodeGeneration.CSharp.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.513" />
11-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.525" />
11+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" />
1212
</ItemGroup>
1313

1414
</Project>

src/Atc.Rest.ApiGenerator.CLI/Atc.Rest.ApiGenerator.CLI.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Atc" Version="2.0.513" />
17-
<PackageReference Include="Atc.Console.Spectre" Version="2.0.513" />
18-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
16+
<PackageReference Include="Atc" Version="2.0.525" />
17+
<PackageReference Include="Atc.Console.Spectre" Version="2.0.525" />
18+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

src/Atc.Rest.ApiGenerator.CLI/Commands/Attributes/AspNetOutputTypeAttribute.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public override string Description
2222
{
2323
get
2424
{
25-
var values = Enum.GetNames(typeof(AspNetOutputType))
25+
var values = Enum.GetNames<AspNetOutputType>()
2626
.Select(enumValue => enumValue.Equals(Default.ToString(), StringComparison.Ordinal)
2727
? $"{enumValue} (default)"
2828
: enumValue)

src/Atc.Rest.ApiGenerator.CLI/Commands/Attributes/SwaggerThemeModeAttribute.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public override string Description
2222
{
2323
get
2424
{
25-
var values = Enum.GetNames(typeof(SwaggerThemeMode))
25+
var values = Enum.GetNames<SwaggerThemeMode>()
2626
.Select(enumValue => enumValue.Equals(Default.ToString(), StringComparison.Ordinal)
2727
? $"{enumValue} (default)"
2828
: enumValue)

src/Atc.Rest.ApiGenerator.Client.CSharp/Atc.Rest.ApiGenerator.Client.CSharp.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
10-
<PackageReference Include="Microsoft.OpenApi" Version="1.6.17" />
9+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
10+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.22" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

src/Atc.Rest.ApiGenerator.Client.CSharp/ProjectGenerator/ClientCSharpApiGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public async Task ScaffoldProjectFile()
8787
],
8888
[
8989
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
90-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
90+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
9191
],
9292
],
9393
[

src/Atc.Rest.ApiGenerator.CodingRules/Atc.Rest.ApiGenerator.CodingRules.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
1111
</ItemGroup>
1212

1313
</Project>

src/Atc.Rest.ApiGenerator.Contracts/Atc.Rest.ApiGenerator.Contracts.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.513" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.525" />
1111
</ItemGroup>
1212

1313
</Project>

src/Atc.Rest.ApiGenerator.Framework.Minimal/Atc.Rest.ApiGenerator.Framework.Minimal.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

src/Atc.Rest.ApiGenerator.Framework.Minimal/Factories/ContentGeneratorServerResultParametersFactory.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ public static ContentGeneratorServerResultParameters Create(
3535
var okResponseModel = responseModels.Find(x => x.StatusCode == HttpStatusCode.OK) ??
3636
responseModels.Find(x => x.StatusCode == HttpStatusCode.Created);
3737

38-
if (ShouldAppendImplicitOperatorContent(httpStatusCodes, okResponseModel?.DataType, openApiOperation.Responses.IsSchemaUsingBinaryFormatForOkResponse()))
38+
if (ShouldAppendImplicitOperatorContent(
39+
httpStatusCodes,
40+
okResponseModel?.DataType,
41+
openApiOperation.Responses.IsSchemaUsingBinaryFormatForOkResponse()))
3942
{
4043
var collectionDataType = okResponseModel?.CollectionDataType;
4144
var dataType = okResponseModel?.DataType;
@@ -76,8 +79,8 @@ private static bool ShouldAppendImplicitOperatorContent(
7679
httpStatusCode = HttpStatusCode.Created;
7780
}
7881

79-
if (string.IsNullOrEmpty(modelName) &&
80-
httpStatusCode == HttpStatusCode.Created)
82+
if (httpStatusCode == HttpStatusCode.Created &&
83+
string.IsNullOrEmpty(modelName))
8184
{
8285
return false;
8386
}

src/Atc.Rest.ApiGenerator.Framework.Minimal/ProjectGenerator/ServerApiGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public async Task ScaffoldProjectFile()
8181
],
8282
[
8383
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
84-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
84+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
8585
],
8686
],
8787
[

src/Atc.Rest.ApiGenerator.Framework.Minimal/ProjectGenerator/ServerDomainGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public async Task ScaffoldProjectFile()
7070
],
7171
[
7272
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
73-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
73+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
7474
],
7575
],
7676
[

src/Atc.Rest.ApiGenerator.Framework.Minimal/ProjectGenerator/ServerHostGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public async Task ScaffoldProjectFile()
7272
],
7373
[
7474
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
75-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
75+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
7676
],
7777
],
7878
[

src/Atc.Rest.ApiGenerator.Framework.Minimal/ProjectGenerator/ServerHostTestGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public async Task ScaffoldProjectFile()
7676
],
7777
[
7878
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
79-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
79+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
8080
],
8181
],
8282
[

src/Atc.Rest.ApiGenerator.Framework.Mvc/Atc.Rest.ApiGenerator.Framework.Mvc.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Atc.Rest" Version="2.0.513" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Atc.Rest" Version="2.0.525" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

src/Atc.Rest.ApiGenerator.Framework.Mvc/ContentGenerators/ContentGeneratorServerParameter.cs

+13-2
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,21 @@ private static void AppendPropertyAttributes(
6565
{
6666
switch (item.ParameterLocationType)
6767
{
68-
case ParameterLocationType.Query:
69-
case ParameterLocationType.Header:
7068
case ParameterLocationType.Route:
69+
case ParameterLocationType.Header:
7170
case ParameterLocationType.Cookie:
71+
if (string.IsNullOrEmpty(item.Name))
72+
{
73+
sb.AppendLine(4, $"[From{item.ParameterLocationType}]");
74+
}
75+
else
76+
{
77+
sb.AppendLine(4, $"[From{item.ParameterLocationType}(Name = \"{item.Name}\")]");
78+
}
79+
80+
break;
81+
82+
case ParameterLocationType.Query:
7283
if (string.IsNullOrEmpty(item.Name) ||
7384
item.Name.Equals(item.ParameterName, StringComparison.OrdinalIgnoreCase))
7485
{

src/Atc.Rest.ApiGenerator.Framework.Mvc/ProjectGenerator/ServerApiGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public async Task ScaffoldProjectFile()
8181
],
8282
[
8383
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
84-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
84+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
8585
],
8686
],
8787
[

src/Atc.Rest.ApiGenerator.Framework.Mvc/ProjectGenerator/ServerDomainGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public async Task ScaffoldProjectFile()
5555
],
5656
[
5757
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
58-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
58+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
5959
],
6060
],
6161
[

src/Atc.Rest.ApiGenerator.Framework.Mvc/ProjectGenerator/ServerHostGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public async Task ScaffoldProjectFile()
6969
],
7070
[
7171
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
72-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
72+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
7373
],
7474
],
7575
[

src/Atc.Rest.ApiGenerator.Framework.Mvc/ProjectGenerator/ServerHostTestGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public async Task ScaffoldProjectFile()
8383
],
8484
[
8585
new("DocumentationFile", Attributes: null, @$"bin\Debug\net8.0\{projectName}.xml"),
86-
new("NoWarn", Attributes: null, "1573;1591;1701;1702;1712;8618;"),
86+
new("NoWarn", Attributes: null, "$(NoWarn);1573;1591;1701;1702;1712;8618;"),
8787
],
8888
],
8989
[

src/Atc.Rest.ApiGenerator.Framework/Atc.Rest.ApiGenerator.Framework.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Atc" Version="2.0.513" />
30-
<PackageReference Include="Atc.DotNet" Version="2.0.513" />
31-
<PackageReference Include="Atc.OpenApi" Version="2.0.513" />
32-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
29+
<PackageReference Include="Atc" Version="2.0.525" />
30+
<PackageReference Include="Atc.DotNet" Version="2.0.525" />
31+
<PackageReference Include="Atc.OpenApi" Version="2.0.525" />
32+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
3333
</ItemGroup>
3434

3535
<ItemGroup>

src/Atc.Rest.ApiGenerator.Framework/Providers/NugetPackageReferenceProvider.cs

+8-7
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ public class NugetPackageReferenceProvider(
88
private Dictionary<string, string> PackageDefaultVersions { get; } = new(StringComparer.Ordinal)
99
{
1010
{ "Asp.Versioning.Http", "8.1.0" },
11-
{ "Atc", "2.0.472" },
11+
{ "Atc", "2.0.525" },
1212
{ "Atc.Azure.Options", "3.0.31" },
13-
{ "Atc.Rest", "2.0.472" },
13+
{ "Atc.Rest", "2.0.525" },
1414
{ "Atc.Rest.Client", "1.0.36" },
15-
{ "Atc.Rest.Extended", "2.0.472" },
16-
{ "Atc.Rest.FluentAssertions", "2.0.472" },
17-
{ "Atc.Rest.MinimalApi", "1.0.81" },
18-
{ "Atc.XUnit", "2.0.472" },
15+
{ "Atc.Rest.Extended", "2.0.525" },
16+
{ "Atc.Rest.FluentAssertions", "2.0.525" },
17+
{ "Atc.Rest.MinimalApi", "1.0.87" },
18+
{ "Atc.XUnit", "2.0.525" },
1919
{ "AutoFixture", "4.18.1" },
2020
{ "AutoFixture.AutoNSubstitute", "4.18.1" },
2121
{ "AutoFixture.Xunit2", "4.18.1" },
@@ -28,7 +28,7 @@ public class NugetPackageReferenceProvider(
2828
{ "Microsoft.NETCore.Platforms", "7.0.4" },
2929
{ "Microsoft.NET.Test.Sdk", "17.10.0" },
3030
{ "NSubstitute", "5.1.0" },
31-
{ "Swashbuckle.AspNetCore", "6.7.0" },
31+
{ "Swashbuckle.AspNetCore", "7.0.0" },
3232
{ "xunit", "2.8.1" },
3333
{ "xunit.runner.visualstudio", "2.8.1" },
3434
};
@@ -84,6 +84,7 @@ public async Task<Version> GetAtcApiGeneratorVersion()
8484
{
8585
new("Asp.Versioning.Http", PackageDefaultVersions["Asp.Versioning.Http"]),
8686
new("Atc", atcVersion),
87+
new("Atc.Rest.Extended", atcVersion),
8788
new("Atc.Rest.MinimalApi", PackageDefaultVersions["Atc.Rest.MinimalApi"]),
8889
new("Microsoft.NETCore.Platforms", PackageDefaultVersions["Microsoft.NETCore.Platforms"]),
8990
new("Swashbuckle.AspNetCore", PackageDefaultVersions["Swashbuckle.AspNetCore"]),

src/Atc.Rest.ApiGenerator.Nuget/Atc.Rest.ApiGenerator.Nuget.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
1111
</ItemGroup>
1212

1313
</Project>

src/Atc.Rest.ApiGenerator.OpenApi/Atc.Rest.ApiGenerator.OpenApi.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Atc" Version="2.0.513" />
10-
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.513" />
11-
<PackageReference Include="Atc.OpenApi" Version="2.0.513" />
12-
<PackageReference Include="Microsoft.OpenApi" Version="1.6.17" />
13-
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.17" />
9+
<PackageReference Include="Atc" Version="2.0.525" />
10+
<PackageReference Include="Atc.CodeDocumentation" Version="2.0.525" />
11+
<PackageReference Include="Atc.OpenApi" Version="2.0.525" />
12+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.22" />
13+
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.22" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)