veksa/yii2-swagger-ui
Composer 安装命令:
composer require veksa/yii2-swagger-ui
包简介
Yii2 Swagger UI
README 文档
README
##Install
- The preferred way to install this extension is through composer.
Either run
php composer.phar require veksa/yii2-swagger-ui "~1.0"
or add
"veksa/yii2-swagger-ui": "~1.0"
to the require section of your composer.json file.
Usage
Once the extension is installed, you can register the Swagger UI assets in your application by doing:
veksa\swagger\yii2\assets\SwaggerUiAsset::register($this);
A complete layout structure is available in the src\views directory for a complete working Swagger UI interface like their Pet Store.
统计信息
- 总下载量: 398
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-22