Skip to content

Commit 9f1a097

Browse files
authored
Merge pull request #572 from swagger-api/codegen-issue-9934
import models only when they exist
2 parents 4b74540 + b08818f commit 9f1a097

File tree

1 file changed

+4
-0
lines changed

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)