laravel-swagger
laravel-swagger copied to clipboard
Doesn't work with zircote/swagger-php 3.0.0
Dependent on 2.x branch. Doesn't work with 3.x.
In addition: You don't provide very good documentation on how to use it. Can you explain:
/** @var Swagger\Annotations\Swagger $swagger */
$swagger = \Kevupton\LaravelSwagger\scan(app_path('location'), [
'models' => [
/** All models go in here */
\App\Models\User::class,
]
]);
Are you implying creating a new php file with those lines? Why not hook into artisan? Would be amazing if you can hook into darkaonline/l5-swagger
's generation: ./artisan l5-swagger:generate