awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hey-api avatar

hey-api/openapi-ts

0
View on GitHub↗
4,128 estrellas·315 forks·TypeScript·mit·6 vistasheyapi.dev↗

Openapi Ts

openapi-ts is a tool and orchestrator used to convert OpenAPI specifications into type-safe TypeScript SDKs and HTTP client implementations. It automatically generates typed interfaces and request functions from API definitions to ensure consistency between the server and the client.

The project employs a transport-agnostic client interface, decoupling high-level API calls from the underlying network library. It uses a plugin-based generation pipeline and a custom plugin architecture to allow for the customization of output types and validation schemas.

The system provides capabilities for network layer abstraction and traffic interception through middleware. It also includes support for request cancellation to manage network lifecycles and maps JSON schema definitions to static TypeScript types.

Features

  • Type-Safe Client Generators - Automatically generates type-safe TypeScript SDKs and interfaces from OpenAPI specifications.
  • OpenAPI Client SDK Generators - Produces compatible client code and schema enums based on local or remote OpenAPI specifications.
  • API Specification Importers - Supports loading OpenAPI definitions from local files, remote URLs, or registries to drive client generation.
  • Schema-Driven Code Generators - Transforms OpenAPI specifications into TypeScript type definitions and client interfaces via an automated build process.
  • Pluggable Transport Layers - Decouples high-level API calls from network libraries using a swappable transport layer implementation.
  • HTTP Abstraction Layers - Encapsulates low-level network objects to provide a consistent high-level API across different runtimes.
  • API Client Generators - Converts API definitions into typed interfaces and request functions to ensure server-client consistency.
  • TypeScript Type Synthesis - Automatically synthesizes static TypeScript interfaces from JSON schema definitions.
  • HTTP Request Clients - Automates the creation of SDKs from API schemas to replace manual writing of request functions.
  • Type-Safe API Integrations - Synchronizes data schemas between client and server using OpenAPI specifications to ensure full TypeScript support.
  • Transport Abstractions - Provides a transport-agnostic client interface that decouples API calls from the underlying network library.
  • Runtime Compatibility Layers - Produces client code compatible with various networking libraries and web frameworks for cross-environment execution.
  • Middleware-Based Request Pipelines - Implements a modular chain of pluggable components to intercept and process network requests and responses.
  • HTTP Transport Configurations - Allows customizing the network layer by selecting specific libraries or native browser interfaces for different environments.
  • Request Cancellations - Implements a cancellable promise pattern to abort active network requests and save bandwidth.
  • Plugin Extenders - Enables extending functionality through custom plugins that interact with internal system interfaces.
  • Request Middleware - Sets up interceptors to handle cross-cutting concerns like authentication headers and activity logging.
  • Generation Pipeline Customization - Provides control over generated output by composing plugins to include specific types and validation schemas.
  • Plugin-Based Architectures - Uses a plugin-based architecture to allow customization of output types and validation schemas during generation.
  • Request Interception Middleware - Provides middleware pipeline handlers to intercept and modify outgoing requests and incoming responses.

Historial de estrellas

Gráfico del historial de estrellas de hey-api/openapi-tsGráfico del historial de estrellas de hey-api/openapi-ts

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Openapi Ts

Proyectos open-source similares, clasificados según cuántas características comparten con Openapi Ts.
  • orval-labs/orvalAvatar de orval-labs

    orval-labs/orval

    6,145Ver en GitHub↗

    Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati

    TypeScript
    Ver en GitHub↗6,145
  • acacode/swagger-typescript-apiAvatar de acacode

    acacode/swagger-typescript-api

    4,093Ver en GitHub↗

    swagger-typescript-api is a utility that parses OpenAPI definitions to generate strongly typed data models and service wrappers for web applications. It transforms OpenAPI specifications into type-safe TypeScript API clients, removing the need for manual request and response boilerplate. The generator produces interchangeable client logic via pluggable transport adapters, allowing users to switch between Fetch and Axios for network requests. It uses template-based source emission to inject generated types and methods into a consistent client structure. The project handles the mapping of Open

    TypeScript
    Ver en GitHub↗4,093
  • apple/swift-openapi-generatorAvatar de apple

    apple/swift-openapi-generator

    1,935Ver en GitHub↗

    The Swift OpenAPI Generator is a build-time tool that produces type-safe Swift client and server code directly from OpenAPI specification documents. By integrating with build systems through native plugins, it automates the creation of strongly-typed interfaces and protocol stubs that map network operations to native methods, ensuring that application code remains strictly consistent with defined data schemas. The project distinguishes itself through a protocol-oriented architecture that decouples business logic from specific transport implementations. It utilizes a pluggable transport layer

    Swiftios-swiftopenapiplugin
    Ver en GitHub↗1,935
  • elbywan/wretchAvatar de elbywan

    elbywan/wretch

    5,174Ver en GitHub↗

    Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration, response parsing, and error handling. It functions as a network request manager and middleware framework for managing the end-to-end lifecycle of HTTP calls. The project is distinguished by a fluent interface for request configuration and a modular extension system. It utilizes a programmable response resolver to automate parsing and a plugin-based architecture to add new capabilities to request and response objects. The library covers a broad range of operational capabilities,

    TypeScript
    Ver en GitHub↗5,174
Ver las 30 alternativas a Openapi Ts→

Preguntas frecuentes

¿Qué hace hey-api/openapi-ts?

openapi-ts is a tool and orchestrator used to convert OpenAPI specifications into type-safe TypeScript SDKs and HTTP client implementations. It automatically generates typed interfaces and request functions from API definitions to ensure consistency between the server and the client.

¿Cuáles son las características principales de hey-api/openapi-ts?

Las características principales de hey-api/openapi-ts son: Type-Safe Client Generators, OpenAPI Client SDK Generators, API Specification Importers, Schema-Driven Code Generators, Pluggable Transport Layers, HTTP Abstraction Layers, API Client Generators, TypeScript Type Synthesis.

¿Qué alternativas de código abierto existen para hey-api/openapi-ts?

Las alternativas de código abierto para hey-api/openapi-ts incluyen: orval-labs/orval — Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock… acacode/swagger-typescript-api — swagger-typescript-api is a utility that parses OpenAPI definitions to generate strongly typed data models and service… apple/swift-openapi-generator — The Swift OpenAPI Generator is a build-time tool that produces type-safe Swift client and server code directly from… elbywan/wretch — Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration,… dotansimha/graphql-code-generator — This project is a type-safe GraphQL client generator and TypeScript schema compiler. It transforms GraphQL schema… ricosuter/nswag — NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and…