Skip to content

Commit ee0ab5b

Browse files
committed
1. fixed query params with non-exploded array. 2. tag-input can be now intialized with preset values
1 parent 2a3b0a2 commit ee0ab5b

14 files changed

+155
-83
lines changed

dist/index.html

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,36 @@
1919
./specs/petstore_anyof.yaml <<< contains complex one-of with inline primitives and recursive objects
2020
./specs/oneof1.yaml <<< nested oneof
2121
-->
22+
23+
<rapi-doc
24+
id="thedoc"
25+
spec-url="./specs/petstore_extended.yaml"
26+
theme="dark"
27+
render-style = "read"
28+
regular-font = 'Open Sans'
29+
schema-style = 'tree'
30+
> </rapi-doc>
31+
32+
33+
<!--
2234
<rapi-doc
2335
id="thedoc"
24-
spec-url="./specs/temp.yaml"
36+
spec-url="./specs/petstore_extended.yaml"
2537
theme="dark"
2638
allow-api-list-style-selection = "false"
27-
render-style = 'read'
39+
render-style = "read"
2840
regular-font = 'Open Sans'
29-
schema-style = 'table'
41+
schema-style = 'tree'
3042
schema-expand-level = "3"
3143
default-schema-tab = "model"
44+
primary-color = "#AA8144"
45+
nav-bg-color = "#383F46"
46+
nav-text-color = "#839999"
47+
nav-hover-bg-color = "#282D3F"
48+
nav-hover-text-color = "#AA8144"
49+
nav-accent-color = "#AA8144"
3250
> </rapi-doc>
33-
51+
-->
3452
<!--
3553
<script>
3654
document.addEventListener('DOMContentLoaded', (event) => {

dist/index.html.gz

94 Bytes
Binary file not shown.

dist/rapidoc-min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

129 Bytes
Binary file not shown.

dist/report.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</nav>
5959
</div>
6060
</div>
61-
<div class="banner container" id="banner" style="max-height:255px; overflow:hidden">
61+
<div class="banner" id="banner" style="max-height:255px; overflow:hidden">
6262
<div style="display:flex; justify-content: center; margin-top:20px">
6363
<div style="display:block">
6464
<img id="main-img" class="shadow3 hide-in-mobile" src="./images/light_ss.png" />

docs/examples/dynamic-query-params.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
</style>
2121
</head>
2222
<body>
23-
<rapi-doc spec-url="../specs/dynamic-query-params.yaml" style="min-width:460px"> </rapi-doc>
23+
<rapi-doc spec-url="../specs/dynamic-query-params.yaml" render-style='read' allow-server-selection="false" allow-authentication="false"> </rapi-doc>
2424
</body>
2525
</html>

docs/list.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,17 @@
2323
<link href="https://fonts.googleapis.com/css?family=Lato:300,400&display=swap" rel="stylesheet">
2424

2525
<link rel="stylesheet" href="./index.css">
26+
<link rel="stylesheet" href="table.css">
27+
2628
<title>RapiDoc - Web Component based Swagger & OpenAPI Spec Viewer</title>
29+
<style>
30+
.m-table {
31+
width:100%;
32+
}
33+
#main-img{
34+
width:740px;
35+
}
36+
</style>
2737
</head>
2838

2939
<body>
@@ -32,21 +42,21 @@
3242
<a class="menu-item" data-action="url" href="./index.html">
3343
<img class="logo" src="./images/logo.png" style="width:36px;height:36px;margin-right:10px;" href="./index.html"/>
3444
</a>
35-
<div class="product-name">RapiDoc - Examples & Test Cases</div>
45+
<div class="product-name">RapiDoc</div>
3646
<div class="menu" style="flex:1"></div>
3747
<nav class="menu" onclick="goToSection(event)">
3848
<a class="menu-item" data-action="url" href="./index.html"> Home </a>
3949
<a class="menu-item" data-action="url" href="./examples.html"> Examples </a>
4050
<a class="menu-item" data-action="url" href="./api.html"> API </a>
41-
<a class="menu-item" data-action="url" href="https://mrin9.github.io/RapiPdf/"> RapiPDF </a>
51+
<a class="menu-item hide-in-mobile" data-action="url" href="https://mrin9.github.io/RapiPdf/"> RapiPDF </a>
4252
<a class="menu-item" data-action="url" href="https://github.com/mrin9/RapiDoc"> GitHub </a>
4353
</nav>
4454
</div>
4555
</div>
46-
<div class="banner container" id="banner" style="max-height:255px; overflow:hidden">
56+
<div class="banner" id="banner" style="max-height:255px; overflow:hidden">
4757
<div style="display:flex; justify-content: center; margin-top:20px">
4858
<div style="display:block">
49-
<img class="screenshot shadow3" src="./images/rapi-markdown.png" />
59+
<img id="main-img" class="shadow3" src="./images/rapi-markdown.png" />
5060
</div>
5161
</div>
5262
</div>

docs/rapidoc-min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/specs/data-types.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ paths:
135135
default: hiking
136136
- name: tags
137137
in: query
138-
description: Add tags to the person
138+
description: Add tags to the person (not-exploded)
139139
style: form
140+
explode: false
140141
schema:
141142
type: array
142143
items:

0 commit comments

Comments
 (0)