redoc/demo/index.html

46 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2015-10-03 11:54:09 +03:00
<html>
<head>
2015-11-14 18:47:14 +03:00
<title>ReDoc</title>
2015-10-10 15:34:46 +03:00
<link rel="stylesheet" href="main.css">
2016-01-21 18:26:54 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2016-07-29 13:40:02 +03:00
<script src="https://cdn.vaadin.com/vaadin-core-elements/latest/webcomponentsjs/webcomponents-lite.min.js"></script>
<link rel="import" href="https://cdn.vaadin.com/vaadin-core-elements/master/vaadin-combo-box/vaadin-combo-box-light.html">
2015-10-03 11:54:09 +03:00
</head>
<body>
2015-11-04 22:31:10 +03:00
<nav>
2016-08-21 17:42:13 +03:00
<header> <a href="/ReDoc"> ReDoc </a> </header>
2016-07-29 13:40:02 +03:00
<template is="dom-bind" id="specs">
<form id="schema-url-form" is="iron-form">
2016-08-21 10:42:38 +03:00
<vaadin-combo-box-light id="spec-input" items="[[specs]]" allow-custom-value>
2016-07-29 13:40:02 +03:00
<input placeholder="URL to a spec to try" id="schema-url-input" type="text" is="iron-input" value="https://rebilly.github.io/RebillyAPI/swagger.json">
</vaadin-combo-box-light>
<button type="submit"> Explore </button>
</form>
</template>
<iframe src="https://ghbtns.com/github-btn.html?user=Rebilly&repo=ReDoc&type=star&count=true&size=large"
frameborder="0" scrolling="0" width="130px" height="30px"></iframe>
2015-11-04 22:31:10 +03:00
</nav>
2015-12-26 20:44:39 +03:00
<redoc scroll-y-offset="body > nav" spec-url='swagger.yaml' lazy-rendering untrusted-spec></redoc>
2015-10-03 11:54:09 +03:00
2016-12-28 16:11:43 +03:00
<script>
window.__REDOC_DEV__ = true;
</script>
2015-11-04 22:31:10 +03:00
<script src="main.js"> </script>
2016-08-28 21:46:10 +03:00
<script src="/webpack-dev-server.js"></script>
<script src="/polyfills.js"></script>
<script src="/vendor.js"></script>
<script src="/redoc.js"></script>
2016-08-01 09:31:53 +03:00
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81703547-1', 'auto');
ga('send', 'pageview');
</script>
2015-10-03 11:54:09 +03:00
</body>
</html>