Skip to content

Commit 7c6d3e3

Browse files
committed
Examples for Qs and path params are now loaded in input boxes
1 parent c6d5c4f commit 7c6d3e3

13 files changed

+459
-357
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,4 @@ yarn build
5757

5858
# for developement use yarn serve (this will start an webserver at port 8080, then navigate to localhost:8080)
5959
yarn serve
60-
```
61-
62-
63-
## Help RapiDoc grow
64-
If you like this project, and would like to help us raise awareness of RapiDoc,
65-
I am looking for adding links to your design of RapiDoc.
66-
67-
I often find it's helpful to see use-cases "in the wild". Be it a new style, an integration project with another framework such as vue, or be it just a Logo of your organization which would validate our commitment to quality.
68-
69-
You can suggest your RapiDoc's Design by creating an issue and we will take it from there.
60+
```

dist/rapidoc-min.js

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

dist/rapidoc-min.js.gz

1.23 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

13.8 KB
Binary file not shown.

dist/report.html

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

docs/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
<a class="menu-item" href="#qstart"> Quick Start </a>
4444
<a class="menu-item" href="#examples"> Examples </a>
4545
<a class="menu-item" href="#api"> API </a>
46-
<a class="menu-item" data-action="git" href="https://github.com/mrin9/RapiDoc"> GitHub </a>
46+
<a class="menu-item" data-action="url" href="https://mrin9.github.io/RapiPdf/"> RapiPDF </a>
47+
<a class="menu-item" data-action="url" href="https://github.com/mrin9/RapiDoc"> GitHub </a>
4748
</nav>
4849
</div>
4950
<div>
@@ -463,14 +464,15 @@ <h2> Examples & Demos</h2>
463464
<div id="footer" class="footer container">
464465
<div class="footer-item"> MIT Licence</div>
465466
<div class="footer-item"> <a href="https://github.com/mrin9/RapiDoc"> GitHub</a></div>
467+
<div class="footer-item"> <a href="https://mrin9.github.io/RapiPdf/"> RapiPDF</a></div>
466468
<div class="footer-item"> <a href="https://www.npmjs.com/package/rapidoc"> npm</a></div>
467469
</div>
468470

469471

470472
<script>
471473

472474
function goToSection(e){
473-
if (e.target.dataset.action==='git'){
475+
if (e.target.dataset.action==='url'){
474476
return;
475477
}
476478

docs/rapidoc-min.js

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

docs/welcome.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
<!--
2-
THIS FILE IS COPY OF index.html
3-
webpack dev server do not recognize index.html from this folder, it uses the index.html from the root folder
4-
-->
51
<!doctype html>
62

73
<head>
4+
<!-- Global site tag (gtag.js) - Google Analytics -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132775238-1"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', 'UA-132775238-1');
12+
</script>
13+
814
<meta charset="utf-8">
915
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
1016
<meta name="description" content="RapiDoc is Web Component based Swagger & OpenAPI Spec Viewer. Alternate for SwaggerUI or Redoc. It is fast, small and made with lit-element">
@@ -37,7 +43,8 @@
3743
<a class="menu-item" href="#qstart"> Quick Start </a>
3844
<a class="menu-item" href="#examples"> Examples </a>
3945
<a class="menu-item" href="#api"> API </a>
40-
<a class="menu-item" data-action="git" href="https://github.com/mrin9/RapiDoc"> GitHub </a>
46+
<a class="menu-item" data-action="url" href="https://mrin9.github.io/RapiPdf/"> RapiPDF </a>
47+
<a class="menu-item" data-action="url" href="https://github.com/mrin9/RapiDoc"> GitHub </a>
4148
</nav>
4249
</div>
4350
<div>
@@ -457,14 +464,15 @@ <h2> Examples & Demos</h2>
457464
<div id="footer" class="footer container">
458465
<div class="footer-item"> MIT Licence</div>
459466
<div class="footer-item"> <a href="https://github.com/mrin9/RapiDoc"> GitHub</a></div>
467+
<div class="footer-item"> <a href="https://mrin9.github.io/RapiPdf/"> RapiPDF</a></div>
460468
<div class="footer-item"> <a href="https://www.npmjs.com/package/rapidoc"> npm</a></div>
461469
</div>
462470

463471

464472
<script>
465473

466474
function goToSection(e){
467-
if (e.target.dataset.action==='git'){
475+
if (e.target.dataset.action==='url'){
468476
return;
469477
}
470478

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapidoc",
3-
"version": "4.2.6",
3+
"version": "4.2.7",
44
"description": "RapiDoc - Open API spec viewer with built in console",
55
"author": "Mrinmoy Majumdar <[email protected]>",
66
"repository": {
@@ -25,21 +25,21 @@
2525
"main": "rapidoc.js",
2626
"module": "rapidoc.js",
2727
"dependencies": {
28-
"json-refs": "^3.0.12",
28+
"json-refs": "^3.0.13",
2929
"lit-element": "2.1.0",
3030
"lit-html": "1.0.0",
31-
"marked": "^0.6.1",
31+
"marked": "^0.6.2",
3232
"swagger2openapi": "^4.0.2"
3333
},
3434
"scripts": {
35-
"build": "webpack --mode=${NODE_ENV:-production}",
35+
"build": "NODE_ENV=production webpack",
3636
"serve": "webpack-dev-server --mode=development"
3737
},
3838
"devDependencies": {
39-
"@babel/core": "^7.4.0",
40-
"@babel/preset-env": "^7.4.2",
39+
"@babel/core": "^7.4.3",
40+
"@babel/preset-env": "^7.4.3",
4141
"babel-loader": "^8.0.5",
42-
"babel-plugin-template-html-minifier": "^2.2.1",
42+
"babel-plugin-template-html-minifier": "^2.3.0",
4343
"clean-webpack-plugin": "^2.0.1",
4444
"compression-webpack-plugin": "^2.0.0",
4545
"css-loader": "^2.1.1",
@@ -51,8 +51,8 @@
5151
"sass-loader": "^7.1.0",
5252
"style-loader": "^0.23.1",
5353
"webpack": "^4.29.6",
54-
"webpack-bundle-analyzer": "^3.1.0",
54+
"webpack-bundle-analyzer": "^3.3.2",
5555
"webpack-cli": "^3.3.0",
56-
"webpack-dev-server": "^3.2.1"
56+
"webpack-dev-server": "^3.3.1"
5757
}
5858
}

0 commit comments

Comments
 (0)