定制 outeredge/swagger-module 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 23
  • Watchers: 1
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2012-07-13