fix : Swagger skin 변경
This commit is contained in:
52
public/api-docs/index.html
Normal file
52
public/api-docs/index.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<!doctype html> <!-- Important: must specify -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
|
||||
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<rapi-doc
|
||||
spec-url = "/docs?api-docs.json"
|
||||
render-style="focused"
|
||||
theme="light"
|
||||
show-method-in-nav-bar="as-colored-block"
|
||||
show-header="false"
|
||||
allow-server-selection="true"
|
||||
allow-search="true"
|
||||
allow-advanced-search="true"
|
||||
allow-server-override="true"
|
||||
allow-authentication="true"
|
||||
allow-api-list-style-selection="true"
|
||||
bg-color="#f8f9fa"
|
||||
primary-color="#206a9e"
|
||||
nav-bg-color="#2d3e50"
|
||||
nav-text-color="#f5f5f5"
|
||||
nav-hover-bg-color="#496080"
|
||||
nav-active-bg-color="#206a9e"
|
||||
font-size="small"
|
||||
default-schema-tab="example"
|
||||
style="width:100vw; height:100vh;"
|
||||
> </rapi-doc>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!--
|
||||
render-style="focused"
|
||||
layout="column"
|
||||
show-header="true"
|
||||
allow-server-selection="true"
|
||||
allow-search="true"
|
||||
allow-advanced-search="true"
|
||||
allow-server-override="true"
|
||||
allow-authentication="true"
|
||||
allow-api-list-style-selection="true"
|
||||
bg-color="#f8f9fa"
|
||||
primary-color="#205081"
|
||||
nav-bg-color="#2d3e50"
|
||||
nav-text-color="#f5f5f5"
|
||||
nav-hover-bg-color="#496080"
|
||||
nav-active-bg-color="#205081"
|
||||
font-size="medium"
|
||||
default-schema-tab="schema"
|
||||
style="width:100vw; height:100vh;"
|
||||
-->
|
||||
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
return redirect('/api/documentation/v1');
|
||||
return redirect('/api-docs/index.html');
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user