Skip to content

Commit e611ae3

Browse files
committed
fix unit test error remove not needed come
1 parent add6f91 commit e611ae3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/swagger-codegen/src/main/resources/typescript-angular/api.service.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { {{classname}}Interface } from './{{classFile
4646
{{/providedInRoot}}
4747
{{#providedInRoot}}
4848
@Injectable({
49-
providedIn: 'root',
49+
providedIn: 'root'
5050
})
5151
{{/providedInRoot}}
5252
{{#withInterfaces}}

modules/swagger-codegen/src/test/java/io/swagger/codegen/options/TypeScriptAngularClientOptionsProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public Map<String, String> createOptions() {
3535
.put(TypeScriptAngularClientCodegen.NPM_VERSION, NMP_VERSION)
3636
.put(TypeScriptAngularClientCodegen.SNAPSHOT, Boolean.FALSE.toString())
3737
.put(TypeScriptAngularClientCodegen.WITH_INTERFACES, Boolean.FALSE.toString())
38+
.put(TypeScriptAngularClientCodegen.PROVIDED_IN_ROOT, Boolean.FALSE.toString())
3839
.put(TypeScriptAngularClientCodegen.TAGGED_UNIONS, Boolean.FALSE.toString())
3940
.put(TypeScriptAngularClientCodegen.NPM_REPOSITORY, NPM_REPOSITORY)
4041
.put(TypeScriptAngularClientCodegen.NG_VERSION, NG_VERSION)

0 commit comments

Comments
 (0)