Skip to content

Commit

Permalink
fix: paths path use ts-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
liangskyli committed May 14, 2022
1 parent a002404 commit ebaad72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-gen-ts/src/gen/gen-interface-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const genInterfaceFile = async (opts: IOpts) => {

const interfaceAPIType: string[] = [];
interfaceAPIType.push(`${fileTip}
import type { paths } from '${requestFilePath ? requestFilePath : './ts-schema'}';
import type { paths } from './ts-schema';
`);
interfaceAPIType.push('\n export interface IApi {');

Expand Down

0 comments on commit ebaad72

Please sign in to comment.