orval-labs/orval

Docs: throwOnError option needs documentation in the official docs

Open

#3,364 opened on May 16, 2026

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (648 forks)auto 404
documentationgood first issue

Repository metrics

Stars
 (6,272 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the issue

The throwOnError option was recently added to GlobalOptions for the generate() function. This option changes error handling behavior but is not yet documented in the official orval documentation website.

Suggested improvement

Document the throwOnError option in:

  1. The API reference for generate()
  2. The configuration options page
  3. Any relevant guides about programmatic usage

Include a code example showing how to use it for custom error handling.

Contributor guide