add projet
This commit is contained in:
Executable
+29
@@ -0,0 +1,29 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Alrahma API Docs</title>
|
||||
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css">
|
||||
<style>
|
||||
body { margin: 0; background: #0f172a; }
|
||||
#swagger-ui { min-height: 100vh; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="swagger-ui"></div>
|
||||
<script src="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
|
||||
<script>
|
||||
window.addEventListener('load', () => {
|
||||
SwaggerUIBundle({
|
||||
url: "{{ url('/api/documentation/swagger.json') }}",
|
||||
dom_id: '#swagger-ui',
|
||||
docExpansion: 'none',
|
||||
defaultModelsExpandDepth: -1,
|
||||
persistAuthorization: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user