Skip to content

Add ability to cache OpenAPI document#1178

Merged
romalytvynenko merged 2 commits into
mainfrom
feat/cache
Jun 3, 2026
Merged

Add ability to cache OpenAPI document#1178
romalytvynenko merged 2 commits into
mainfrom
feat/cache

Conversation

@romalytvynenko

Copy link
Copy Markdown
Member

This PR adds 2 commands for caching resulting OpenAPI document:

php artisan scramble:cache --api=*
php artisan scramble:clear --api=*

This is extremely useful (and needed!) if documentation is exposed in production environment.

@romalytvynenko romalytvynenko merged commit d89bf45 into main Jun 3, 2026
1 of 6 checks passed
@romalytvynenko romalytvynenko deleted the feat/cache branch June 3, 2026 12:14
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.

1 participant