ddroche/yii2-swagger-generator

A Yii2 generator for RESTful API documentation with yii2-swagger

dev-master 2019-12-03 18:21 UTC

This package is auto-updated.

Last update: 2024-10-29 05:34:59 UTC


README

A Yii2 generator for RESTful API documentation with yii2-swagger

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist ddroche/yii2-swagger-generator "*"

or add

"ddroche/yii2-swagger-generator": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \ddroche\swaggergenerator\AutoloadExample::widget(); ?>```