diff options
-rw-r--r-- | skyblock.bingo/swagger.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/skyblock.bingo/swagger.html b/skyblock.bingo/swagger.html new file mode 100644 index 0000000..3a728ba --- /dev/null +++ b/skyblock.bingo/swagger.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta + name="description" + content="SwaggerIU" + /> + <title>API | skyblock.bingo</title> + <link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui.css" /> +</head> +<body> +<div id="swagger-ui"></div> +<script src="https://unpkg.com/swagger-ui-dist@4.5.0/swagger-ui-bundle.js" crossorigin></script> +<script> + window.onload = () => { + window.ui = SwaggerUIBundle({ + url: 'https://skyblock.bingo/api/swagger.json', + dom_id: '#swagger-ui', + }); + }; +</script> +</body> +</html> |