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

Conflict on migration diff using Swagger annotations #57

Open
bmnluiz opened this issue Nov 18, 2017 · 2 comments
Open

Conflict on migration diff using Swagger annotations #57

bmnluiz opened this issue Nov 18, 2017 · 2 comments

Comments

@bmnluiz
Copy link

bmnluiz commented Nov 18, 2017

I'm using zircote/swagger-php to create documentation of my project.

They use doctrine/annotations to generate the documentation.

I'm trying to find a way to use laravel-doctrine and zircote/swagger-php with annotations, and not yml, xml or other stuff.

Am i missing something really silly?

The error:
[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@SWG\Swagger" in class App\Http\Controllers\Controller was never imported. Did you maybe forget to add a "use" statement for this annotation?

"laravel/lumen-framework": "5.5."
"laravel-doctrine/orm": "1.3.
",
"laravel-doctrine/migrations": "^1.1",
"laravel-doctrine/extensions": "1.0.12",
"zircote/swagger-php": "^2.0"

@patrickbrouwers
Copy link
Contributor

Sorry for the late response, you can better open an issue in the doctrine project. We are just a wrapper package.

@galvani
Copy link

galvani commented May 28, 2019

@patrickbrouwers would you share the link to the issue you've created in doctrine?

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

3 participants