redoc/demo/index.html
2016-03-18 09:10:29 -04:00

30 lines
851 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>ReDoc</title>
<link rel="stylesheet" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
redoc api-logo img {
padding: 20px 30px 16px 30px!important;
}
</style>
</head>
<body>
<nav>
<header> ReDoc </header>
<form id="schema-url-form">
<input id="schema-url-input" value='swagger.yml'>
<button type="submit"> Explore </button>
</form>
</nav>
<redoc scroll-y-offset="body > nav" spec-url='swagger.yml'></redoc>
<!--<redoc scroll-y-offset="body > nav" spec-url='http://localhost:3000/swagger.json'></redoc>-->
<!-- ReDoc built file with all dependencies included -->
<script src="main.js"> </script>
<script src="dist/redoc.js"> </script>
</body>
</html>