mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-23 09:03:44 +03:00
28 lines
640 B
HTML
28 lines
640 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>ReDoc</title>
|
|
<link rel="stylesheet" href="main.css">
|
|
</head>
|
|
<body>
|
|
<nav>
|
|
<header> ReDoc </header>
|
|
<input id="schema-url-input" value='swagger.json'>
|
|
<button id="load-button"> Explore </button>
|
|
</nav>
|
|
</nav>
|
|
|
|
<redoc scroll-y-offset="body > nav">
|
|
Loading...
|
|
</redoc>
|
|
|
|
<!-- ReDoc built file with all dependencies included -->
|
|
<script src="dist/redoc.full.js"> </script>
|
|
<script src="main.js"> </script>
|
|
<script>
|
|
/* init redoc */
|
|
Redoc.init('swagger.json', {scrollYOffset: 'body>nav'});
|
|
</script>
|
|
</body>
|
|
</html>
|