2017 © Pedro Peláez
 

library swagger-module

Zend Framework 2 Module for Swagger resource file generation

image

wfelipew/swagger-module

Zend Framework 2 Module for Swagger resource file generation

  • Tuesday, May 17, 2016
  • by wfelipew
  • Repository
  • 1 Watchers
  • 0 Stars
  • 339 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 3 Versions
  • 142 % Grown

The README.md

SwaggerModule

A Zend Framework 2 module that allows the generation of Swagger compliant resource files and is based on swagger-php., (*1)

Requirements

Installation

Installation of SwaggerModule uses composer. For composer documentation, please refer to getcomposer.org., (*2)

Installation steps

  1. cd my/project/directory
  2. create a composer.json file with following contents:, (*3)

    json { "require": { "outeredge/swagger-module": "dev-master" } }, (*4)

  3. install composer via curl -s http://getcomposer.org/installer | php (on windows, download http://getcomposer.org/installer and execute it with PHP)
  4. run php composer.phar install
  5. copy config/module.swagger.global.php.dist to your config/autoload folder and modify paths variable
  6. open my/project/directory/configs/application.config.php and add the following key to your modules:, (*5)

    php 'SwaggerModule',, (*6)

Usage

See swagger-php for library usage information., (*7)

$swagger = $this->getServiceLocator()->get('service.swagger');
echo $swagger->getResource('http://org.local/v1');

The Versions

17/05 2016

dev-master

9999999-dev https://github.com/outeredge/SwaggerModule

Zend Framework 2 Module for Swagger resource file generation

  Sources   Download

Apache-2.0

The Requires

 

api rest zf2 swagger

12/02 2016

2.0

2.0.0.0 https://github.com/outeredge/SwaggerModule

Zend Framework 2 Module for Swagger resource file generation

  Sources   Download

Apache-2.0

The Requires

 

api rest zf2 swagger

25/06 2012

0.2

0.2.0.0 https://github.com/outeredge/SwaggerModule

Zend Framework 2 Module for Swagger resource file generation

  Sources   Download

Apache-2.0

The Requires

 

api zf2