Open
Description
It would be great if the axios
and xhr
handlers supported per-request upload/download progress handlers. This is supported in the official openapi-generator package via client-specifc options that can be passed through to each request.
I'm not sure what would be the easiest path to support these handlers in this project. Fetch, Node, and Angular don't support progress callbacks, so maybe the quickest path would be to follow openapi-generator and accept optional request overrides on each request. These could even be opt-in via CLI arguments.
E.g.,
myService.uploadFile(fileBlob, {
onUploadProgress: (progress) => {},
// ... other client-specific request options
})
Metadata
Metadata
Assignees
Labels
No labels