swaggymnia

Generate Swagger ? documentation for your existing API in Insomnia

Github星跟蹤圖

CircleCI MIT License Go Report Card

Generate Swagger Documentation from Insomnia REST Client

Download

Below are the available downloads for the latest version of Swaggymnia (1.0.0-beta). Please download the proper package for your operating system and architecture.

Linux:

wget https://s3.amazonaws.com/swaggymnia/1.0.0-beta/linux/swaggymnia

Windows:

wget https://s3.amazonaws.com/swaggymnia/1.0.0-beta/windows/swaggymnia

Mac OS X:

wget https://s3.amazonaws.com/swaggymnia/1.0.0-beta/osx/swaggymnia

FreeBSD:

wget https://s3.amazonaws.com/swaggymnia/1.0.0-beta/freebsd/swaggymnia

OpenBSD:

wget https://s3.amazonaws.com/swaggymnia/1.0.0-beta/openbsd/swaggymnia

How to use it

See usage with:

$ swaggymnia --help

Generate Swagger documentation:

$ swaggymnia generate -insomnia INSOMNIA_EXPORTED_FILE -config CONFIG_FILE -output FORMAT
```, Option, Description, ------, -----------, -insomnia, Insomnia exported file, -config, API Global Configuration file (see [Configuration Format](#configuration-format)), -output, Insomnia output format (json or yaml, default json), ## Example

Let's convert the following Insomnia API documentation to Swagger:

<div align="center">
  <img src="insomnia.png"/>
</div>

Issue the following command:

$ swaggymnia generate -i examples/watchnow.json -c examples/config.json -o json


<div align="center">
  <img src="swagger.png"/>
</div>

## Configuration Format

{
"title" : "API Name",
"version" : "API version",
"host" : "API URL",
"basePath" : "Base URL",
"schemes" : "HTTP protocol",
"description" : "API description"
}


## Tutorials

* [Generate beautiful Swagger Documentation from Insomnia](http://www.blog.labouardy.com/generate-swagger-documentation-from-insomnia-rest-client/)

## Maintainers

- Mohamed Labouardy - mohamed@labouardy.com

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

主要指標

概覽
名稱與所有者mlabouardy/swaggymnia
主編程語言Go
編程語言Go (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2017-10-10 14:20:19
推送於2021-10-26 02:54:59
最后一次提交2017-12-11 10:07:38
發布數0
用户参与
星數426
關注者數9
派生數29
提交數41
已啟用問題?
問題數16
打開的問題數11
拉請求數2
打開的拉請求數4
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?