Skip to content

Commit

Permalink
Upd: Add swagger ui
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Sep 25, 2023
1 parent cdd074f commit eec9fd3
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
28 changes: 28 additions & 0 deletions openapi/v2023.8.1/swagger.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="GovStack Consent BB APIs" />
<title>GovStack Consent BB APIs</title>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/swagger-ui.css"
/>
</head>
<body>
<div id="swagger-ui"></div>
<script
src="https://unpkg.com/[email protected]/swagger-ui-bundle.js"
crossorigin
></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
url: "./bundled.yaml",
dom_id: "#swagger-ui",
});
};
</script>
</body>
</html>
28 changes: 28 additions & 0 deletions openapi/v2023.8.2/swagger.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="GovStack Consent BB APIs" />
<title>GovStack Consent BB APIs</title>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/swagger-ui.css"
/>
</head>
<body>
<div id="swagger-ui"></div>
<script
src="https://unpkg.com/[email protected]/swagger-ui-bundle.js"
crossorigin
></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
url: "./bundled.yaml",
dom_id: "#swagger-ui",
});
};
</script>
</body>
</html>

0 comments on commit eec9fd3

Please sign in to comment.