laravel-swagger icon indicating copy to clipboard operation
laravel-swagger copied to clipboard

Doesn't work with zircote/swagger-php 3.0.0

Open guice opened this issue 6 years ago • 0 comments

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

guice avatar Sep 17 '18 03:09 guice