Skip to content

Commit 9203775

Browse files
committed
fix a few things
1 parent b410e66 commit 9203775

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

modules/openapi-generator/src/main/resources/typescript-fetch/ApiEntitiesRecord.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {Map, Record, RecordOf} from 'immutable';
55
{{#isEntity}}
66
import {
77
{{classname}}RecordEntity,
8-
} from "./models/{{classname}}"
8+
} from "./models/{{classname}}{{importFileExtension}}"
99
{{/isEntity}}
1010
{{/model}}
1111
{{/models}}

modules/openapi-generator/src/main/resources/typescript-fetch/allSagas.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {all, fork} from "redux-saga/effects";
44
{{#apis}}
55
import {
66
{{#lambda.camelcase}}{{classFilename}}{{/lambda.camelcase}}AllSagas,
7-
} from "./classFilename";
7+
} from "./{{classFilename}}{{importFileExtension}}";
88
{{/apis}}
99
{{/apiInfo}}
1010

modules/openapi-generator/src/main/resources/typescript-fetch/apis.mustache

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@
55

66
import * as runtime from '../runtime{{importFileExtension}}';
77
{{#imports}}
8-
import type {
9-
{{className}},
10-
} from '../models/{{className}}{{importFileExtension}}';
118
{{^withoutRuntimeChecks}}
129
import {
13-
{{className}},
10+
type {{className}},
1411
{{className}}FromJSON,
1512
{{className}}ToJSON,
1613
} from '../models/{{className}}{{importFileExtension}}';
1714
{{/withoutRuntimeChecks}}
1815
{{/imports}}
1916

20-
2117
{{#operations}}
2218
{{#operation}}
2319
{{#allParams.0}}

0 commit comments

Comments
 (0)