File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed
src/Crosscutting/EcommerceDDD.ApiGateway Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3333
3434 <ItemGroup Label =" API Gateway" >
3535 <PackageVersion Include =" Ocelot" Version =" 24.1.0" />
36- <PackageVersion Include =" Koalesce.OpenAPI " Version =" 1.0.0-alpha.12 " />
36+ <PackageVersion Include =" Koalesce" Version =" 1.0.0-beta.1 " />
3737 </ItemGroup >
3838
3939 <ItemGroup Label =" Event Sourcing and Messaging" >
Original file line number Diff line number Diff line change 1313 </PropertyGroup >
1414
1515 <ItemGroup >
16- <PackageReference Include =" Koalesce.OpenAPI " />
16+ <PackageReference Include =" Koalesce" />
1717 <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" />
1818 <PackageReference Include =" Ocelot" />
1919 </ItemGroup >
Original file line number Diff line number Diff line change 33global using Microsoft . Extensions . Options ;
44global using Ocelot . DependencyInjection ;
55global using Ocelot . Middleware ;
6- global using Koalesce . Core . Extensions ;
7- global using Koalesce . OpenAPI . Extensions ;
6+ global using Koalesce . Extensions ;
7+ global using Koalesce . Options ;
Original file line number Diff line number Diff line change 4141
4242
4343// Register Koalesce
44- services . AddKoalesce ( builder . Configuration )
45- . ForOpenAPI ( ) ;
44+ services . AddKoalesce ( builder . Configuration ) ;
4645
4746// Build the app
4847var app = builder . Build ( ) ;
6968 // Enable Swagger UI
7069 app . UseSwaggerUI ( c =>
7170 {
72- c . SwaggerEndpoint ( koalesceOptions . MergedDocumentPath , koalesceOptions . Title ) ;
71+ c . SwaggerEndpoint ( koalesceOptions . MergedEndpoint , koalesceOptions . Title ) ;
7372 } ) ;
7473}
7574
Original file line number Diff line number Diff line change 1212 "Koalesce" : {
1313 "OpenApiVersion" : " 3.0.1" ,
1414 "Title" : " Ecommerce DDD API Gateway" ,
15- "Sources" : [
15+ "Sources" : [
1616 {
1717 "Url" : " http://ecommerceddd-identityserver/swagger/v2/swagger.json" ,
1818 "ExcludePaths" : [
5252 "VirtualPrefix" : " /orderProcessing"
5353 }
5454 ],
55- "MergedDocumentPath " : " /swagger/v2/apigateway.yaml" ,
55+ "MergedEndpoint " : " /swagger/v2/apigateway.yaml" ,
5656 "ApiGatewayBaseUrl" : " http://localhost:5000" ,
57- "SchemaConflictPattern" : " {Prefix}{SchemaName}" ,
5857 "Cache" : {
5958 "MinExpirationSeconds" : 10 ,
6059 "SlidingExpirationSeconds" : 10
You can’t perform that action at this time.
0 commit comments