File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - name : Setup .NET
2727 uses : actions/setup-dotnet@v3
2828 with :
29- dotnet-version : 9 .0.x
29+ dotnet-version : 10 .0.x
3030 - name : Add Evolutionary Architecture Nuget Source
3131 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
3232 with :
5252 - name : Setup .NET
5353 uses : actions/setup-dotnet@v3
5454 with :
55- dotnet-version : 9 .0.x
55+ dotnet-version : 10 .0.x
5656 - name : Add Evolutionary Architecture Nuget Source
5757 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
5858 with :
Original file line number Diff line number Diff line change 2626 - name : Setup .NET
2727 uses : actions/setup-dotnet@v3
2828 with :
29- dotnet-version : 9 .0.x
29+ dotnet-version : 10 .0.x
3030 - name : Add Evolutionary Architecture Nuget Source
3131 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
3232 with :
5151 - name : Setup .NET
5252 uses : actions/setup-dotnet@v3
5353 with :
54- dotnet-version : 9 .0.x
54+ dotnet-version : 10 .0.x
5555 - name : Add Evolutionary Architecture Nuget Source
5656 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
5757 with :
Original file line number Diff line number Diff line change 2626 - name : Setup .NET
2727 uses : actions/setup-dotnet@v3
2828 with :
29- dotnet-version : 9 .0.x
29+ dotnet-version : 10 .0.x
3030 - name : Restore dependencies
3131 run : dotnet restore
3232 - name : Build
4545 - name : Setup .NET
4646 uses : actions/setup-dotnet@v3
4747 with :
48- dotnet-version : 9 .0.x
48+ dotnet-version : 10 .0.x
4949 - name : Restore dependencies
5050 run : dotnet restore
5151 - name : Test
6464 - name : Setup .NET
6565 uses : actions/setup-dotnet@v3
6666 with :
67- dotnet-version : 9 .0.x
67+ dotnet-version : 10 .0.x
6868
6969 - name : Pack Projects
7070 run : |
Original file line number Diff line number Diff line change 2727 - name : Setup .NET
2828 uses : actions/setup-dotnet@v3
2929 with :
30- dotnet-version : 9 .0.x
30+ dotnet-version : 10 .0.x
3131 - name : Add Evolutionary Architecture Nuget Source
3232 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
3333 with :
5252 - name : Setup .NET
5353 uses : actions/setup-dotnet@v3
5454 with :
55- dotnet-version : 9 .0.x
55+ dotnet-version : 10 .0.x
5656 - name : Add Evolutionary Architecture Nuget Source
5757 uses : evolutionary-architecture/evolutionary-architecture-by-example/.github@main
5858 with :
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <AssemblyName >EvolutionaryArchitecture.$(MSBuildProjectName)</AssemblyName >
55 <RootNamespace >$(AssemblyName)</RootNamespace >
6- <TargetFramework >net9 .0</TargetFramework >
6+ <TargetFramework >net10 .0</TargetFramework >
77 <AnalysisLevel >latest</AnalysisLevel >
88 <CodeAnalysisTreatWarningsAsErrors >true</CodeAnalysisTreatWarningsAsErrors >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
Original file line number Diff line number Diff line change 88 <PackageVersion Include =" MassTransit" Version =" 8.3.2" />
99 <PackageVersion Include =" MediatR" Version =" 12.5.0" />
1010 <PackageVersion Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" 2.3.0" />
11- <PackageVersion Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 9 .0.9 " />
12- <PackageVersion Include =" Microsoft.Extensions.Configuration.Binder" Version =" 9 .0.9 " />
13- <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 9 .0.9 " />
14- <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 9 .0.9 " />
11+ <PackageVersion Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 10 .0.1 " />
12+ <PackageVersion Include =" Microsoft.Extensions.Configuration.Binder" Version =" 10 .0.1 " />
13+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 10 .0.1 " />
14+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 10 .0.1 " />
1515 </ItemGroup >
1616 <ItemGroup Label =" Tests" >
1717 <PackageVersion Include =" Bogus" Version =" 35.6.3" />
1818 <PackageVersion Include =" coverlet.collector" Version =" 6.0.4" />
19- <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 9 .0.9 " />
19+ <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 10 .0.1 " />
2020 <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1" />
2121 <PackageVersion Include =" Shouldly" Version =" 4.3.0" />
2222 <PackageVersion Include =" Testcontainers" Version =" 4.7.0" />
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <AssemblyName >EvolutionaryArchitecture.$(MSBuildProjectName)</AssemblyName >
55 <RootNamespace >$(AssemblyName)</RootNamespace >
6- <TargetFramework >net9 .0</TargetFramework >
6+ <TargetFramework >net10 .0</TargetFramework >
77 <AnalysisLevel >latest</AnalysisLevel >
88 <CodeAnalysisTreatWarningsAsErrors >true</CodeAnalysisTreatWarningsAsErrors >
99 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
Original file line number Diff line number Diff line change 1616 <PackageVersion Include =" MassTransit.RabbitMQ" Version =" 8.3.2" />
1717 <PackageVersion Include =" MediatR" Version =" 12.5.0" />
1818 <PackageVersion Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" 2.3.0" />
19- <PackageVersion Include =" Microsoft.AspNetCore.OpenApi" Version =" 9.0.9" />
20- <PackageVersion Include =" Microsoft.EntityFrameworkCore" Version =" 9.0.9" />
21- <PackageVersion Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 9.0.4" />
22- <PackageVersion Include =" Swashbuckle.AspNetCore" Version =" 9.0.4" />
19+ <PackageVersion Include =" Microsoft.AspNetCore.OpenApi" Version =" 10.0.1" />
20+ <PackageVersion Include =" Microsoft.EntityFrameworkCore" Version =" 10.0.1" />
21+ <PackageVersion Include =" Microsoft.OpenApi" Version =" 2.3.0" />
22+ <PackageVersion Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 10.0.0" />
23+ <PackageVersion Include =" Swashbuckle.AspNetCore" Version =" 10.0.1" />
2324 </ItemGroup >
2425 <ItemGroup Label =" Tests" >
2526 <PackageVersion Include =" Bogus" Version =" 35.6.3" />
Original file line number Diff line number Diff line change @@ -18,12 +18,8 @@ internal static void MapPrepareContract(this IEndpointRouteBuilder app) => app.M
1818 return Results . Created ( $ "/{ ContractsApiPaths . Prepare } /{ contractId } ", contractId ) ;
1919 } )
2020 . ValidateRequest < PrepareContractRequest > ( )
21- . WithOpenApi ( operation => new ( operation )
22- {
23- Summary = "Triggers preparation of a new contract for new or existing customer" ,
24- Description =
25- "This endpoint is used to prepare a new contract for new and existing customers." ,
26- } )
21+ . WithSummary ( "Triggers preparation of a new contract for new or existing customer" )
22+ . WithDescription ( "This endpoint is used to prepare a new contract for new and existing customers." )
2723 . Produces < string > ( StatusCodes . Status201Created )
2824 . Produces ( StatusCodes . Status409Conflict )
2925 . Produces ( StatusCodes . Status500InternalServerError ) ;
Original file line number Diff line number Diff line change @@ -19,12 +19,8 @@ internal static void MapSignContract(this IEndpointRouteBuilder app) => app.MapP
1919 return Results . NoContent ( ) ;
2020 } )
2121 . ValidateRequest < SignContractRequestValidator > ( )
22- . WithOpenApi ( operation => new ( operation )
23- {
24- Summary = "Signs prepared contract" ,
25- Description =
26- "This endpoint is used to sign prepared contract by customer." ,
27- } )
22+ . WithSummary ( "Signs prepared contract" )
23+ . WithDescription ( "This endpoint is used to sign prepared contract by customer." )
2824 . Produces ( StatusCodes . Status204NoContent )
2925 . Produces ( StatusCodes . Status404NotFound )
3026 . Produces ( StatusCodes . Status409Conflict )
You can’t perform that action at this time.
0 commit comments