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
·
apple avatar

apple/swift-openapi-generator

0
View on GitHub↗
1,935 stars·171 forks·Swift·Apache-2.0·10 vuesswiftpackageindex.com/apple/swift-openapi-generator/documentation↗

Swift Openapi Generator

Le Swift OpenAPI Generator est un outil de build qui produit du code client et serveur Swift typé directement à partir de documents de spécification OpenAPI. En s'intégrant aux systèmes de build via des plugins natifs, il automatise la création d'interfaces fortement typées et de stubs de protocole qui mappent les opérations réseau aux méthodes natives, garantissant que le code de l'application reste strictement cohérent avec les schémas de données définis.

Le projet se distingue par une architecture orientée protocole qui découple la logique métier des implémentations de transport spécifiques. Il utilise une couche de transport enfichable et une interception de requête basée sur un middleware pour gérer les préoccupations transversales telles que l'authentification, la journalisation et la collecte de métriques. Cette conception permet aux développeurs de maintenir une couche de communication cohérente tout en restant agnostiques des frameworks web sous-jacents ou des détails de transmission réseau.

Le générateur prend en charge un large éventail de capacités, incluant le mappage de données piloté par schéma et la négociation de contenu pour divers formats. Il fournit une gestion efficace en mémoire des grandes charges utiles via un traitement de flux incrémentiel, ce qui permet l'échange de données complexes sans charger l'intégralité du contenu en mémoire. L'ensemble d'outils inclut également des utilitaires pour les tests de contrat automatisés et la génération de documentation interactive pour aider à valider les exigences des endpoints.

Features

  • Swift Code Generators - Provides a build-time tool that generates type-safe Swift client and server code from OpenAPI specifications.
  • Type-Safe Client Generators - Generates strongly-typed client code from API specifications to map network operations to native methods.
  • Server Stub Generation - Generates server-side protocol stubs from API specifications to enforce request handling requirements.
  • Schema-Driven Data Modeling - Automatically converts raw network payloads into strongly-typed structures based on defined API schemas.
  • OpenAPI Client SDK Generators - Generates type-safe network clients directly from API specifications to ensure consistent communication with external services.
  • Compile-Time Code Generation - Transforms API specification files into native source code during the build process to ensure strict type safety.
  • Code from Specification Generators - Automates the production of source code from API specifications through build system integration.
  • Request Interception Middleware - Wraps network calls in a chain of processing layers to inject cross-cutting concerns like authentication and logging.
  • Request Interception Middleware - Implements middleware pipelines for intercepting, validating, and modifying network traffic to handle cross-cutting concerns.
  • Server-Side Frameworks - Creates robust server stubs from OpenAPI documents to enforce request handling requirements in backend services.
  • Memory-Efficient Data Streaming - Handles large request and response payloads incrementally to maintain memory efficiency during network exchanges.
  • Incremental Data Streaming - Processes large data streams in chunks to maintain memory efficiency when handling high-volume network payloads.
  • API Contract Validation - Verifies that network code remains strictly consistent with defined data schemas by validating implementations during the build.
  • Build Plugin Code Generators - Integrates with build systems via native plugins to automate network code generation during compilation.
  • Pluggable Transport Layers - Provides modular interfaces that allow swapping the underlying network transport implementation while remaining agnostic.
  • Protocol-Oriented Injection - Uses abstract protocols to decouple business logic from specific transport implementations and web frameworks.
  • Authentication Middlewares - Applies cross-cutting logic to network operations through modular and reusable middleware layers.
  • Content Negotiation - Provides utilities for extending support for custom media types and encoding logic to ensure flexible communication.
  • Interactive API Documentation UIs - Renders API specifications into interactive web-based interfaces for browsing and testing endpoints directly in the browser.
  • Incremental Body Processing - Handles large request and response payloads incrementally to maintain memory efficiency during network communication.

Historique des stars

Graphique de l'historique des stars pour apple/swift-openapi-generatorGraphique de l'historique des stars pour apple/swift-openapi-generator

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 Swift Openapi Generator

Sélections manuelles où Swift Openapi Generator apparaît.
  • Générateurs de code client OpenAPI

Alternatives open source à Swift Openapi Generator

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Swift Openapi Generator.
  • 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
  • ferdikoomen/openapi-typescript-codegenAvatar de ferdikoomen

    ferdikoomen/openapi-typescript-codegen

    3,369Voir sur 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

    TypeScriptangularaxioscodegen
    Voir sur GitHub↗3,369
  • 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
Voir les 30 alternatives à Swift Openapi Generator→

Questions fréquentes

Que fait apple/swift-openapi-generator ?

Le Swift OpenAPI Generator est un outil de build qui produit du code client et serveur Swift typé directement à partir de documents de spécification OpenAPI. En s'intégrant aux systèmes de build via des plugins natifs, il automatise la création d'interfaces fortement typées et de stubs de protocole qui mappent les opérations réseau aux méthodes natives, garantissant que le code de l'application reste strictement cohérent avec les schémas de données définis.

Quelles sont les fonctionnalités principales de apple/swift-openapi-generator ?

Les fonctionnalités principales de apple/swift-openapi-generator sont : Swift Code Generators, Type-Safe Client Generators, Server Stub Generation, Schema-Driven Data Modeling, OpenAPI Client SDK Generators, Compile-Time Code Generation, Code from Specification Generators, Request Interception Middleware.

Quelles sont les alternatives open-source à apple/swift-openapi-generator ?

Les alternatives open-source à apple/swift-openapi-generator incluent : hey-api/openapi-ts — openapi-ts is a tool and orchestrator used to convert OpenAPI specifications into type-safe TypeScript SDKs and HTTP… ferdikoomen/openapi-typescript-codegen — Openapi-typescript-codegen is a code generation tool that parses OpenAPI specification files, URLs, or strings to… 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… acacode/swagger-typescript-api — swagger-typescript-api is a utility that parses OpenAPI definitions to generate strongly typed data models and service… go-swagger/go-swagger — go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and…