awesome-repositories.com
Blog
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
acacode avatar

acacode/swagger-typescript-api

0
View on GitHub↗
4,093 stars·433 forks·TypeScript·MIT·2 viewsacacode.github.io/swagger-typescript-api↗

Swagger Typescript Api

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 OpenAPI data types and JSON schemas into TypeScript interfaces and type aliases. It provides static type inference to ensure compile-time safety for request and response payloads across the network layer.

Features

  • OpenAPI Client SDK Generators - Generates type-safe TypeScript client SDKs and data models directly from OpenAPI specifications.
  • OpenAPI Specification Parsers - Parses OpenAPI JSON and YAML definitions into internal representations to drive code generation.
  • Schema-Driven Code Generators - Produces TypeScript source code by parsing OpenAPI specification files and mapping schemas to language constructs.
  • Type-Safe Client Generators - Generates type-safe network request wrappers from API schemas to eliminate manual boilerplate.
  • OpenAPI to TypeScript Converters - Transforms OpenAPI data types and JSON schemas into corresponding TypeScript interfaces and type aliases.
  • Type-Safe API Integrations - Develops type-safe interfaces for external APIs in TypeScript to ensure data consistency between the server and client.
  • API Client Generators - Automates the generation of ready-to-use Axios network layers derived from API schemas.
  • Pluggable Transport Layers - Provides pluggable transport interfaces allowing users to switch between Fetch and Axios for network requests.
  • Request - Creates hard-coded type definitions from API specs to ensure compile-time safety for request and response payloads.
  • Typed Data Fetching - Adds strong TypeScript typing to native Fetch requests based on shared OpenAPI documents.

Star history

Star history chart for acacode/swagger-typescript-apiStar history chart for acacode/swagger-typescript-api

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Swagger Typescript Api

Hand-picked collections where Swagger Typescript Api appears.
  • OpenAPI Client Code Generators

Open-source alternatives to Swagger Typescript Api

Similar open-source projects, ranked by how many features they share with Swagger Typescript Api.
  • 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

    TypeScriptangularaxioscodegen
    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

    TypeScript
    View on GitHub↗6,145
  • 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

    TypeScriptapiaxioscli
    View on GitHub↗1,172
  • apple/swift-openapi-generatorapple avatar

    apple/swift-openapi-generator

    1,935View on 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
    View on GitHub↗1,935
See all 30 alternatives to Swagger Typescript Api→

Frequently asked questions

What does acacode/swagger-typescript-api do?

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.

What are the main features of acacode/swagger-typescript-api?

The main features of acacode/swagger-typescript-api are: OpenAPI Client SDK Generators, OpenAPI Specification Parsers, Schema-Driven Code Generators, Type-Safe Client Generators, OpenAPI to TypeScript Converters, Type-Safe API Integrations, API Client Generators, Pluggable Transport Layers.

What are some open-source alternatives to acacode/swagger-typescript-api?

Open-source alternatives to acacode/swagger-typescript-api include: hey-api/openapi-ts — openapi-ts is a tool and orchestrator used to convert OpenAPI specifications into type-safe TypeScript SDKs and HTTP… orval-labs/orval — Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock… astahmer/openapi-zod-client — This project is a command-line tool that automates the creation of type-safe TypeScript HTTP clients directly from… apple/swift-openapi-generator — The Swift OpenAPI Generator is a build-time tool that produces type-safe Swift client and server code directly from… openapi-ts/openapi-typescript — openapi-typescript is an OpenAPI TypeScript type generator and schema transformer. It converts JSON or YAML OpenAPI… ricosuter/nswag — NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and…