3 ms·
Yeah I disagree -- I personally found the TypeScript client to be quite usable, but maybe you've hit more edge cases than I have! Are there any issues for thes
by hardwaresofton 7y ago
Yeah I disagree -- I personally found the TypeScript client to be quite usable, but maybe you've hit more edge cases than I have!
Are there any issues for these corner cases you've filed that could use more attention? I don't maintain openapi-generator but I can definitely forward them to the maintainers
- kbenson 7y agoIt depends on both the target language (in that the quality of what's generated is variable, and the benefit it gains you is also variable based on how easy it is to get something usable in that language), and how well they defined the API using the spec. I've had a few times where the spec had slight inconsistencies and bugs that made working through and debugging the generated output take as long or longer than it would take to implement a client from scratch for the 20% of the API I actually need.
- fyp 7y agoI am currently evaluating whether I want to use the generators for a typescript node.js/react project. Which typescript generator are you using? Do you use typescript on the backend too and if so is it easy to keep the generated type definitions in sync? Also for backend what do you use for json schema validation?
- wing328hk 7y agoI would recommend the `typescript-angular` generator as a starting point for evaluation as it's pretty active and we just added Angular 9 support.
- hardwaresofton 7y agoI used and like typescript-axios