diff --git a/admin/app/controllers/openapi_controller.ts b/admin/app/controllers/openapi_controller.ts index 85e0f8c..20438f0 100644 --- a/admin/app/controllers/openapi_controller.ts +++ b/admin/app/controllers/openapi_controller.ts @@ -41,6 +41,7 @@ const REFERENCE_HTML = ` url: '/api/openapi.json', hideClientButton: true, telemetry: false, + theme: 'saturn', }) diff --git a/admin/inertia/layouts/SettingsLayout.tsx b/admin/inertia/layouts/SettingsLayout.tsx index c367003..a9a5c2a 100644 --- a/admin/inertia/layouts/SettingsLayout.tsx +++ b/admin/inertia/layouts/SettingsLayout.tsx @@ -3,6 +3,7 @@ import { IconArrowBigUpLines, IconBox, IconChartBar, + IconCode, IconDashboard, IconFolder, IconGavel, @@ -50,6 +51,7 @@ export default function SettingsLayout({ children }: { children: React.ReactNode }, { name: 'System', href: '/settings/system', icon: IconSettings, current: false }, { name: 'Advanced', href: '/settings/advanced', icon: IconAdjustments, current: false }, + { name: 'API Reference', href: '/reference', icon: IconCode, current: false }, { name: 'Support the Project', href: '/settings/support', icon: IconHeart, current: false }, { name: 'Legal Notices', href: '/settings/legal', icon: IconGavel, current: false }, ]