Skip to content

Commit 81dfd7f

Browse files
committed
refactor: remove unused apiFunction.ts
1 parent 3d6079c commit 81dfd7f

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

src/openapiClient/functionGeneration/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ const operationToFunction = (
109109
}
110110

111111
imports.push('ConfigOverrides', 'clientConfig.js', true);
112-
imports.push('ApiFunction', 'apiFunction.js', true);
113112
imports.push(
114113
['HTTPInformational', 'HTTPSuccess', 'HTTPRedirection', 'HTTPClientError', 'HTTPServerError'],
115114
'HTTPStatusCode.js',

src/openapiClient/openapiToClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const processPaths = (
2323
logger.info('Mkdir', resolveAbsolutePath(outDir));
2424
fs.mkdirSync(resolveAbsolutePath(outDir), { recursive: true });
2525

26-
const sharedFiles = ['apiFunction.ts', 'clientConfig.ts', 'HTTPStatusCode.ts', 'request.ts'];
26+
const sharedFiles = ['clientConfig.ts', 'HTTPStatusCode.ts', 'request.ts'];
2727
for (const file of sharedFiles) {
2828
const filePath = {
2929
basePath: outDir.basePath,

src/openapiClient/output/apiFunction.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)