Skip to content

Commit 19f5ebd

Browse files
committed
Minor fixes and style changes
1 parent 6c127ea commit 19f5ebd

28 files changed

+332
-311
lines changed

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "standard"
3+
}

dist/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@
6767
>
6868
</rapi-doc>
6969
-->
70-
<rapi-doc spec-url="https://petstore.swagger.io/v2/swagger.json"
70+
<rapi-doc spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
7171
theme="light"
72+
show-info="false"
73+
show-header="false"
7274
></rapi-doc>
7375
<script type="text/javascript" src="rapidoc-min.js"></script></body>
7476

dist/index.html.gz

10 Bytes
Binary file not shown.

dist/rapidoc-min.js

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

dist/rapidoc-min.js.gz

3.17 KB
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

-28 Bytes
Binary file not shown.

dist/report.html

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

docs/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,15 @@ Style the element using standard `css`. Apply borders, padding, width, height et
130130
> </rapi-doc>
131131
```
132132

133-
- [Compact Mode (Request/Response one below the other)](example4.html)
133+
- [Integrate with any HTML document (Request/Response one below the other)](example4.html)
134134
```html
135135
<rapi-doc
136136
spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
137137
theme='dark'
138138
show-header='false'
139+
show-info='false'
140+
show-authentication='false'
141+
theme='dark'
139142
layout="column"
140143
> </rapi-doc>
141144
```

docs/example4.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ <h3>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over
3232
</div>
3333
<rapi-doc style="flex:1; margin:16px; border:4px solid #ccc;border-radius:4px;"
3434
spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json"
35+
show-header='false'
36+
show-info='false'
37+
show-authentication='false'
3538
theme='dark'
3639
layout="column"
3740
>

0 commit comments

Comments
 (0)