
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@orval/angular
Advanced tools
@orval/angularAngular generator support for Orval.
This package powers Orval's Angular output and is responsible for generating:
HttpClient service classeshttpResource helpersboth mode output with service classes plus sibling *.resource.ts
filesIn most application projects you configure Angular output through the main
orval package. This package exists so the Angular generator can be versioned,
tested, and consumed as a standalone builder inside the Orval monorepo.
Visit orval.dev for guides, API docs, and examples.
@orval/angular supports three Angular retrieval modes through
override.angular.retrievalClient (or the legacy override.angular.client
alias):
| Mode | Generated output | Best for |
|---|---|---|
httpClient | Retrievals stay on injectable Angular service classes | Conventional service-based Angular APIs |
httpResource | Signal-first resource helpers for retrieval-style operations | Angular apps using signals for read flows |
both | Service classes plus sibling *.resource.ts retrieval helpers | Projects that want signal-first reads and imperative writes |
Mutation-style operations continue to use generated HttpClient service
methods by default unless a per-operation override changes classification.
If override.angular.retrievalClient is omitted, Angular generation defaults to
httpClient mode.
import { defineConfig } from 'orval';
export default defineConfig({
petstore: {
input: {
target: './petstore.yaml',
},
output: {
client: 'angular',
target: 'src/api/petstore.ts',
schemas: 'src/api/model',
mode: 'tags-split',
override: {
angular: {
retrievalClient: 'httpResource',
runtimeValidation: true,
},
},
},
},
});
For end-user docs and richer examples, see:
This package includes support for:
HttpClient observe overload generationhttpResourceAccept helpersdefaultValue, debugName, injector, and
equalClientResult / ResourceResult aliasesResourceState<T> and toResourceState() helpers for resource integrationUseful package-local scripts:
pnpm --filter @orval/angular buildpnpm --filter @orval/angular testpnpm --filter @orval/angular lintpnpm --filter @orval/angular typecheckYou can explore additional Orval samples here:
FAQs
Unknown package
The npm package @orval/angular receives a total of 686,412 weekly downloads. As such, @orval/angular popularity was classified as popular.
We found that @orval/angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.