# Install swagger2markup-cli with Homebrew

Swagger to AsciiDoc or Markdown converter. Version 1.3.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:swagger2markup-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install swagger2markup-cli
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:swagger2markup-cli
- **Package manager:** Homebrew
- **Version:** 1.3.3
- **Source summary:** Swagger to AsciiDoc or Markdown converter
- **Homepage:** <https://github.com/Swagger2Markup/swagger2markup>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- swagger2markup (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.3.3
## Project history and usage

Swagger2Markup CLI is the command-line packaging of Swagger2Markup, a converter that turns Swagger JSON or YAML into AsciiDoc or GitHub Flavored Markdown. It sits in the documentation toolchain rather than the code-generation toolchain.

### Project history

The Swagger2Markup/swagger2markup repository was created on GitHub in February 2015. Its README says the project was created by Robert Winkler to simplify generation of up-to-date REST API documentation by combining handwritten material with auto-generated output from Swagger descriptions.

### Adoption history

The README lists Maven and Gradle plugin integrations, a demo using Spring Boot, Springfox, and Spring REST Docs, and companies that used Swagger2Markup. GitHub releases show 1.x releases through v1.3.4, while the Homebrew formula packages the 1.3.3 CLI jar from Maven Central.

### How it is used

Swagger2Markup converts local or remote Swagger JSON/YAML files into several AsciiDoc or Markdown documents. The Homebrew formula test invokes the packaged CLI as `swagger2markup convert -i test.yaml -f test`, producing an AsciiDoc output file.

### Why package nerds care

The package is notable because it reflects an era when API documentation pipelines were assembled from small CLIs, static site generators, AsciiDoc processors, and Swagger files. For maintainers, it is also an example of packaging a single Java jar as a Unix command with a stable executable name.

### Timeline

- 2015: GitHub repository created.
- 2016: v1.0.x releases added configuration, extension, security-document, and inline-schema features.
- 2018: v1.3.3 released.
- 2022: v1.3.4 listed in GitHub releases.
- 2026: Homebrew formula marks the CLI package deprecated as unmaintained.

### Related projects

- The README relates Swagger2Markup to Swagger, swagger-parser, markup-document-builder, Asciidoctor, asciidoctorj, Springfox, Spring REST Docs, and its Maven and Gradle plugins.

### Sources

- <https://api.github.com/repos/Swagger2Markup/swagger2markup>
- <https://github.com/Swagger2Markup/swagger2markup#readme>
- <https://github.com/Swagger2Markup/swagger2markup/blob/master/RELEASENOTES.adoc>
- <https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/s/swagger2markup-cli.rb>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/swagger2markup-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/swagger2markup-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
