chore(core): remove redocs
- It is not well maintained (no Laravel 12 Support) and does not work anyway.
This commit is contained in:
parent
2699c2ed19
commit
04349d9b05
3 changed files with 0 additions and 38 deletions
|
|
@ -1,28 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
return [
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Directory
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| The name of the directory where your OpenAPI definitions are stored.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'directory' => '',
|
|
||||||
|
|
||||||
/*
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
| Variables
|
|
||||||
|--------------------------------------------------------------------------
|
|
||||||
|
|
|
||||||
| You can automatically replace variables in your OpenAPI definitions by
|
|
||||||
| adding a key value pair to the array below. This will replace any
|
|
||||||
| instances of :key with the given value.
|
|
||||||
|
|
|
||||||
*/
|
|
||||||
|
|
||||||
'variables' => [],
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
@ -90,8 +90,6 @@ class="px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-co
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<h4 class="pt-6">API</h4>
|
<h4 class="pt-6">API</h4>
|
||||||
<div class="pb-4">For API documentation, please visit <a class="dark:text-warning underline"
|
|
||||||
href="/docs/api">/docs/api</a></div>
|
|
||||||
<div class="md:w-96 pb-2">
|
<div class="md:w-96 pb-2">
|
||||||
<x-forms.checkbox instantSave id="is_api_enabled" label="Enabled" />
|
<x-forms.checkbox instantSave id="is_api_enabled" label="Enabled" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
use App\Http\Controllers\Controller;
|
use App\Http\Controllers\Controller;
|
||||||
use App\Http\Controllers\OauthController;
|
use App\Http\Controllers\OauthController;
|
||||||
use App\Http\Controllers\UploadController;
|
use App\Http\Controllers\UploadController;
|
||||||
use App\Http\Middleware\ApiAllowed;
|
|
||||||
use App\Livewire\Admin\Index as AdminIndex;
|
use App\Livewire\Admin\Index as AdminIndex;
|
||||||
use App\Livewire\Boarding\Index as BoardingIndex;
|
use App\Livewire\Boarding\Index as BoardingIndex;
|
||||||
use App\Livewire\Dashboard;
|
use App\Livewire\Dashboard;
|
||||||
|
|
@ -78,13 +77,6 @@
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||||
use ThreeSidedCube\LaravelRedoc\Http\Controllers\DefinitionController;
|
|
||||||
use ThreeSidedCube\LaravelRedoc\Http\Controllers\DocumentationController;
|
|
||||||
|
|
||||||
Route::group(['middleware' => ['auth:sanctum', ApiAllowed::class]], function () {
|
|
||||||
Route::get('/docs/api', DocumentationController::class)->name('redoc.documentation');
|
|
||||||
Route::get('/docs/api/definition', DefinitionController::class)->name('redoc.definition');
|
|
||||||
});
|
|
||||||
|
|
||||||
Route::get('/admin', AdminIndex::class)->name('admin.index');
|
Route::get('/admin', AdminIndex::class)->name('admin.index');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue