File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/resources/handlebars/aspnetcore Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ using Swashbuckle.AspNetCore.SwaggerGen;
7
7
using Newtonsoft.Json;
8
8
using System.ComponentModel.DataAnnotations;
9
9
using { {packageName} }.Attributes;
10
- using { {packageName} }.Security;
10
+ { {#hasAuthMethods } } using { {packageName} }.Security;{ {/hasAuthMethods } }
11
11
using Microsoft.AspNetCore.Authorization;
12
12
using { {modelPackage} };
13
13
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ using Newtonsoft.Json.Serialization;
11
11
using Swashbuckle.AspNetCore.Swagger;
12
12
using Swashbuckle.AspNetCore.SwaggerGen;
13
13
using { {packageName} }.Filters;
14
- using { {packageName} }.Security;
14
+ { {#hasAuthMethods } } using { {packageName} }.Security;{ {/hasAuthMethods } }
15
15
16
16
using Microsoft.AspNetCore.Authentication;
17
17
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ using Swashbuckle.AspNetCore.SwaggerGen;
14
14
using Newtonsoft.Json;
15
15
using System.ComponentModel.DataAnnotations;
16
16
using { {packageName} }.Attributes;
17
- using { {packageName} }.Security;
17
+ { {#hasAuthMethods } } using { {packageName} }.Security;{ {/hasAuthMethods } }
18
18
using { {packageName} }.Models;
19
19
20
20
namespace { {packageName} }.Controllers
You can’t perform that action at this time.
0 commit comments