Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rmariuzzo/markdown-swagger

Generate API docs from Swagger file into markdown file.
https://github.com/rmariuzzo/markdown-swagger

markdown swagger-api

Last synced: 17 days ago
JSON representation

Generate API docs from Swagger file into markdown file.

Awesome Lists containing this project

README

        


Markdown Swagger


Generate API docs from Swagger file into markdown file.


![Mardown Swagger Example](.github/banner.png)

## Installation

```shell
npm install markdown-swagger
```

### Usage

```shell
markdown-swagger ./api/swagger/swagger.yaml ./README.md
```

This will read the specified swagger file and generate a table describing the API inside the target markdown file.

The `markdown-swagger` script will look for the for the following piece of text inside the target markdown file to do its stuff:

```markdown

Everything here will be replaced by markdown-swagger

```