Swift OpenAPI Generator هي أداة وقت بناء تنتج كود عميل وخادم Swift آمن للأنواع مباشرة من مستندات مواصفات OpenAPI. من خلال التكامل مع أنظمة البناء عبر المكونات الإضافية الأصلية، فإنها تؤتمت إنشاء واجهات مكتوبة بقوة وكعوب بروتوكول تربط عمليات الشبكة بالطرق الأصلية، مما يضمن بقاء كود التطبيق متسقاً تماماً مع مخططات البيانات المحددة.
الميزات الرئيسية لـ apple/swift-openapi-generator هي: 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.
تشمل البدائل مفتوحة المصدر لـ apple/swift-openapi-generator: 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…
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
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
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
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