Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding web browser viewer #94

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added viewer/assets/img/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added viewer/assets/img/favicon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions viewer/assets/img/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions viewer/assets/img/oscalio-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions viewer/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!doctype html>
<html>
<head>
<title>OSCAL REST OpenAPI Specification</title>
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
<!-- <script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script> -->
<script type="text/javascript" src="rapidoc-min.js"></script>
<link rel="icon" type="image/svg+xml" href="assets/img/favicon.svg">
<!-- <link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png"> -->
<link rel="icon" type="image/png" sizes="16x16" href="assets/img/favicon-16x16.png">
</head>
<body>
<!-- For information about settings: https://rapidocweb.com/api.html -->
<rapi-doc
spec-url="https://raw.githubusercontent.com/EasyDynamics/oscal-rest/RefactorRestAPI/OSCALRestOpenAPI.yaml"
theme = "dark"
heading-text = "OSCAL REST OpenAPI Specification"
render-style = "view"
schema-style = "tree"
default-schema-tab = "schema"
show-header = 'false'
show-info = 'true'
allow-try = "false"
allow-authentication ='false'
allow-server-selection = 'false'
allow-api-list-style-selection ='false'
bg-color="#001131"
text-color = "#ffffff"
header-color = "#001131"
primary-color = "#00BDE3"
load-fonts = "true"
regular-font = "Arial"
mono-font = "Roboto Mono"
>

<div style="padding: 25px;">
<a href="https://oscal.io"><img src="assets/img/oscalio-logo.svg" style="width:150px;" /></a>
</div>

<!-- <div class="collapse navbar-collapse align-items-center" id="navbarSupportedContent">
<table><tr><td><img src="assets/oscalio-logo.svg" style="width:100px;" /></td><td><a class="nav-link" href="https://oscal.io">Home</a></td></tr></table>

</div> -->

</rapi-doc>
</body>

</html>
3,895 changes: 3,895 additions & 0 deletions viewer/rapidoc-min.js

Large diffs are not rendered by default.

Loading