robosats/docs/_includes/api-latest.html
2023-11-14 13:54:51 +00:00

68 lines
1.4 KiB
HTML

<redoc
spec-url='/assets/schemas/api-latest.yaml'
expand-responses='200,201'
theme='{
"colors": {
"primary": {
"main": "#1976d2",
"light": "#42a5f5"
},
"secondary": {
"main": "#9c27b0",
"light": "#ba68c8"
},
"error": {
"main": "#d32f2f",
"light": "#ef5350",
"dark": "#c62828"
},
"success": {
"main": "#2e7d32",
"light": "#4caf50",
"dark": "#1b5e20",
"contrastText": "#9c27b0"
},
"text": {
"primary": "rgba(0, 0, 0, 1)",
"secondary": "rgba(0, 0, 0, 0.8)"
},
"http": {
"get": "#42a5f5",
"post": "#9c27b0",
"put": "#ed6c02",
"delete": "#d32f2f"
}
},
"typography": {
"fontSize": "16px",
"fontFamily": "Fira Sans, Roboto, sans-serif",
"optimizeSpeed": true,
"smoothing": "antialiased",
"headings": {
"fontWeight": "bold",
"lineHeight": "1em"
},
"code": {
"fontWeight": "600",
"color": "rgba(92, 62, 189, 1)",
"wrap": true
},
"links": {
"color": "#1976d2",
"visited": "#9c27b0",
"hover": "#42a5f5"
}
},
"sidebar": {
"backgroundColor": "#1976d2",
"width": "18.75em",
"textColor": "#ffffff"
},
"rightPanel": {
"backgroundColor": "#22212c",
"textColor": "#ffffff"
}
}'
>
</redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>