We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
apiFile
1 parent b678c9b commit 2bb44b9Copy full SHA for 2bb44b9
packages/rtk-query-codegen-openapi/src/generate.ts
@@ -102,6 +102,7 @@ export async function generateApi(
102
outputFile = path.resolve(process.cwd(), outputFile);
103
if (apiFile.startsWith('.')) {
104
apiFile = path.relative(path.dirname(outputFile), apiFile);
105
+ apiFile = apiFile.replace(/\\/g, '/')
106
if (!apiFile.startsWith('.')) apiFile = './' + apiFile;
107
}
108
0 commit comments