For generador de código que crea clientes a partir de especificaciones OpenAPI, the strongest matches are swagger-api/swagger-codegen (Swagger Codegen is a mature template-driven engine that generates), openapitools/openapi-generator (OpenAPI Generator is a mature, CLI-based tool that automatically) and ricosuter/nswag (NSwag is a mature OpenAPI toolchain for). go-swagger/go-swagger and hey-api/openapi-ts round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Herramientas automatizadas que generan librerías cliente de API y SDKs con tipado seguro directamente desde archivos de especificación OpenAPI.
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 is a mature template-driven engine that generates multi-language API client SDKs from OpenAPI specs, fully supporting OpenAPI 3.0 and Swagger 2.0 with customizable templates and a CLI, making it a standout fit for this search.
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
OpenAPI Generator is a mature, CLI-based tool that automatically produces type-safe client libraries from OpenAPI specs, supporting many languages, both OpenAPI 3.0 and Swagger 2.0, customizable templates, security schemes, and idiomatic code—exactly what you need.
NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera
NSwag is a mature OpenAPI toolchain for .NET that automatically generates type-safe client libraries (including C# and TypeScript) from OpenAPI specs, supports both OpenAPI 3.0 and Swagger 2.0, offers customizable templates via hooks and partial classes, integrates security schemes, and provides CLI tools — making it a comprehensive fit for the visitor's need.
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
go-swagger generates Go API client code from OpenAPI 2.0 (Swagger) specifications, fitting the core purpose of automatic client generation, though it lacks multi-language output and OpenAPI 3.0 support.
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-ts generates type-safe TypeScript client SDKs from OpenAPI specs with a plugin-based pipeline for customization, fitting the core purpose but scoped to a single language rather than multi-language output.
oapi-codegen is a suite of generators that converts OpenAPI 3 specifications into type-safe Go client libraries, server boilerplate, and data models. It provides tools for producing production-ready HTTP clients and server-side interfaces to ensure that Go implementations remain compliant with defined API contracts. The tool supports server generation across various web frameworks and allows for extensive customization via template overrides, specification overlays, and custom type definition mappings. It handles complex API requirements through external reference resolution to organize code
oapi-codegen generates type-safe Go client libraries from OpenAPI specs with customizable templates and a CLI, directly matching your core need, but its Go-only focus limits multi-language client generation.
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
apple/swift-openapi-generator generates Swift client (and server) code from OpenAPI documents, making it a solid fit for generating API clients, though limited to Swift rather than multiple languages.
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
This is an npm wrapper for the OpenAPI Generator tool, which automatically produces API client libraries from OpenAPI specs, directly matching the intent.
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 tool generates TypeScript client libraries with Zod validation from OpenAPI specs, so it matches your search for an API client generator, though it is limited to a single language.