btcpayserver/BTCPayServer/Views/UIHome/SwaggerDocs.cshtml

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-09-21 05:43:29 +02:00
@inject BTCPayServer.Security.ContentSecurityPolicies csp
2020-11-16 04:05:15 +01:00
@{
2020-03-18 12:08:09 +01:00
Layout = null;
2021-09-21 05:43:29 +02:00
csp.Add("script-src", "https://cdn.jsdelivr.net");
2021-09-21 05:52:31 +02:00
csp.Add("worker-src", "blob:");
2020-03-18 12:08:09 +01:00
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
2020-03-18 12:08:09 +01:00
<!-- needed for adaptive design -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="~/main/fonts/Roboto.css" rel="stylesheet" asp-append-version="true">
<link href="~/main/fonts/Montserrat.css" rel="stylesheet" asp-append-version="true">
2020-03-18 12:08:09 +01:00
<!--
ReDoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
@*Ignore this, this is for making the test ClickOnAllSideMenus happy*@
<div class="navbar-brand" style="visibility:collapse;"></div>
2020-03-18 12:08:09 +01:00
<redoc spec-url="@Url.ActionLink("Swagger")"></redoc>
2021-09-21 05:52:31 +02:00
<script src="https://cdn.jsdelivr.net/npm/redoc@2.0.0-rc.54/bundles/redoc.standalone.js" integrity="sha384-pxWFJkxrlfignEDb+sJ8XrdnJQ+V2bsiRqgPnfmOk1i3KKSubbydbolVZJeKisNY" crossorigin="anonymous"></script>
2020-03-18 12:08:09 +01:00
</body>
</html>