Skip to content

Commit 182582a

Browse files
committed
if example is provided then show it, instead of generating from schema
1 parent 92bddaa commit 182582a

18 files changed

+36
-143
lines changed

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<rapi-doc
21-
spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
21+
spec-url="https://petstore.swagger.io/v2/swagger.json"
2222
layout="row"
2323
theme="dark"
2424
>

dist/index.html.gz

0 Bytes
Binary file not shown.

dist/rapidoc-min.js

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

dist/rapidoc-min.js.gz

6 Bytes
Binary file not shown.

dist/rapidoc-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.map.gz

3 Bytes
Binary file not shown.

dist/report.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,6 @@ <h2> Examples & Demos</h2>
475475
}
476476

477477
e.preventDefault();
478-
console.log(e.target.getAttribute('href').substring(1));
479478
var gotoEl = document.getElementById(e.target.getAttribute('href').substring(1));
480479
if (gotoEl){
481480
gotoEl.scrollIntoView({ block: 'start', behavior: 'smooth' });

docs/rapidoc-min.js

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

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<rapi-doc
21-
spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
21+
spec-url="https://petstore.swagger.io/v2/swagger.json"
2222
layout="row"
2323
theme="dark"
2424
>

0 commit comments

Comments
 (0)