awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Typed API client

Ranking updated Jul 24, 2026

For strongly typed client interfaces, the strongest matches are azure/autorest (AutoRest generates type-safe multi-language HTTP client libraries from OpenAPI), acacode/swagger-typescript-api (This project parses OpenAPI definitions to generate strongly typed) and astahmer/openapi-zod-client (This command-line tool generates end-to-end type-safe TypeScript clients directly). hey-api/openapi-ts and orval-labs/orval round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Hand-picked strongly typed API client libraries for GitHub, ranked by stars and activity. Compare the top alternatives and pick the right one.

Typed API client

Find the best repos with AI.We'll search the best matching repositories with AI.
  • azure/autorestAzure avatar

    Azure/autorest

    4,798View on GitHub↗

    AutoRest is a multi-language SDK generator and OpenAPI code generator designed to produce consistent software development kits from a single API definition. It functions as a REST API client generator that transforms Swagger and OpenAPI specification files into functional, typed HTTP client libraries. The tool automates the SDK development workflow by converting design documents into source code, ensuring that the resulting implementations match the defined API contract across different programming languages. The system employs specification-driven development using an intermediate represent

    AutoRest generates type-safe multi-language HTTP client libraries from OpenAPI and Swagger specifications, directly fitting the core need for contract-driven code generation.

    TypeSpecOpenAPI Client SDK GeneratorsAPI Client Generators
    View on GitHub↗4,798
  • acacode/swagger-typescript-apiacacode avatar

    acacode/swagger-typescript-api

    4,093View on 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

    This project parses OpenAPI definitions to generate strongly typed TypeScript API clients, fitting the required core capability despite lacking RPC support and built-in runtime validation.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗4,093
  • astahmer/openapi-zod-clientastahmer avatar

    astahmer/openapi-zod-client

    1,172View on GitHub↗

    This project is a command-line tool that automates the creation of type-safe TypeScript HTTP clients directly from OpenAPI specifications. By transforming service definitions into structured source code, it ensures end-to-end type synchronization and enforces runtime data integrity across network boundaries. The generator distinguishes itself by mapping OpenAPI data structures into Zod validation schemas, allowing for consistent schema-driven type mapping and response validation. It supports deduplicated source synthesis to minimize redundancy in the generated output and provides template cus

    This command-line tool generates end-to-end type-safe TypeScript clients directly from OpenAPI specifications with built-in Zod runtime validation, though it lacks RPC support and framework-agnostic reactive queries.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗1,172
  • hey-api/openapi-tshey-api avatar

    hey-api/openapi-ts

    4,128View on GitHub↗

    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 n

    This repository generates type-safe TypeScript SDKs and HTTP client implementations directly from OpenAPI specifications using a plugin-based architecture, perfectly matching your search for an API client generator.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗4,128
  • orval-labs/orvalorval-labs avatar

    orval-labs/orval

    6,145View on 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

    Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients and data-fetching hooks with runtime validation support, making it a strong fit for your API client generation needs even though it focuses specifically on OpenAPI inputs rather than generic RPC definitions.

    TypeScriptOpenAPI Client SDK GeneratorsReact Query HooksTanStack
    View on GitHub↗6,145
  • ts-rest/ts-restts-rest avatar

    ts-rest/ts-rest

    3,262View on GitHub↗

    ts-rest is a TypeScript toolkit for building type-safe APIs by defining a shared contract that connects client and server code. The core idea is to specify endpoints, methods, request and response shapes in a single contract, then use that contract to generate fully typed clients and enforce server implementations that match the contract at compile time. The project provides a way to consume remote APIs through a client that infers request and response shapes from the shared contract, offering autocompletion and compile-time checks. On the server side, it enforces that handlers return correct

    It provides contract-first API development with shared definitions for end-to-end type safety and supports both client generation and OpenAPI integration, matching the visitor's core need despite lacking built-in RPC support.

    TypeScriptType-Safe API Clients
    View on GitHub↗3,262
  • middleapi/orpcmiddleapi avatar

    middleapi/orpc

    4,862View on GitHub↗

    orpc is a contract-first API development framework for TypeScript that starts with a shared contract definition and generates type-safe clients and servers from that single source of truth. It guarantees end-to-end type safety, meaning inputs, outputs, errors, and streaming data are all checked at compile time across the client–server boundary. What distinguishes orpc from typical RPC frameworks is its ability to export contracts as OpenAPI specifications, to optimize server-side rendering by calling API handlers directly inside the server process, and to support real‑time bidirectional commu

    orpc is a contract-first framework that generates end-to-end type-safe API clients and servers from shared TypeScript definitions while also supporting OpenAPI exports and RPC patterns.

    TypeScriptRemote Procedure CallsType-Safe API ClientsJavaScript-Native RPC Protocols
    View on GitHub↗4,862
  • openapitools/openapi-generator-cliOpenAPITools avatar

    OpenAPITools/openapi-generator-cli

    1,956View on GitHub↗

    OpenAPI Generator CLI is a command-line utility designed to automate the creation of API artifacts from specification files. It functions as a tool for generating client libraries, server stubs, and documentation, enabling developers to produce consistent boilerplate code and reference materials across various programming languages. The project provides a wrapper that manages the lifecycle of a Java-based execution engine, which performs the actual code synthesis using logic-less templates. To ensure reproducible results and avoid dependency conflicts on the host system, the tool supports ver

    OpenAPI Generator CLI automatically produces type-safe client libraries and server stubs from OpenAPI specifications, making it a solid command-line choice for bridging backend definitions and frontend consumers.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗1,956
  • microsoft/kiotamicrosoft avatar

    microsoft/kiota

    3,777View on GitHub↗

    Kiota is a multi-language SDK generator and REST API client orchestrator that transforms OpenAPI descriptions into strongly typed client libraries. It provides a framework for managing API specifications and generating typed interfaces to eliminate manual boilerplate development. The project utilizes a template-driven source emission system to map API specifications to native language types. It ensures consistency across environments using lock-file version syncing and organizes API endpoints into a nested object structure based on the hierarchical mapping of URI paths. The toolset includes

    Kiota is an OpenAPI-driven multi-language SDK and client generator that provides strong typing and framework-agnostic client code across multiple languages, though it focuses more on REST and SDK generation than TypeScript-specific RPC or built-in reactive queries.

    C#OpenAPI Client SDK Generators
    View on GitHub↗3,777
  • fern-api/fernfern-api avatar

    fern-api/fern

    3,680View on GitHub↗

    Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted developer documentation. It provides a utility for validating, transforming, and exporting API definitions into standardized OpenAPI formats, serving as a system to maintain a consistent source of truth for API designs. The project differentiates itself through an automated SDK distribution pipeline that publishes generated libraries to package managers such as npm, PyPI, Maven, and NuGet. It also includes an AI-powered search assistant trained on API and SDK specifications to answer

    Fern is a specification-driven API toolset that generates type-safe client libraries and documentation from backend definitions, fitting the core need for cross-network compile-time safety despite lacking built-in reactive queries.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗3,680
  • go-swagger/go-swaggergo-swagger avatar

    go-swagger/go-swagger

    9,989View on GitHub↗

    go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command

    This Go toolkit generates both client and server code from OpenAPI specifications to enforce schema consistency, though its primary focus is Go rather than the multi-language TypeScript generation typically desired for full-stack type safety.

    GoOpenAPI Client SDK GeneratorsAPI Client Generators
    View on GitHub↗9,989
  • trpc/trpctrpc avatar

    trpc/trpc

    40,348View on GitHub↗

    This project is an end-to-end type-safe API framework designed to synchronize data structures between frontend and backend codebases without the need for manual code generation. By leveraging TypeScript’s type inference, it allows developers to invoke server-side functions directly from the client as if they were local methods. This remote procedure call approach abstracts away the complexities of HTTP verbs and URL structures, streamlining the full-stack development workflow into a unified experience. The framework distinguishes itself through a modular router architecture that organizes bac

    This project provides end-to-end type safety between frontend and backend codebases using TypeScript inference rather than explicit schema generation, making it a closely related alternative for type-safe API communication.

    TypeScriptType-Safe API Clients
    View on GitHub↗40,348
  • openapitools/openapi-generatorOpenAPITools avatar

    OpenAPITools/openapi-generator

    26,412View on GitHub↗

    This project is a command-line tool and template-based scaffolding engine that transforms API interface specifications into functional client libraries and server stubs. By automating the creation of type-safe SDKs and boilerplate code, it bridges the gap between service definitions and implementation, allowing developers to maintain synchronized codebases across many programming languages. The tool distinguishes itself through a portable execution model that utilizes containerized build isolation to ensure identical output regardless of the host environment. It features a modular, plugin-bas

    This repository generates type-safe client libraries from OpenAPI and Swagger specifications, directly fulfilling the core requirement for API client generation even though it operates as a CLI code-scaffolding engine rather than an embedded reactive query library.

    JavaAPI Client SDK GeneratorsCode GeneratorsTemplate Engines
    View on GitHub↗26,412
  • swagger-api/swagger-codegenswagger-api avatar

    swagger-api/swagger-codegen

    17,760View on GitHub↗

    Swagger Codegen is a template-driven engine and multi-language toolkit used to generate API client SDKs, server stubs, and human-readable documentation from OpenAPI specifications. It translates these specifications into functional libraries and boilerplate routing code across various target programming languages. The tool utilizes a pluggable generator module system and an integrated template engine, allowing for the customization of generated source code and the creation of new language-specific generators. It supports flexible specification sourcing via local files, remote HTTP endpoints,

    Swagger Codegen generates multi-language API client SDKs directly from OpenAPI specifications to ensure contract-based consistency, though it focuses on general SDK generation rather than modern TypeScript-first end-to-end type safety.

    MustacheClient Library GenerationClient Library GeneratorsAPI Client SDK Generators
    View on GitHub↗17,760
  • vojtechhabarta/typescript-generatorvojtechhabarta avatar

    vojtechhabarta/typescript-generator

    1,216View on GitHub↗

    TypeScript generator is a build tool that parses backend class structures and REST endpoints in Java to generate corresponding TypeScript types and client services. It functions as both a static type definition generator and a Java REST client generator, translating compiled class properties, collections, and server-side endpoint definitions into equivalent frontend type definitions and client-side service classes. The tool builds an abstract syntax representation from scanned bytecode using reflection and compiles output through configurable module scoping, formatting declarations into globa

    This tool generates TypeScript client code from Java and JAX-RS definitions to provide compile-time safety across the network boundary, making it a relevant option despite lacking OpenAPI, RPC, and runtime validation features.

    JavaTypeScript Type Generators
    View on GitHub↗1,216
  • ferdikoomen/openapi-typescript-codegenferdikoomen avatar

    ferdikoomen/openapi-typescript-codegen

    3,369View on GitHub↗

    Openapi-typescript-codegen is a code generation tool that parses OpenAPI specification files, URLs, or strings to build type-safe TypeScript or JavaScript network clients. It transforms raw API definitions into structured internal abstract syntax trees before mapping them onto custom text templates. The tool provides a pluggable network layer that supports interchangeable transport libraries such as Fetch or Axios. It normalizes diverse endpoint structures into a unified internal schema to generate strongly typed client source code. Execution occurs synchronously through command line argumen

    This repository is a targeted generator for creating TypeScript and JavaScript clients directly from OpenAPI specifications, giving you strong network-boundary type safety despite lacking RPC support or runtime validation.

    TypeScriptOpenAPI Client SDK Generators
    View on GitHub↗3,369
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
azure/autorest4.8KTypeSpecMITJun 11, 2026
acacode/swagger-typescript-api4.1KTypeScriptMITJun 22, 2026
astahmer/openapi-zod-client1.2KTypeScript—Feb 10, 2025
hey-api/openapi-ts4.1KTypeScriptmitFeb 20, 2026
orval-labs/orval6.1KTypeScriptMITJun 21, 2026
ts-rest/ts-rest3.3KTypeScriptmitFeb 6, 2026
middleapi/orpc4.9KTypeScriptmitFeb 19, 2026
openapitools/openapi-generator-cli2KTypeScriptApache-2.0Jun 15, 2026
microsoft/kiota3.8KC#MITJun 23, 2026
fern-api/fern3.7KTypeScriptApache-2.0Jun 26, 2026

Related searches

  • API client library
  • SOAP clients
  • Generic interface libraries
  • GUI and CLI clients
  • Client-side key-value stores
  • Local dashboard interface
  • an end-to-end type-safe API layer for TypeScript
  • UI component library