Yii 2 Swagger UI
Swagger UI assets for Yii2.
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist machour/yii2-swagger-ui "*"
to the require section of your
Once the extension is installed, you can register the Swagger UI assets in your application by doing:
A complete layout structure is available in the
views directory for a complete working Swagger UI interface like their Pet Store.
This documentation is available online