dyonis/yii2-swagger
最新稳定版本:1.0
Composer 安装命令:
composer require dyonis/yii2-swagger
包简介
OA3 swagger module for Yii2
README 文档
README
OA3 Swagger module for Yii2
Integration swagger-ui with Yii2.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dyonis/yii2-swagger "~1.0" --dev
or add
"dyonis/yii2-swagger": "~1.0"
to the require section of your composer.json file.
Usage
Add to your application config:
'modules'=>[
...
'swagger'=> [
'class' => \dyonis\yii2\swagger\Module::class,
'apiDoc' => '@app/modules/api/v1/doc/swagger.yml',
'cacheDuration' => 1,
],
],
License
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-06