Skip to content

Commit

Permalink
Document
Browse files Browse the repository at this point in the history
  • Loading branch information
blueswen committed Jun 21, 2022
1 parent 3cd4492 commit 363ff6d
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion demo-mkdocs/docs/demo/build-in-multiple.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The Swagger UI with multiple OAS takes the first grouped swagger-ui tag position

## Multiple OAS in single Swagger UI

<swagger-ui grouped name="Pet Store" filter="" src="https://petstore.swagger.io/v2/swagger.json"/>
<swagger-ui grouped name="Pet Store" src="https://petstore.swagger.io/v2/swagger.json"/>
<swagger-ui grouped name="Sample" src="./openapi-spec/sample.yaml"/>
<swagger-ui grouped name="Sample First" src="./openapi-spec/sample-first.yaml"/>
<swagger-ui grouped name="Sample Second" src="./openapi-spec/sample-second.yaml"/>
Expand Down
6 changes: 3 additions & 3 deletions docs/demo/build-in-multiple/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ <h2 id="markdown">Markdown</h2>
<a href="#__codelineno-0-5" id="__codelineno-0-5" name="__codelineno-0-5"></a>&lt;swagger-ui grouped name="Sample Third" src="./openapi-spec/sample-third.yaml"/&gt;
</code></pre></div>
<h2 id="multiple-oas-in-single-swagger-ui">Multiple OAS in single Swagger UI</h2>
<p><iframe frameborder="0" id="ea482860" src="swagger-ea482860.html" style="overflow:hidden;width:100%;" width="100%"></iframe>
<p><iframe frameborder="0" id="12bb2da3" src="swagger-12bb2da3.html" style="overflow:hidden;width:100%;" width="100%"></iframe>
</p>
<h2 id="other-independent-swagger-ui">Other independent Swagger UI</h2>
<p><iframe frameborder="0" id="ae637ed0" src="swagger-ae637ed0.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="7d581dbb" src="swagger-7d581dbb.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
<script>var input,hash=location.hash.slice(1);hash.startsWith("__tabbed_")&&((input=document.getElementById(hash)).checked=!0)</script>
</div>
Expand Down Expand Up @@ -285,7 +285,7 @@ <h2 id="other-independent-swagger-ui">Other independent Swagger UI</h2>
characterDataOldValue: false
};

const iframe_id_list = ["ae637ed0", "ea482860"]
const iframe_id_list = ["7d581dbb", "12bb2da3"]

function color_scheme_callback(mutations) {
for (let mutation of mutations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@


"docExpansion": "list",
"filter": "",
"filter": false,
"tryItOutEnabled": false,
"supportedSubmitMethods": [
"get",
Expand All @@ -59,7 +59,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("ea482860");
parent.update_swagger_ui_iframe_height("12bb2da3");
});

// start observing for resize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("ae637ed0");
parent.update_swagger_ui_iframe_height("7d581dbb");
});

// start observing for resize
Expand Down
6 changes: 3 additions & 3 deletions docs/demo/multiple/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ <h2 id="markdown">Markdown</h2>
<a href="#__codelineno-0-2" id="__codelineno-0-2" name="__codelineno-0-2"></a>&lt;swagger-ui src="https://petstore.swagger.io/v2/swagger.json"/&gt;
</code></pre></div>
<h2 id="swagger-ui">Swagger UI</h2>
<p><iframe frameborder="0" id="a5f4f3af" src="swagger-a5f4f3af.html" style="overflow:hidden;width:100%;" width="100%"></iframe>
<iframe frameborder="0" id="b3ce2eec" src="swagger-b3ce2eec.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="70f08651" src="swagger-70f08651.html" style="overflow:hidden;width:100%;" width="100%"></iframe>
<iframe frameborder="0" id="ad7c227c" src="swagger-ad7c227c.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
<script>var input,hash=location.hash.slice(1);hash.startsWith("__tabbed_")&&((input=document.getElementById(hash)).checked=!0)</script>
</div>
Expand Down Expand Up @@ -281,7 +281,7 @@ <h2 id="swagger-ui">Swagger UI</h2>
characterDataOldValue: false
};

const iframe_id_list = ["a5f4f3af", "b3ce2eec"]
const iframe_id_list = ["70f08651", "ad7c227c"]

function color_scheme_callback(mutations) {
for (let mutation of mutations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("6cb02b72");
parent.update_swagger_ui_iframe_height("70f08651");
});

// start observing for resize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("b3ce2eec");
parent.update_swagger_ui_iframe_height("ad7c227c");
});

