swagger-api / swagger-api/swagger-codegen
[JAVASCRIPT] Only generate api without the models
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using a generated swagger client in a reactjs project where we use Immutable, I would like to get the data as a json map instead of models. Is it only me that have a need for something like this?
An alternative would be to implement a toJSON() that would return the object representation.
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
Start by reading the JavaScript generator templates that produce the API client and models. Compare the two requested outcomes—generating the API without models or adding a toJSON() representation—and determine which behavior fits the existing generated client. Done means the selected behavior works for a generated client and its output is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, openapi, react
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100