rapidoc 9.1.0 → 9.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/index.html.gz +0 -0
- package/dist/rapidoc-min.js +2 -5
- package/dist/rapidoc-min.js.LICENSE.txt +17 -1
- package/dist/rapidoc-min.js.LICENSE.txt.gz +0 -0
- package/dist/rapidoc-min.js.gz +0 -0
- package/dist/report.html +6 -5
- package/docker/Dockerfile +5 -5
- package/docs/api.html +48 -40
- package/docs/examples/auth-test1.html +113 -0
- package/docs/examples/auth.html +37 -34
- package/docs/examples/badges.html +1 -1
- package/docs/examples/dynamic-query-params.html +1 -0
- package/docs/examples/mongo.html +33 -0
- package/docs/examples/readwrite.html +40 -0
- package/docs/examples/slots.html +7 -0
- package/docs/examples.html +3 -2
- package/docs/index.html +2 -2
- package/docs/list.html +15 -3
- package/docs/quickstart.html +1 -1
- package/docs/rapidoc-min.js +2 -5
- package/docs/rapidoc-mini.html +20 -20
- package/docs/specs/auth-test1.yaml +35 -0
- package/docs/specs/auth.yaml +2 -2
- package/docs/specs/code-highlight.yaml +1 -1
- package/docs/specs/data-types.yaml +0 -1
- package/docs/specs/dynamic-query-params.yaml +41 -0
- package/docs/specs/examples.yaml +11 -0
- package/docs/specs/mongo.yaml +78 -0
- package/docs/specs/multipart-formdata.yaml +3 -0
- package/docs/specs/petstore_extended.yaml +1 -1
- package/docs/specs/readwrite.yaml +90 -0
- package/docs/specs/server.yaml +4 -4
- package/docs/specs/temp.json +24 -105
- package/docs/specs/temp.yaml +20 -282
- package/docs/welcome.html +3 -3
- package/index.html +11 -6
- package/package.json +22 -21
- package/src/components/api-request.js +105 -63
- package/src/components/api-response.js +10 -10
- package/src/components/json-tree.js +2 -1
- package/src/components/schema-table.js +51 -14
- package/src/components/schema-tree.js +59 -18
- package/src/components/tag-input.js +8 -1
- package/src/index.js +2 -1
- package/src/json-schema-viewer.js +341 -0
- package/src/rapidoc-mini.js +5 -1
- package/src/rapidoc.js +11 -7
- package/src/styles/font-styles.js +3 -2
- package/src/styles/nav-styles.js +2 -2
- package/src/templates/components-template.js +9 -10
- package/src/templates/endpoint-template.js +1 -1
- package/src/templates/expanded-endpoint-template.js +1 -1
- package/src/templates/focused-endpoint-template.js +1 -1
- package/src/templates/header-template.js +1 -1
- package/src/templates/json-schema-viewer-template.js +184 -0
- package/src/templates/main-body-template.js +4 -1
- package/src/templates/navbar-template.js +3 -3
- package/src/templates/overview-template.js +6 -3
- package/src/templates/security-scheme-template.js +78 -38
- package/src/templates/server-template.js +1 -1
- package/src/utils/common-utils.js +2 -1
- package/src/utils/schema-utils.js +24 -19
- package/src/utils/spec-parser.js +24 -3
- package/webpack.config.js +1 -12
- package/dist/rapidoc-min.js.map +0 -1
- package/dist/rapidoc-min.js.map.gz +0 -0
package/docs/list.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<meta charset="utf-8">
|
|
15
15
|
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
|
|
16
16
|
<meta name="description" content="RapiDoc is Web Component for viewing Swagger & OpenAPI Spec. Supports themes, styling and various rendering styles">
|
|
17
|
-
<meta name="keywords" content="RapiDoc, ReDoc, Swagger, SwaggerUI, Custom Element,
|
|
17
|
+
<meta name="keywords" content="RapiDoc, openapi viewer, openapi to html, openapi renderer, ReDoc, Swagger, SwaggerUI, Custom Element, Web Component, OpenAPI, REST, themes, dark mode, markdown, API documentation">
|
|
18
18
|
|
|
19
19
|
<link rel="shortcut icon" type="image/png" href="./images/logo.png"/>
|
|
20
20
|
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<div style="display:flex; width:100%; flex-wrap:wrap; justify-content:center;">
|
|
110
110
|
|
|
111
111
|
<div class = "container solid-dark" style="cursor: pointer;" onclick="window.location='./quickstart.html';">
|
|
112
|
-
<h2 style="font-weight:700">
|
|
112
|
+
<h2 style="font-weight:700"> How To Use </h2>
|
|
113
113
|
<div class="row">
|
|
114
114
|
<img style="width:32px" src="./images/html5-logo.png"/>
|
|
115
115
|
<img style="width:32px" src="./images/react-logo.png"/>
|
|
@@ -255,6 +255,14 @@
|
|
|
255
255
|
</div>
|
|
256
256
|
</div>
|
|
257
257
|
|
|
258
|
+
<div class = "container solid-dark" style="cursor: pointer;" onclick="window.location='./rapidoc-mini.html';">
|
|
259
|
+
<h2 style="font-weight:700"> RapiDoc Mini </h2>
|
|
260
|
+
<div class = "c-description" style="color:#ccc">
|
|
261
|
+
RapiDoc Mini - Pluck APIs from OpenAPI Spec into your blog
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
|
|
258
266
|
<div class = "container" >
|
|
259
267
|
<a href="./examples/links.html">Links</a>
|
|
260
268
|
<div class = "c-description">
|
|
@@ -501,7 +509,11 @@
|
|
|
501
509
|
<tr><td class="mono-bold">
|
|
502
510
|
<a href="./examples/data-types.html"> Data types </a>
|
|
503
511
|
</td></tr>
|
|
504
|
-
|
|
512
|
+
|
|
513
|
+
<tr><td class="mono-bold">
|
|
514
|
+
<a href="./examples/readwrite.html"> Read and Write annotations </a>
|
|
515
|
+
</td></tr>
|
|
516
|
+
|
|
505
517
|
<tr><td class="mono-bold">
|
|
506
518
|
<a href="./examples/example-with-nested-refs.html"> Provide Examples with nested refs </a>
|
|
507
519
|
</td></tr>
|
package/docs/quickstart.html
CHANGED
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<!doctype html> <!-- Important: must specify -->
|
|
88
88
|
<html>
|
|
89
89
|
<head>
|
|
90
|
-
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8
|
|
90
|
+
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
|
|
91
91
|
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
|
|
92
92
|
</head>
|
|
93
93
|
<body>
|