DarkaOnLine / L5-Swagger

OpenApi or Swagger integration to Laravel
https://github.com/DarkaOnLine/L5-Swagger
MIT License
2.64k stars 394 forks source link

Skipping unknown \InvalidClient #461

Closed NaxiD closed 2 years ago

NaxiD commented 2 years ago

Hello, I'm developing a Laravel project that a working partner started and I'm having an issue generating a new doc for L5-Swagger. I get an error 'Skipping unknown \InvalidClient'.

I re-installed L5-Swagger, deleted config files, used the 'vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"' command, deleted all comments in all files, but I always get the same message:

Captura

What can I do? Thank you.

DerManoMann commented 2 years ago

Have you looked at #457?

NaxiD commented 2 years ago

Yes, I've checked it and I still have the same issue.

DarkaOnLine commented 2 years ago

Can you check this:https://github.com/zircote/swagger-php/issues/1136 and this comment: https://github.com/zircote/swagger-php/issues/1136#issuecomment-1048238037

NaxiD commented 2 years ago

Solved... Some models and controllers didn't have a namespace defined.

Thank you so much.