futuretek/yii2-gii-openapi-server
最新稳定版本:1.6.2
Composer 安装命令:
composer require futuretek/yii2-gii-openapi-server
包简介
Generator for OpenAPI server
README 文档
README
Currently, only generating schema, enums and controller/action templates are done.
Installation
add to require-dev section of composer.json:
"futuretek/yii2-gii-openapi-server": "^1.0.0"
Usage
Extension has automatic configuration via futuretek/yii2-composer package.
See composer.json - extra:yii-config:web
Or you can add the configuration manually:
'modules' => [ 'gii' => [ 'class' => 'yii\gii\Module', 'allowedIPs' => ['127.0.0.1', '::1'], 'generators' => [ 'openapi' => [ 'class' => 'futuretek\gii\openapi\server\Generator', ], ] ], ]
统计信息
- 总下载量: 213
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-12-05