News for hackers. Stuff that matters.
Re:OpenAPI 3.0.3 Specification Released by hardwaresofton on Friday February 21, 2020 @01:12AM (#22381271)
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

Re:OpenAPI 3.0.3 Specification Released by kbenson on Friday February 21, 2020 @02:23AM (#22381493)
It 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.
Re:OpenAPI 3.0.3 Specification Released by fyp on Friday February 21, 2020 @08:50AM (#22383023)
I 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?

Re:OpenAPI 3.0.3 Specification Released by wing328hk on Friday February 21, 2020 @09:12AM (#22383186)
I would recommend the `typescript-angular` generator as a starting point for evaluation as it's pretty active and we just added Angular 9 support.
Re:OpenAPI 3.0.3 Specification Released by hardwaresofton on Friday February 21, 2020 @07:34PM (#22388484)
I used and like typescript-axios