File tree Expand file tree Collapse file tree
src/Samples/AspNetCore.Jwt.Sample Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ public static void AddSwaggerConfiguration(this IServiceCollection services)
1515 {
1616 Title = "NetDevPack Identity Sample API" ,
1717 Description = "Developed by Eduardo Pires - Owner @ desenvolvedor.io" ,
18- Contact = new OpenApiContact ( ) { Name = "Eduardo Pires" , Email = "contato@eduardopires.net.br" } ,
19- License = new OpenApiLicense ( ) { Name = "MIT" , Url = new Uri ( "https://opensource.org/licenses/MIT" ) }
18+ Contact = new OpenApiContact { Name = "Eduardo Pires" , Email = "contato@eduardopires.net.br" } ,
19+ License = new OpenApiLicense { Name = "MIT" , Url = new Uri ( "https://opensource.org/licenses/MIT" ) }
2020 } ) ;
2121
2222 c . AddSecurityDefinition ( "Bearer" , new OpenApiSecurityScheme
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace AspNetCore.Jwt.Sample.Controllers
99 [ ApiController ]
1010 public abstract class MainController : ControllerBase
1111 {
12- public ICollection < string > Errors = new List < string > ( ) ;
12+ private readonly ICollection < string > Errors = new List < string > ( ) ;
1313
1414 protected ActionResult CustomResponse ( object result = null )
1515 {
You can’t perform that action at this time.
0 commit comments