2017 © Pedro Peláez
 

yii2-extension yii2-swagger

Swagger intergation with Yii2

image

yarcode/yii2-swagger

Swagger intergation with Yii2

  • Monday, December 5, 2016
  • by lagman
  • Repository
  • 3 Watchers
  • 1 Stars
  • 88 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

yii2-swagger

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require --prefer-dist yarcode/yii2-swagger

or add, (*3)

"yarcode/yii2-swagger": "*"

Usage

TODO: It should be described in detail., (*4)

public function init()
{
    $this->controllerMap = [
        'swagger' => [
            'class' => 'YarCode\Yii2\Swagger\SwaggerController',
            'host' => 'http://some.host',
            'basePath' => '/base/path/to/swagger/doc',,
            'templateFile' => '/@api/path/to/swagger/template.yaml',
            'includePaths' => [
                '/include/path/first',
                '/include/path/second',
            ],
        ]
    ];
    parent::init();
}

License

MIT, (*5)

Copyright (c) 2016 lichunqiang, YarCode, (*6)

The Versions

05/12 2016

dev-master

9999999-dev

Swagger intergation with Yii2

  Sources   Download

MIT

The Requires

 

extension yii2 swagger restful document

05/12 2016

0.1

0.1.0.0

Swagger intergation with Yii2

  Sources   Download

MIT

The Requires

 

extension yii2 swagger restful document