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
·
swagger-api avatar

swagger-api/swagger-codegen

0
View on GitHub↗
17,760 stars·5,983 forks·Mustache·Apache-2.0·4 vuesswagger.io↗

Swagger Codegen

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, or a hosted web application.

The project covers a broad range of automation capabilities, including integration with build tools and CI/CD pipelines, containerized CLI execution, and configurable type mapping. It also provides features for artifact filtering, external model mapping to prevent duplicate definitions, and the ability to deploy generated SDKs directly to GitHub.

Features

  • Client Library Generation - Generates language-specific libraries from OpenAPI specifications to automate request handling and typed interfaces.
  • Client Library Generators - Provides a toolkit for automating the creation of language-specific client SDKs from OpenAPI specifications.
  • Server Stub Generation - Generates boilerplate server code and routing from OpenAPI specifications to establish RESTful services.
  • API Code Generators - Generates client libraries and server stubs by processing API definition files stored on the local filesystem.
  • API Documentation Generators - Automatically generates human-readable technical documentation from API specifications.
  • Documentation Generators - Transforms OpenAPI specifications into complete, human-readable documentation websites.
  • Server Boilerplate Generators - Automates the creation of boilerplate server code and routing based on OpenAPI specifications to accelerate RESTful service development.
  • Source Code Templates - Produces language-specific source code by merging parsed API specifications with predefined text templates.
  • Automated API Documentation - Produces technical specifications and documentation directly from OpenAPI definitions to ensure synchronization with code.
  • OpenAPI Specification Parsers - Parses OpenAPI and Swagger specifications to translate them into formats compatible with various language generators.
  • Multi-Language Client Generation - Translates a single API specification into multiple official client libraries across various programming languages.
  • API Client SDK Generators - Provides an engine for creating tailored, type-safe client SDKs based on API specifications.
  • Remote Specification Fetching - Allows generating API clients and server stubs by fetching specifications from remote HTTP endpoints.
  • Pluggable Generator Architectures - Organizes language-specific logic into discrete modules that implement a common interface for creating clients and servers.
  • Type Mapping Utilities - Implements configurable type mapping to translate OpenAPI data types into target language primitives.
  • Language Type Mappers - Resolves API specification data types to target language primitives through a configurable map of type definitions.
  • API Contract Synchronization - Automates the generation of clients and servers within build pipelines to maintain consistency with the API contract.
  • Generation Parameter Overrides - Allows overriding default package names, naming prefixes, and library templates via configuration files.
  • Build Tool Integrations - Integrates with standard build tools to automatically produce API clients and server stubs during the build cycle.
  • CI CD Pipelines - Automates code generation within version control workflows and build pipelines to keep clients and servers in sync with specifications.
  • Specification AST Generation - Translates API specifications into an internal object model to isolate the input format from the output generation logic.
  • Custom Generator Registries - Provides a boilerplate project structure and registration mechanism to build new language-specific generators.
  • Generation Templates - Provides customizable templates for injecting language-specific logic into the code generation pipeline.
  • API Client Development Tools - Generates client libraries from Swagger specifications.
  • Integration and Admin Frameworks - Automates generation of client libraries and server stubs.

Historique des stars

Graphique de l'historique des stars pour swagger-api/swagger-codegenGraphique de l'historique des stars pour swagger-api/swagger-codegen

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

Alternatives open source à Swagger Codegen

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Swagger Codegen.
  • openapitools/openapi-generatorAvatar de OpenAPITools

    OpenAPITools/openapi-generator

    26,412Voir sur GitHub↗

    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

    Javaapiapi-clientapi-server
    Voir sur GitHub↗26,412
  • oapi-codegen/oapi-codegenAvatar de oapi-codegen

    oapi-codegen/oapi-codegen

    8,088Voir sur GitHub↗

    oapi-codegen is an OpenAPI specification compiler and code generator for Go. It transforms OpenAPI definitions into type-safe Go client libraries, server boilerplate, and data models to facilitate contract-first API development. The tool distinguishes itself through a flexible customization system that allows users to override generated types and imports via specification extensions. It supports the use of custom text templates to redefine the final source code structure and provides a specification overlay mechanism to modify or remove endpoints without altering the original source file. Th

    Gogogolangopenapi
    Voir sur GitHub↗8,088
  • openapitools/openapi-generator-cliAvatar de OpenAPITools

    OpenAPITools/openapi-generator-cli

    1,956Voir sur GitHub↗

    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

    TypeScriptnpmopenapiopenapi-generator
    Voir sur GitHub↗1,956
  • fern-api/fernAvatar de fern-api

    fern-api/fern

    3,680Voir sur GitHub↗

    Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted developer documentation. It provides a utility for validating, transforming, and exporting API definitions into standardized OpenAPI formats, serving as a system to maintain a consistent source of truth for API designs. The project differentiates itself through an automated SDK distribution pipeline that publishes generated libraries to package managers such as npm, PyPI, Maven, and NuGet. It also includes an AI-powered search assistant trained on API and SDK specifications to answer

    TypeScript
    Voir sur GitHub↗3,680
Voir les 30 alternatives à Swagger Codegen→

Questions fréquentes

Que fait swagger-api/swagger-codegen ?

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.

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

Les fonctionnalités principales de swagger-api/swagger-codegen sont : Client Library Generation, Client Library Generators, Server Stub Generation, API Code Generators, API Documentation Generators, Documentation Generators, Server Boilerplate Generators, Source Code Templates.

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

Les alternatives open-source à swagger-api/swagger-codegen incluent : openapitools/openapi-generator — This project is a command-line tool and template-based scaffolding engine that transforms API interface specifications… oapi-codegen/oapi-codegen — oapi-codegen is an OpenAPI specification compiler and code generator for Go. It transforms OpenAPI definitions into… openapitools/openapi-generator-cli — OpenAPI Generator CLI is a command-line utility designed to automate the creation of API artifacts from specification… fern-api/fern — Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted… rsuter/nswag — NSwag is a toolchain for the .NET ecosystem designed to automate the generation of API documentation, server… azure/autorest — AutoRest is a multi-language SDK generator and OpenAPI code generator designed to produce consistent software…