redoc/demo/index.html

31 lines
718 B
HTML
Raw Normal View History

2015-10-03 11:54:09 +03:00
<!-- index.html -->
<html>
<head>
2015-10-03 12:57:37 +03:00
<title>ReDoc prototype</title>
2015-10-10 15:34:46 +03:00
<link rel="stylesheet" href="main.css">
2015-10-26 22:34:32 +03:00
<link rel="stylesheet" href="dist/redoc.full.css">
2015-10-03 11:54:09 +03:00
</head>
<body>
2015-11-04 22:31:10 +03:00
<nav>
2015-11-06 00:25:22 +03:00
<header> ReDoc </header>
2015-11-04 22:31:10 +03:00
<input id="schema-url-input" value='swagger.json'>
<button id="load-button"> Explore </button>
</nav>
</nav>
2015-10-15 20:06:33 +03:00
<side-menu>
</side-menu>
<!-- The wrapper component -->
<redoc>
2015-10-03 11:54:09 +03:00
Loading...
</redoc>
2015-10-03 11:54:09 +03:00
<!-- ReDoc built file with all dependencies included -->
<script src="dist/redoc.full.js"> </script>
2015-11-04 22:31:10 +03:00
<script src="main.js"> </script>
2015-10-03 11:54:09 +03:00
<script>
/* init redoc */
2015-10-11 21:32:40 +03:00
Redoc.init('swagger.json');
2015-10-03 11:54:09 +03:00
</script>
</body>
</html>