Fifty

Results 15 comments of Fifty

As always: TSOA cannot handle interface properties that use already-initialized enums.

> The `BodyInit` error happens because the generated client expects DOM types (like `BodyInit` from the Fetch API), which aren't included by default in Node.js or non-browser TypeScript projects. To...

> > The `BodyInit` error happens because the generated client expects DOM types (like `BodyInit` from the Fetch API), which aren't included by default in Node.js or non-browser TypeScript projects....

> Glad the BodyInit issue is fixed! The unused [@ts-expect-error](https://github.com/ts-expect-error) warning happens because the generator adds this directive as a precaution, but if TypeScript doesn't see an error on the...

```ts public static getServer(parameters: { id: string; }, options?: Options) { const params = buildClientParams([ parameters ], [ { in: 'path', key: 'id' } ]); return (options?.client ?? client).get({ responseStyle:...

`return await ServersService.getServer({ id: "1335279038599663729" });` that is how the function should be called. this pretty looks like a bug from heyapi @dosu

Logged the output: `buildClientParams`: ```ts { path: { id: { id: '1335279038599663729' } } } ```

> Hello! > > I'm also facing this issue. Additionally, `flat` `paramsStructure` does not use the body parameter in request. > > Any ETA on solving this? This is a...

> > Hello! > > I'm also facing this issue. Additionally, `flat` `paramsStructure` does not use the body parameter in request. > > Any ETA on solving this? This is...

> Generated code now correctly wraps fields: > > ```ts > const params = buildClientParams([parameters], [ > { > args: [ > { in: 'path', key: 'id' } > ]...