Last active
May 4, 2021 13:19
-
-
Save luisdeol/2de053eafb44887a8eada33173845d2e to your computer and use it in GitHub Desktop.
Artigo Boas Práticas - Startup.ConfigureServices DEPOIS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void ConfigureServices(IServiceCollection services) | |
{ | |
services | |
.AddApplication() | |
.AddInfrastructure(); | |
services.AddControllers(); | |
services.AddSwaggerGen(c => | |
{ | |
c.SwaggerDoc("v1", new OpenApiInfo { Title = "ArtigoBoasPraticas.API", Version = "v1" }); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment