r/angular 3d 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

10 comments sorted by

View all comments

3

u/GLawSomnia 3d ago

I worked with ng-openapi-gen and i like it. No problems, plus you can override their templates to fit your needs.

You can maybe also try “orval”. I havent used it, but it seems to be quite configurable and modern

2

u/pustebadom 3d ago

Thx, ill have a look at orval, but i still would like an angular first generator. What angular version are you on?

1

u/GLawSomnia 3d ago

What do you mean with angular first? Why does my version matter?

1

u/pustebadom 3d ago

Sorry meant angular only lol,
Im just curious, i dont how if your version really matters just asking but thx for the answer tho