migrations
migrations copied to clipboard
Conflict on migration diff using Swagger annotations
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"
Sorry for the late response, you can better open an issue in the doctrine project. We are just a wrapper package.
@patrickbrouwers would you share the link to the issue you've created in doctrine?