プロジェクト
GitHubで見る
mlabouardy/swaggymnia
概要
Insomnia で既存の API の Swagger 🌀 ドキュメントを生成
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
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) |
| -output | Insomnia output format (json or yaml, default json) |
Example
Let's convert the following Insomnia API documentation to Swagger:
Issue the following command:
$ swaggymnia generate -i examples/watchnow.json -c examples/config.json -o json
Configuration Format
{
"title" : "API Name",
"version" : "API version",
"host" : "API URL",
"basePath" : "Base URL",
"schemes" : "HTTP protocol",
"description" : "API description"
}
Tutorials
Maintainers
- Mohamed Labouardy - [email protected]
License
This project is licensed under the MIT License - see the LICENSE file for details
関連プロジェクトを探す
読み込み中…