diff --git a/index.js b/index.js index 042182ff..90a27324 100755 --- a/index.js +++ b/index.js @@ -322,7 +322,7 @@ const main = async () => { ...options, name: options.name, url: options.path, - generateRouteTypes: options.routeTypes, + generateRouteTypes: options.generateRouteTypes, generateClient: !!(options.axios || options.client), httpClientType: options.axios ? HTTP_CLIENT.AXIOS : HTTP_CLIENT.FETCH, input: resolve(process.cwd(), options.path),