Skip to content

Commit efc531a

Browse files
committed
Add ReDoc options
Update the ReDoc settings with better defaults.
1 parent d90eecb commit efc531a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>ReDoc</title>
4+
<title>MetaCPAN API</title>
55
<!-- needed for adaptive design -->
66
<meta charset="utf-8"/>
77
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -18,7 +18,7 @@
1818
</style>
1919
</head>
2020
<body>
21-
<redoc spec-url='./v1.yml'></redoc>
21+
<redoc spec-url="./v1.yml" lazy-rendering="1" required-props-first="1" path-in-middle-panel="1"></redoc>
2222
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
2323
</body>
2424
</html>

0 commit comments

Comments
 (0)