UNPKG

@ideal-postcodes/openapi

Version:

Ideal Postcodes OpenAPI v3 specifications

38 lines (37 loc) 1.91 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>API Reference - Ideal Postcodes</title> <!-- needed for adaptive design --> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/svg" href="http://img.ideal-postcodes.co.uk/favicon.svg"> <link rel="icon" type="image/png" href="http://img.ideal-postcodes.co.uk/favicon.png"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Lato&family=Lora:wght@500&display=swap" rel="stylesheet"> <style> @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Lato&family=Lora:wght@500&display=swap'); body { margin: 0; padding: 0; } code { font-family: "Fira Code", monospace; } .menu-content { background: #05326d !important; background: -webkit-linear-gradient(right, #07489e, #05326d) !important; background: linear-gradient(to left, #07489e, #05326d) !important; } </style> </head> <body> <div id="redoc"></div> <script src="https://cdn.jsdelivr.net/npm/redoc@latest/bundles/redoc.standalone.js"> </script> <script> var container = document.getElementById('redoc'); Redoc.init("./openapi.json", {"htmlTemplate":"./openapi/index.html","theme":{"sidebar":{"textColor":"#d5dae6","activeBgColor":"#07489e","backgroundColor":"#05326d","activeTextColor":"#FFFFFF"},"typography":{"code":{"fontFamily":"Fira Code, monospace","fontSize":"13px","backgroundColor":"rgba(38, 50, 56, 0.05)","color":"#e53935"},"headings":{"fontFamily":"Lato, sans-serif"},"fontFamily":"Lato, sans-serif"},"colors":{"primary":{"main":"#32329f"}}}}, container) </script> </body> </html>