We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
swagger is well, and uploading file has been successed manually. but it is failed with generated function.
generated function
uploadPost = (data: { file?: File }, params: RequestParams = {}) => this.request<UploadAttachFileResponse, void>({ path: `/api/file/upload`, method: "POST", body: data, type: ContentType.FormData, ...params, });
manual successed code
const form = new FormData(); form.append('file', e.target.files[0]); const response = await axios.post( '/api/file/upload', form );
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
swagger is well,
and uploading file has been successed manually.
but it is failed with generated function.
generated function
manual successed code
The text was updated successfully, but these errors were encountered: