awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
OpenAPITools avatar

OpenAPITools/openapi-generator-cli

0
View on GitHub↗
1,956 星标·210 分支·TypeScript·Apache-2.0·2 次浏览

Openapi Generator Cli

OpenAPI Generator CLI 是一个命令行工具,旨在自动化从规范文件创建 API 工件的过程。它作为一个用于生成客户端库、服务器存根和文档的工具,使开发者能够在各种编程语言中生成一致的样板代码和参考资料。

该项目提供了一个封装器,用于管理基于 Java 的执行引擎的生命周期,该引擎使用无逻辑模板执行实际的代码合成。为了确保可复现的结果并避免宿主系统上的依赖冲突,该工具支持版本控制的引擎管理和容器化执行环境。

用户可以通过持久化配置文件定义特定于项目的生成规则,从而自动化重复性任务并保持不同开发环境之间的一致性。该工具集涵盖了 API 工件生产的全范围,从初始服务器骨架创建到集成客户端软件开发工具包(SDK)的生成。

Features

  • API Development Tools - Automates the creation of boilerplate code and documentation to accelerate the development of services based on API definitions.
  • Client Library Generation - Creates client libraries in various programming languages from specification files to simplify integration.
  • Server Stub Generation - Produces boilerplate server code and API skeletons from specification definitions to accelerate backend development.
  • OpenAPI Client SDK Generators - Transforms OpenAPI specification files into client libraries, server stubs, and documentation for various programming languages.
  • Custom Artifact Generators - Automates the creation of client libraries, server stubs, and documentation directly from specification files.
  • API Client SDK Generators - Creates software development kits in various programming languages from specification files.
  • API Documentation Generators - Compiles human-readable documentation from specification files to provide clear references for developers.
  • CLI Build Tools - Provides a command-line interface for managing generation tasks and ensuring consistent output across environments.
  • Logic-less Template Engines - Uses logic-less mustache templates to transform structured API specification data into language-specific source code.
  • Containerized Execution - Supports containerized execution to run the generation process in isolated environments without local dependencies.
  • Containerized Runtimes - Executes the generation process inside ephemeral container environments to ensure consistent dependency management.
  • OpenAPI Specification Management - Defines project-specific generation settings in a persistent configuration file to automate repetitive tasks.
  • Configuration-Driven Rules - Maps external specification files to output targets using persistent configuration files to automate project scaffolding.

Star 历史

openapitools/openapi-generator-cli 的 Star 历史图表openapitools/openapi-generator-cli 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Openapi Generator Cli 的精选搜索

收录 Openapi Generator Cli 的精选合集。
  • OpenAPI 客户端代码生成器

常见问题解答

openapitools/openapi-generator-cli 是做什么的?

OpenAPI Generator CLI 是一个命令行工具,旨在自动化从规范文件创建 API 工件的过程。它作为一个用于生成客户端库、服务器存根和文档的工具,使开发者能够在各种编程语言中生成一致的样板代码和参考资料。

openapitools/openapi-generator-cli 的主要功能有哪些?

openapitools/openapi-generator-cli 的主要功能包括:API Development Tools, Client Library Generation, Server Stub Generation, OpenAPI Client SDK Generators, Custom Artifact Generators, API Client SDK Generators, API Documentation Generators, CLI Build Tools。

openapitools/openapi-generator-cli 有哪些开源替代品?

openapitools/openapi-generator-cli 的开源替代品包括: swagger-api/swagger-codegen — Swagger Codegen is a template-driven engine and multi-language toolkit used to generate API client SDKs, server stubs,… fern-api/fern — Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted… azure/autorest — AutoRest is a multi-language SDK generator and OpenAPI code generator designed to produce consistent software… oapi-codegen/oapi-codegen — oapi-codegen is an OpenAPI specification compiler and code generator for Go. It transforms OpenAPI definitions into… apple/swift-openapi-generator — The Swift OpenAPI Generator is a build-time tool that produces type-safe Swift client and server code directly from… flasgger/flasgger — Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated…

Openapi Generator Cli 的开源替代方案

相似的开源项目,按与 Openapi Generator Cli 的功能重合度排序。
  • swagger-api/swagger-codegenswagger-api 的头像

    swagger-api/swagger-codegen

    17,760在 GitHub 上查看↗

    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,

    Mustacheopen-sourceopenapi-specificationopenapi3
    在 GitHub 上查看↗17,760
  • fern-api/fernfern-api 的头像

    fern-api/fern

    3,680在 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
    在 GitHub 上查看↗3,680
  • azure/autorestAzure 的头像

    Azure/autorest

    4,798在 GitHub 上查看↗

    AutoRest is a multi-language SDK generator and OpenAPI code generator designed to produce consistent software development kits from a single API definition. It functions as a REST API client generator that transforms Swagger and OpenAPI specification files into functional, typed HTTP client libraries. The tool automates the SDK development workflow by converting design documents into source code, ensuring that the resulting implementations match the defined API contract across different programming languages. The system employs specification-driven development using an intermediate represent

    TypeSpecazurecode-generatorcsharp
    在 GitHub 上查看↗4,798
  • apple/swift-openapi-generatorapple 的头像

    apple/swift-openapi-generator

    1,935在 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
    在 GitHub 上查看↗1,935
  • 查看 Openapi Generator Cli 的所有 30 个替代方案→