DarkaOnLine / L5-Swagger

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

prevent doc generation when generate_always is false #584

Open balajidharma opened 8 months ago

balajidharma commented 2 months ago

What would be a use case for this? If you run CLI comman to generate docs - you probably want them to be generated and not show error that some flag is off, no?

Prevent the doc generation if we use the docs_yaml file generated from https://editor.swagger.io/.