// start observing for resize
Expand Down
4 changes: 2 additions & 2 deletions docs/demo/static-file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h2 id="markdown">Markdown</h2>
<div class="highlight"><pre><span></span><code><a href="#__codelineno-0-1" id="__codelineno-0-1" name="__codelineno-0-1"></a>&lt;swagger-ui src="./openapi-spec/sample.yaml"/&gt;
</code></pre></div>
<h2 id="swagger-ui">Swagger UI</h2>
<p><iframe frameborder="0" id="6cb02b72" src="swagger-6cb02b72.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="2e0d805d" src="swagger-2e0d805d.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
<script>var input,hash=location.hash.slice(1);hash.startsWith("__tabbed_")&&((input=document.getElementById(hash)).checked=!0)</script>
</div>
Expand Down Expand Up @@ -279,7 +279,7 @@ <h2 id="swagger-ui">Swagger UI</h2>
characterDataOldValue: false
};

const iframe_id_list = ["6cb02b72"]
const iframe_id_list = ["2e0d805d"]

function color_scheme_callback(mutations) {
for (let mutation of mutations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("a5f4f3af");
parent.update_swagger_ui_iframe_height("2e0d805d");
});

// start observing for resize
Expand Down
6 changes: 3 additions & 3 deletions docs/options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ <h2 id="through-tag-attributes">Through tag attributes</h2>
<div class="highlight"><pre><span></span><code><a href="#__codelineno-1-1" id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="p">&lt;</span><span class="nt">swagger-ui</span> <span class="na">supportedSubmitMethods</span><span class="o">=</span><span class="s">"['get']"</span> <span class="na">docExpansion</span><span class="o">=</span><span class="s">"none"</span> <span class="na">filter</span><span class="o">=</span><span class="s">""</span> <span class="na">syntaxHighlightTheme</span><span class="o">=</span><span class="s">"monokai"</span> <span class="na">src</span><span class="o">=</span><span class="s">"./demo/openapi-spec/sample.yaml"</span><span class="p">/&gt;</span>
</code></pre></div>
<h3 id="swagger-ui-with-local-configurations">Swagger UI with local configurations</h3>
<p><iframe frameborder="0" id="7b874576" src="swagger-7b874576.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="3ebbfab9" src="swagger-3ebbfab9.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<h3 id="swagger-ui-without-local-configurations">Swagger UI without local configurations</h3>
<p><iframe frameborder="0" id="d25bae17" src="swagger-d25bae17.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="352360a6" src="swagger-352360a6.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
<script>var input,hash=location.hash.slice(1);hash.startsWith("__tabbed_")&&((input=document.getElementById(hash)).checked=!0)</script>
</div>
Expand Down Expand Up @@ -365,7 +365,7 @@ <h3 id="swagger-ui-without-local-configurations">Swagger UI without local config
characterDataOldValue: false
};

const iframe_id_list = ["7b874576", "d25bae17"]
const iframe_id_list = ["3ebbfab9", "352360a6"]

function color_scheme_callback(mutations) {
for (let mutation of mutations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("d25bae17");
parent.update_swagger_ui_iframe_height("352360a6");
});

// start observing for resize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("7b874576");
parent.update_swagger_ui_iframe_height("3ebbfab9");
});

// start observing for resize
Expand Down
4 changes: 2 additions & 2 deletions docs/pet-store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ <h2 id="markdown">Markdown</h2>
<div class="highlight"><pre><span></span><code><a href="#__codelineno-0-1" id="__codelineno-0-1" name="__codelineno-0-1"></a>&lt;swagger-ui src="https://petstore.swagger.io/v2/swagger.json"/&gt;
</code></pre></div>
<h2 id="swagger-ui">Swagger UI</h2>
<p><iframe frameborder="0" id="d186620d" src="swagger-d186620d.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe frameborder="0" id="d181ec16" src="swagger-d181ec16.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
<script>var input,hash=location.hash.slice(1);hash.startsWith("__tabbed_")&&((input=document.getElementById(hash)).checked=!0)</script>
</div>
Expand Down Expand Up @@ -278,7 +278,7 @@ <h2 id="swagger-ui">Swagger UI</h2>
characterDataOldValue: false
};

const iframe_id_list = ["d186620d"]
const iframe_id_list = ["d181ec16"]

function color_scheme_callback(mutations) {
for (let mutation of mutations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
}
const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("d186620d");
parent.update_swagger_ui_iframe_height("d181ec16");
});

// start observing for resize
Expand Down
Binary file modified docs/sitemap.xml.gz
Binary file not shown.

0 comments on commit 363ff6d

Please sign in to comment.