outeredge/swagger-module
最新稳定版本:4.0.0
Composer 安装命令:
composer require outeredge/swagger-module
包简介
Laminas Framework Module for Swagger resource file generation
README 文档
README
A Zend Framework module that allows the generation of Swagger compliant resource files and is based on swagger-php.
Installation
The recommended way to install
outeredge/swagger-module is through
composer:
php composer.phar require outeredge/swagger-module
You can then enable this module in your config/application.config.php by adding
SwaggerModule to the modules key:
// ... 'modules' => array( // ... 'SwaggerModule' ),
Configuration
Copy config/module.swagger.global.php.dist to your config/autoload folder and modify paths variable
Usage
See swagger-php for library usage information.
$swagger = $this->getServiceLocator()->get('service.swagger'); echo $swagger->getResource('http://org.local/v1');
统计信息
- 总下载量: 110.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2012-07-13