Skip to content

Commit ba3bb08

Browse files
authored
Merge pull request #9951 from swagger-api/issue-9934
import models only when they exist
2 parents 8fc3c96 + 0d74e62 commit ba3bb08

File tree

1 file changed

+4
-0
lines changed
  • modules/swagger-codegen/src/main/resources/typescript-angular

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
export * from './api/api';
2+
{{#models}}
3+
{{#-first}}
24
export * from './model/models';
5+
{{/-first}}
6+
{{/models}}
37
export * from './variables';
48
export * from './configuration';
59
export * from './api.module';

0 commit comments

Comments
 (0)