Orval screenshot

Orval

Author Avatar Theme by Orval labs
Updated: 19 Jan 2026
5191 Stars

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats.

Categories

Overview

Orval is a powerful tool designed for developers looking to generate type-safe JavaScript clients from OpenAPI v3 or Swagger v2 specifications. This utility is particularly handy for those working with various frameworks, as it simplifies the process of creating requests, hooks, and other necessary components based on API definitions. With its latest version, 8.0.0+, Orval brings a wealth of improvements, making it more efficient and user-friendly for developers focusing on TypeScript applications.

Whether you are building with React, Angular, or other modern frameworks, Orval caters to a wide array of client types, supporting both JSON and YAML formats. Its Playground feature allows users to test functionalities live, making it an excellent resource for developers at any level.

Features

  • Type-Safe Clients: Automatically generates type-safe JavaScript clients from valid OpenAPI v3 or Swagger v2 specifications, ensuring robust and reliable code.

  • Multi-Framework Support: Compatible with popular frameworks like React, Angular, and Vue.js, allowing developers to generate models and requests tailored to their stack.

  • Comprehensive Development Workflow: Built-in scripts for cleaning, building, and testing the project streamline the development process, from initial setup to verification of code changes.

  • Yarn Package Management: Utilizes Yarn for easy installation and management of dependencies, simplifying the setup for developers familiar with this ecosystem.

  • Sample Generation: Quickly generate sample outputs to help visualize and test the generated code, enhancing development efficiency.

  • Continuous Testing: Incorporates unit testing and validation scripts to ensure that all generated code is functionally sound and complies with TypeScript syntax.

  • Migration Guide: Provides a clear migration guide for transitioning to version 8.0.0+, making it easier for existing users to update without confusion.

  • Community Support: Acknowledges backers and sponsors, fostering a sense of community and encouraging ongoing development through collective support.