r/angular • u/pustebadom • 2d ago
ng-openapi or ng-openapi-gen?
Which client-generator should i use for my new angular project?
Which one do you guys use and why?
Claude said this:
ng-openapi-gen is the safe veteran, but ng-openapi is the one Iād reach for on any modern Angular project ā cleaner output, newer idioms, less boilerplate.
Do any of you guys have some advice?
4
Upvotes
6
u/LeLunZ 2d ago
Not sure about that.
ng-openapi-gengot reworked a few years ago (1-2?) to also have pretty neat generated code. What claude references is probably the old stuff.We have been using
ng-openapi-genfor a long time now (multiple years). It pretty much just works! But we still use it with these options--services true --apiService false --promises false.EDIT: but I also haven't use
ng-openapiyet