Skip to content

Commit 01469da

Browse files
committed
Fixed bug Swagger is not working for the services dotnet-architecture#290
1 parent 2a7dafd commit 01469da

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/Services/Basket/Basket.API/Basket.API.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<ItemGroup>
1919
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.1.0" />
20+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
2021
<PackageReference Include="StackExchange.Redis" Version="1.2.3" />
2122
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.0.0" />
2223
<PackageReference Include="System.Threading" Version="4.3.0" />

src/Services/Catalog/Catalog.API/Catalog.API.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.Abstractions" Version="2.0.0" />
3939
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.0.0" />
4040
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.0.0" />
41+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
4142
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0" />
4243
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
4344
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.0.0" />

src/Services/Location/Locations.API/Locations.API.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.1.0-beta6" />
1616
<PackageReference Include="Microsoft.AspNetCore" Version="2.0.0" />
1717
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
18+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
1819
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.0" />
1920
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.0" />
2021
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.0.0" />

src/Services/Ordering/Ordering.API/Ordering.API.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
4040
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.0.0" />
4141
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.0.0" />
42+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
4243
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="2.0.0" />
4344
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0" />
4445
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />

0 commit comments

Comments
 (0)