Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config to use own generated docs file #583

Closed
wants to merge 6 commits into from
Closed

Added config to use own generated docs file #583

wants to merge 6 commits into from

Conversation

balajidharma
Copy link

This config will skip the doc (json or yaml) file generation

/*
* Use your own generated json documentation file
*/
'use_own_docs' => false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have generate_always config param https://github.com/DarkaOnLine/L5-Swagger/blob/master/config/l5-swagger.php#L223 which can be used to disable generation on UI load

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have used the generate_always config to prevent doc generation on the console command on https://github.com/DarkaOnLine/L5-Swagger/pull/584/files. Better we can introduce a new config to control the console commands

@balajidharma
Copy link
Author

balajidharma commented Feb 12, 2024

Thank you… yes, I will use generate_always config. https://github.com/DarkaOnLine/L5-Swagger/pull/584/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants