Hi community, I have an issue regarding usage of this package. Requirement is that I want to not write the docs in any Controller file of Laravel. So, I create a new file of PHP is /app directory of Laravel. Swagger should scan those annotations from that file. Previously, that was working for this darkaonline/swagger-lume@5.6.1.
Steps To Reproduce:
What I did in it, First I added base file like app/docs/base.php
Description:
Hi community, I have an issue regarding usage of this package. Requirement is that I want to not write the docs in any Controller file of Laravel. So, I create a new file of PHP is
/app
directory of Laravel. Swagger should scan those annotations from that file. Previously, that was working for thisdarkaonline/swagger-lume@5.6.1
.Steps To Reproduce:
What I did in it, First I added base file like
app/docs/base.php
then I added a another file
app/docs/blog/component.php
then I added a another file
app/docs/blog/index.php
So, it is not generating the docs and giving me error like
Required @OA\PathItem() not found
on other side, if I move same docs into controller, it start working fine like
your response will be appreciated, I am using this library after a long time. Thank you!