We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the option --group-strategy=tag is defined, the generated client contains the following incorrect function definition:
--group-strategy=tag
export function createApiClient(baseUrl: string, options?: ZodiosOptions) { return new Zodios(baseUrl, endpoints, options); }
This causes compilation errors:
src/api/client/system.ts:161:60 - error TS2304: Cannot find name 'ZodiosOptions'. 161 export function createApiClient(baseUrl: string, options?: ZodiosOptions) { ~~~~~~~~~~~~~ src/api/client/system.ts:162:32 - error TS2304: Cannot find name 'endpoints'. 162 return new Zodios(baseUrl, endpoints, options); ~~~~~~~~~
The createApiClient function is not needed. If it is removed the generated code works as expected.
createApiClient
The text was updated successfully, but these errors were encountered:
this looks like it still exists in zodios side https://github.com/ecyrbe/zodios/blob/bc05f0fbfe51dd7db3fd89b27e3a92ed0c1c8559/website/docs/client/client.md?plain=1#L22
you can use a custom template to remove this import / the createApiClient
Sorry, something went wrong.
No branches or pull requests
When the option
--group-strategy=tag
is defined, the generated client contains the followingincorrect function definition:
This causes compilation errors:
The
createApiClient
function is not needed. If it is removed the generated code works as expected.The text was updated successfully, but these errors were encountered: