wallets-api/v0/index.html

48 lines
1.2 KiB
HTML
Raw Normal View History

2018-06-15 13:20:00 +00:00
<!DOCTYPE html>
<html>
2018-06-16 12:02:44 +00:00
<head>
2018-06-15 13:20:00 +00:00
<title>RBKmoney Wallets API</title>
<!-- needed for adaptive design -->
2018-06-16 12:02:44 +00:00
<meta charset="utf-8" />
2018-06-15 13:20:00 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-06-16 12:02:44 +00:00
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js">
</script>
2018-06-15 13:20:00 +00:00
<!--
2018-06-16 12:02:44 +00:00
ReDoc doesn't change outer page styles
2018-06-15 13:20:00 +00:00
-->
<style>
2018-06-16 12:02:44 +00:00
body {
2018-06-15 13:20:00 +00:00
margin: 0;
padding: 0;
2018-06-16 12:02:44 +00:00
}
2018-06-15 13:20:00 +00:00
</style>
2018-06-16 12:02:44 +00:00
</head>
2018-06-15 13:20:00 +00:00
2018-06-16 12:02:44 +00:00
<body>
<div id='redoc'></div>
2018-06-15 13:20:00 +00:00
<script type="text/javascript">
2018-06-19 10:32:57 +00:00
// Since we serve three different specs from a single domain we hack up a
// simple way to redirect user to one or another
var spec = window.location.search.substring(1);
if (spec.length == 0) {
spec = "api/wallet/swagger.json";
}
Redoc.init(
spec,
{
theme: {
breakpoints: {
// 3-panel view fix
medium: '75rem'
}
2018-06-16 12:02:44 +00:00
}
2018-06-19 10:32:57 +00:00
},
document.getElementById('redoc')
);
2018-06-15 13:20:00 +00:00
</script>
2018-06-16 12:02:44 +00:00
</body>
2018-06-19 10:32:57 +00:00
</html>