2017 © Pedro Peláez
 

yii2-extension yii2_apidoc

api doc for Yii2

image

ruanjiajia/yii2_apidoc

api doc for Yii2

  • Monday, August 28, 2017
  • by victorruan
  • Repository
  • 3 Watchers
  • 5 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2_apidoc

用配置生成接口文档, (*1)

'modules' => [
        'route'=>[
            'class'=>'Route\Module',
            'ignore'=>['api'],
        ],
    ]
'modules' => [
        'route'=>[
            'class'=>'Route\Module',
            'ignore'=>['api'],
            'show_modules'=>'api'
        ],
    ]
 /**
     * api文档接口怎么生成?
     * @param string $version api版本
     * @param string $sign 签名
     * @param string $page 用于分页 最小是1
     * @desc 这个是描述哦
     * @method POST
     * @return string msg 消息解释
     * @return int code 0表示正确
     */
    public function actionIndex(){
    }

open http://path/to/route/api
64A71AF0-D1CC-4902-BF79-CB2618960B7E.jpg, (*2)

The Versions

28/08 2017

dev-master

9999999-dev

api doc for Yii2

  Sources   Download

MIT

The Requires

 

by Avatar victorruan

api yii2 apidoc doc

03/05 2017

v1.0.0

1.0.0.0

api doc for Yii2

  Sources   Download

MIT

The Requires

 

by Avatar victorruan

api yii2 apidoc doc