diff options
Diffstat (limited to 'rust/redoc')
| -rw-r--r-- | rust/redoc/index.html | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/rust/redoc/index.html b/rust/redoc/index.html new file mode 100644 index 00000000..ac75c306 --- /dev/null +++ b/rust/redoc/index.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +  <head> +    <title>ReDoc</title> +    <!-- needed for adaptive design --> +    <meta charset="utf-8"/> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> + +    <!-- +    ReDoc doesn't change outer page styles +    --> +    <style> +      body { +        margin: 0; +        padding: 0; +      } +    </style> +  </head> +  <body> +    <redoc spec-url='/v0/openapi2.yml'></redoc> +    <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> +  </body> +</html> | 
