Grabware

Windows · Developer Tools

Swagger Codegen CLI

swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI /…

Version 3.0.82 · by SmartBear

Download

Official site: github.com

About Swagger Codegen CLI

Swagger Codegen allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification).

📔 For more information, please refer to the [Wiki page](https://github.com/swagger-api/swagger-codegen/wiki) and [FAQ](https://github.com/swagger-api/swagger-codegen/wiki/FAQ) 📔

⚠️ If the OpenAPI Description or Swagger file is obtained from an untrusted source, please make sure you've reviewed the artefact before using Swagger Codegen to generate the API client, server stub or documentation as [code injection](https://en.wikipedia.org/wiki/Code_injection) may occur. ⚠️

**NOTES:**

- Versions 2.X (`io.swagger`) and 3.X (`io.swagger.codegen.v3`) have **different** group ids.

- OpenAPI 3.0.X is supported from the 3.X version only.

For full versioning information, please refer to the [versioning documentation](https://github.com/swagger-api/swagger-codegen/blob/v3.0.63/docs/versioning.md).

## Supported Languages and Frameworks

Currently, the following languages/frameworks are supported:

- **API clients**: **ActionScript**, **Ada**, **Apex**, **Bash**, **C#** (.net 2.0, 3.5 or later), **C++** (cpprest, Qt5, Tizen), **Clojure**, **Dart**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured), **Kotlin**, **Lua**, **Node.js** (ES5, ES6, AngularJS with Google Closure Compiler annotations) **Objective-C**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x, 5.x), **Typescript** (Angular1.x, Angular2.x, Fetch, jQuery, Node)

- **Server stubs**: **Ada**, **C#** (ASP.NET Core, NancyFx), **C++** (Pistache, Restbed), **Erlang**, **Go**, **Haskell** (Servant), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples)), **Kotlin**, **PHP** (Lumen, Slim, Silex, [Symfony](https://symfony.com/), [Zend Expressive](https://github.com/zendframework/zend-expressive)), **Python** (Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** (rust-server), **Scala** ([Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), Scalatra)

- **API documentation generators**: **HTML**, **Confluence Wiki**

- **Configuration files**: [**Apache2**](https://httpd.apache.org/)

- **Others**: **JMeter**

Check out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the OpenAPI project.

How to install Swagger Codegen CLI

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install swagger-codegen-cli
  4. Open Swagger Codegen CLI once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is Swagger Codegen CLI free to download?

Yes. The Download button sends you to github.com, the developer's official site, where Swagger Codegen CLI is available to download. Grabware doesn't host or modify any files.

What is the latest version of Swagger Codegen CLI?

The version listed here is 3.0.82, published /Date(1790. The developer's site always has the newest release.

How do I install Swagger Codegen CLI from the command line?

With Chocolatey, run: choco install swagger-codegen-cli. This installs it from the official source and keeps it updated.

Is Swagger Codegen CLI safe?

Swagger Codegen CLI downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to Swagger Codegen CLI

More