Does `httpResource` cost you bundle size? I measured four Angular API generators
I maintain @constantant/openapi-resource-gen, InjectionToken per OpenAPI endpoint, each in its own file, so that Spec: the YouTube Data API v3 (76 endpoints). A minimal Angular 22 app that bootstraps and calls 1 endpoint, then 8 endpoints, built for production with the esbuild application builder. Contenders, each generating from the same spec with default-ish settings: this project (both its httpResource and its HttpClient flavours), Orval 8 (angular client, tags-split), ng-openapi-gen 1.1, Hey API's client-angular. Two controls, so every row can be read against what Angular itself costs: a p
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in