Comments (3)
@Karakatiza666 are you able to create a StackBlitz example so we can debug this?
from openapi-ts.
Unfortunately now I don't really have the time to work on reproduction, hopefully I'll post something within a week
from openapi-ts.
Same problem here.
I'm using the axios client. You can see they have an example of how to work with streaming data in their docs: https://github.com/axios/axios?tab=readme-ov-file#axiosconfig
My code is doing exactly what they are showing, but I get the following warning from the browser:
The provided value 'stream' is not a valid enum value of type XMLHttpRequestResponseType.
await summarize({ path: { id }, responseType: 'stream' }).then((response) => {
response.data.on('data', (data) => {
console.log('axios', data); // nothing is printed
});
});
from openapi-ts.
Related Issues (20)
- Improper handling of array query types HOT 6
- Having trouble setting up client with next js and fetch api HOT 4
- Properties are declared `?` when they're not in the openapi spec HOT 5
- Type of error object changed HOT 2
- Cannot specify responseTransformer when request options include headers HOT 1
- Generating code based on multiple OpenAPI schemas HOT 3
- Automatic addition of the suffix `Schema` to the object names in `schemas.gen.ts` causes conflicts with `types.gen.ts` HOT 3
- Intergrate with `msw` mock service HOT 1
- Improve changelog
- Test bundle-require
- Angular client
- Posibility to add no client HOT 14
- Big int for Format int64 HOT 1
- Build Error in @hey-api/client-fetch v0.3.2: Unnamed ‘Client’ and ‘RequestOptionsBase’ Issues HOT 9
- Dynamic require of "child_process" is not supported HOT 3
- openapi-ts version 0.53.3 breaks esm build HOT 1
- Generating names with search parameters from URL HOT 5
- `@tanstack/react-query` is not compatible with `asClass` services HOT 5
- @hey-api/[email protected] doesn't export type RequestResult HOT 2
- @hey-api/client-fetch is incompatible with `asClass: true`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-ts.