Files
.circleci
.github
.run
.vscode
BTCPayServer
Components
Configuration
Controllers
Data
Events
Extensions
Fido2
Filters
HostedServices
Hosting
JsonConverters
Logging
ModelBinders
Models
PaymentRequest
Payments
Plugins
Properties
SSH
Security
Services
Storage
Validation
Views
Account
Apps
AppsPublic
CoinSwitch
Error
EthereumLikeStore
Fido2
Home
Home.cshtml
RecoverySeedBackup.cshtml
SwaggerDocs.cshtml
Invoice
Manage
MoneroLikeStore
Notifications
PaymentRequest
Public
PublicLightningNodeInfo
PullPayment
Server
Shared
Shopify
Stores
UserStores
Wallets
_ViewStart.cshtml
wwwroot
BTCPayServer.csproj
BTCPayServer.ruleset
BitpayHttpException.cs
CorsPolicies.cs
CurrencyValue.cs
DerivationSchemeParser.cs
DerivationSchemeSettings.cs
EventAggregator.cs
ExplorerClientProvider.cs
Extensions.cs
HwiWebSocketTransport.cs
IDelay.cs
Program.cs
Roles.cs
SearchString.cs
StorePolicies.cs
TagHelpers.cs
TransactionComparer.cs
WalletId.cs
WebSocketHelper.cs
WellKnownTempData.cs
ZoneLimits.cs
_ViewImports.cshtml
bundleconfig.json
BTCPayServer.Abstractions
BTCPayServer.Client
BTCPayServer.Common
BTCPayServer.Data
BTCPayServer.PluginPacker
BTCPayServer.Plugins.Test
BTCPayServer.Rating
BTCPayServer.Tests
Build
docs
.dockerignore
.editorconfig
.gitattributes
.gitignore
Changelog.md
LICENSE
README.md
RELEASE-CHECKLIST.md
SECURITY.md
amd64.Dockerfile
arm32v7.Dockerfile
arm64v8.Dockerfile
btcpayserver.sln
build.ps1
build.sh
docker-entrypoint.sh
nuget.config
publish-docker.ps1
run.ps1
run.sh
btcpayserver/BTCPayServer/Views/Home/SwaggerDocs.cshtml
nicolas.dorier aa953ad6a6 bump redoc
2021-09-26 14:05:48 +09:00

34 lines
1.1 KiB
Plaintext

@inject BTCPayServer.Security.ContentSecurityPolicies csp
@{
Layout = null;
csp.Add("script-src", "https://cdn.jsdelivr.net");
csp.Add("worker-src", "blob:");
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
<!-- 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">
<!--
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>
<redoc spec-url="@Url.ActionLink("Swagger")"></redoc>
<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>
</body>
</html>