baratgabor / MyWarehouse

Clean Architecture and Domain Driven Design sample project based on C# 10 / .NET 6 / ASP.NET Core 6 / EF Core 6 & Angular 11 with Bootstrap.
MIT License
243 stars 69 forks source link

Swagger module incorrectly placed in Infrastructure layer #30

Closed baratgabor closed 3 years ago

baratgabor commented 3 years ago

Swagger/SwaggerUI is clearly an API-concern that specifically relates to the presentation of the application core as a REST Web API.

I don't know why did I originally place it in the Infrastructure layer (I suppose I just wasn't thinking), but it should moved to the WebApi project.