**Add public API documentation access and navigation links**

- 📚 Added "API Dokumentation" link to the sidebar and header navigation.
- 🔓 Defined `viewApiDocs` gate for public access to API documentation.
-  Added feature tests for API documentation route accessibility and OpenAPI document serving.
This commit is contained in:
HolgerHatGarKeineNode
2026-06-08 01:34:00 +02:00
parent d1b7352fca
commit 7510946f38
4 changed files with 27 additions and 4 deletions
@@ -116,15 +116,15 @@
<flux:spacer/>
<flux:navlist variant="outline">
<flux:navlist.item icon="book-open-text" :href="route('scramble.docs.ui')" target="_blank">
{{ __('API Dokumentation') }}
</flux:navlist.item>
<flux:navlist.item icon="folder-git-2"
href="https://gitworkshop.dev/holgerhatgarkeinenode@einundzwanzig.space/einundzwanzig-app"
target="_blank">
{{ __('Repository') }}
</flux:navlist.item>
<flux:navlist.item icon="book-open-text" href="https://laravel.com/docs/starter-kits#livewire" target="_blank">
{{ __('Documentation') }}
</flux:navlist.item>
</flux:navlist>
</flux:sidebar>
@@ -127,6 +127,11 @@
<flux:spacer/>
<flux:navlist variant="outline">
<flux:navlist.item icon="book-open-text"
:href="route('scramble.docs.ui')"
target="_blank">
{{ __('API Dokumentation') }}
</flux:navlist.item>
<flux:navlist.item icon="folder-git-2"
href="https://gitworkshop.dev/holgerhatgarkeinenode@einundzwanzig.space/einundzwanzig-app"
target="_blank">