Skip to content

Commit

Permalink
API documentation is converted to OpenAPI v3.0.3 format
Browse files Browse the repository at this point in the history
  • Loading branch information
darklynx committed Apr 19, 2023
1 parent c850e7a commit 7a54a8e
Show file tree
Hide file tree
Showing 3 changed files with 935 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/.spectral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- spectral:oas
39 changes: 39 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<title>Request Baskets API</title>
<link rel="icon" type="image/svg" href="logo.svg">
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
padding: 0;
}
</style>
<script>
window.onload = function(event) {
Redoc.init(
"rbaskets-openapi.yaml",
{
theme: {
typography: {
fontWeightRegular: 300
},
menu: {
level1Items: {
textTransform: "capitalize"
}
}
}
},
document.getElementById("redoc-container")
);
}
</script>
</head>
<body>
<div id="redoc-container" lazy-rendering></div>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
</body>
</html>

0 comments on commit 7a54a8e

Please sign in to comment.