migrations icon indicating copy to clipboard operation
migrations copied to clipboard

Conflict on migration diff using Swagger annotations

Open bmnluiz opened this issue 7 years ago • 2 comments

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"

bmnluiz avatar Nov 18 '17 19:11 bmnluiz

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

patrickbrouwers avatar May 28 '18 08:05 patrickbrouwers

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

galvani avatar May 28 '19 05:05 galvani