awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·3 vuesacacode.github.io/swagger-typescript-api↗

Swagger Typescript Api

swagger-typescript-api est un utilitaire qui analyse les définitions OpenAPI pour générer des modèles de données fortement typés et des wrappers de service pour les applications web. Il transforme les spécifications OpenAPI en clients API TypeScript typés, supprimant le besoin de code répétitif (boilerplate) manuel pour les requêtes et réponses.

Le générateur produit une logique client interchangeable via des adaptateurs de transport enfichables, permettant aux utilisateurs de basculer entre Fetch et Axios pour les requêtes réseau. Il utilise une émission de source basée sur des modèles pour injecter les types et méthodes générés dans une structure client cohérente.

Le projet gère le mappage des types de données OpenAPI et des schémas JSON en interfaces TypeScript et alias de type. Il fournit une inférence de type statique pour garantir la sécurité à la compilation pour les charges utiles de requête et de réponse à travers la couche réseau.

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.

Historique des stars

Graphique de l'historique des stars pour acacode/swagger-typescript-apiGraphique de l'historique des stars pour acacode/swagger-typescript-api

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Swagger Typescript Api

Sélections manuelles où Swagger Typescript Api apparaît.
  • Générateurs de code client OpenAPI

Alternatives open source à Swagger Typescript Api

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Swagger Typescript Api.
  • hey-api/openapi-tsAvatar de hey-api

    hey-api/openapi-ts

    4,128Voir sur 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
    Voir sur GitHub↗4,128
  • orval-labs/orvalAvatar de orval-labs

    orval-labs/orval

    6,145Voir sur 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
    Voir sur GitHub↗6,145
  • astahmer/openapi-zod-clientAvatar de astahmer

    astahmer/openapi-zod-client

    1,172Voir sur 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
    Voir sur GitHub↗1,172
  • apple/swift-openapi-generatorAvatar de apple

    apple/swift-openapi-generator

    1,935Voir sur 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
    Voir sur GitHub↗1,935
Voir les 30 alternatives à Swagger Typescript Api→

Questions fréquentes

Que fait acacode/swagger-typescript-api ?

swagger-typescript-api est un utilitaire qui analyse les définitions OpenAPI pour générer des modèles de données fortement typés et des wrappers de service pour les applications web. Il transforme les spécifications OpenAPI en clients API TypeScript typés, supprimant le besoin de code répétitif (boilerplate) manuel pour les requêtes et réponses.

Quelles sont les fonctionnalités principales de acacode/swagger-typescript-api ?

Les fonctionnalités principales de acacode/swagger-typescript-api sont : 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.

Quelles sont les alternatives open-source à acacode/swagger-typescript-api ?

Les alternatives open-source à acacode/swagger-typescript-api incluent : 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…