swagger-api / swagger-api/swagger-codegen
[Typescript-Node] mime type text/event-stream not handled properly
Open
Nobody has claimed this yet.
Client: TypeScript
General: Suggestion
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Client generated for mime type text/event-stream is using Promises, should be using a stream handler.
Swagger-codegen version
I'm using editor.swagger.io.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the TypeScript-Node client generator but no source files or tests. Start by tracing how the generator handles the text/event-stream MIME type, compare the generated Promise client with the expected stream handler, and verify that generated clients use streaming for this MIME type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100