···11+---
22+"@hey-api/openapi-ts": patch
33+---
44+55+fix: output path no longer required to be within cwd
-5
packages/openapi-ts/src/index.ts
···1010import { getConfig, setConfig } from './utils/config';
1111import { getOpenApiSpec } from './utils/getOpenApiSpec';
1212import { registerHandlebarTemplates } from './utils/handlebars';
1313-import { isSubDirectory } from './utils/isSubdirectory';
1413import { postProcessClient } from './utils/postprocess';
1514import { writeClient } from './utils/write/client';
1615···124123125124 if (!userConfig.output) {
126125 throw new Error('🚫 output not provided - provide path where we should generate your client');
127127- }
128128-129129- if (!isSubDirectory(process.cwd(), userConfig.output)) {
130130- throw new Error('🚫 output must be within the current working directory');
131126 }
132127133128 if (postfixServices && postfixServices !== 'Service') {