Skip to content

Commit f09b0c7

Browse files
Removed Service name from methods
1 parent 6b03f8c commit f09b0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/writeClientServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export const writeClientServices = async (
4141
p.isRequired = false
4242
}
4343
}
44+
op.name = op.name.replace(service.name, '');
4445
}
4546

46-
4747
const file = resolve(outputPath, `${service.name}${postfix}.ts`);
4848
const templateResult = templates.exports.service({
4949
...service,

0 commit comments

Comments
 (0)