drdim/yii2-swagger-ui
最新稳定版本:1.0.3
Composer 安装命令:
composer require drdim/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 drdim/yii2-swagger-ui "~1.0"
or add
"drdim/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:
Drdim\Yii\Swagger\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.
统计信息
- 总下载量: 3.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-14