redoc/tests/e2e/index.html
2016-10-31 20:15:56 +02:00

24 lines
621 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ReDoc</title>
</head>
<body>
<redoc>
Loading...
</redoc>
<!-- ReDoc built file with all dependencies included -->
<script src="redoc.min.js"> </script>
<script>
window.redocError = null;
/* init redoc */
var url = window.location.search.substr(5) || 'http://rebilly.github.io/ReDoc/swagger.yaml';
Redoc.init(decodeURIComponent(url), {disableLazySchemas: true, suppressWarnings: true}).then(function() {}, function(err) {
window.redocError = err;
});
</script>
</body>
</html>