Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with zircote/swagger-php 3.0.0 #6

Open
guice opened this issue Sep 17, 2018 · 0 comments
Open

Doesn't work with zircote/swagger-php 3.0.0 #6

guice opened this issue Sep 17, 2018 · 0 comments

Comments

@guice
Copy link

guice commented Sep 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant