项目
在 GitHub 查看
mlabouardy/swaggymnia
关于
在 Insomnia 中为现有 API 生成 Swagger 🌀 文档
网站与应用开发实测星标增长
- 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
探索相关项目
加载中…