Skip to content

Commit fc6b179

Browse files
author
Luis Fernando Planella Gonzalez
committed
Operations whose ids are reserved cause errors in index file
Fixes #383
1 parent 171e3e7 commit fc6b179

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

templates/index.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export type { {{responseClass}} } from './{{{responseFile}}}';
1414
{{#services}}export { {{typeName}} } from './services/{{{fileName}}}';
1515
{{/services}}{{/if}}
1616
{{#functions}}export type { {{paramsType}} } from './{{{importPath}}}/{{{importFile}}}';
17-
export { {{methodName}} } from './{{{importPath}}}/{{{importFile}}}';
17+
export { {{importName}} } from './{{{importPath}}}/{{{importFile}}}';
1818
{{/functions}}

test/all-operations.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"input": "all-operations.json",
44
"output": "out/all-operations",
55
"defaultTag": "noTag",
6+
"indexFile": true,
67
"excludeParameters": [
78
"X-Exclude"
89
],

0 commit comments

Comments
 (0)