A quick implementation to provide Swagger documentation as a CakePHP 2.0 plugin
composer require gianksp/cakephp-swagger:dev-master
- Add the following to your Config/bootstrap.php file
CakePlugin::load( array( 'Swagger' => array( 'routes' => true, 'bootstrap'=>true ) ) );
When running your project you will have access to the generated JSON at
http://localhost:8080/docs