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
I get this type-error when I generate.
2781 | ...params: MaybeOptionalArg<z.infer<TEndpoint["parameters"]>> 2782 | ): Promise<z.infer<TEndpoint["response"]>> { > 2783 | return this.fetcher("options", this.baseUrl + path, params[0]) as Promise<z.infer<TEndpoint["response"]>>; | ^^^^^^^^^ 2784 | } 2785 | // </ApiClient.options> 2786 | }
I have a feeling it has something to do with the fact that options is missing here
options
typed-openapi/packages/typed-openapi/src/generator.ts
Line 237 in 146f110
My quick fix has been to add it in manually after I generate.
export type MutationMethod = "post" | "put" | "patch" | "delete"; export type Method = "get" | "head" | "options" | MutationMethod;
The text was updated successfully, but these errors were encountered:
Method
generateApiClient
No branches or pull requests
I get this type-error when I generate.
I have a feeling it has something to do with the fact that
options
is missing heretyped-openapi/packages/typed-openapi/src/generator.ts
Line 237 in 146f110
My quick fix has been to add it in manually after I generate.
The text was updated successfully, but these errors were encountered: