File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/rtk-query-codegen-openapi/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 11import fs from 'node:fs' ;
22import { createRequire } from 'node:module' ;
33import path from 'node:path' ;
4+ import { generateApi } from './generate' ;
45import type { CommonOptions , ConfigFile , GenerationOptions , OutputFileOptions } from './types' ;
56import { isValidUrl , prettify } from './utils' ;
67export type { ConfigFile } from './types' ;
@@ -15,7 +16,6 @@ export async function generateEndpoints(options: GenerationOptions): Promise<str
1516 : path . resolve ( process . cwd ( ) , schemaLocation ) ;
1617
1718 const sourceCode = await enforceOazapftsTsVersion ( async ( ) => {
18- const { generateApi } = await import ( './generate.js' ) ;
1919 return generateApi ( schemaAbsPath , options ) ;
2020 } ) ;
2121 const { outputFile } = options ;
You can’t perform that action at this time.
0 commit comments