Skip to content

Commit 69a4441

Browse files
committed
generated build for 7.3.0
1 parent 2ee1090 commit 69a4441

File tree

9 files changed

+78
-59
lines changed

9 files changed

+78
-59
lines changed

Dockerfile

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
# To Build Docker Image
2-
# docker build -t rapidoc .
3-
4-
# To Run the Docker image
1+
# Run the Docker image (view a spec thats hosted on a web-server)
52
# docker run -it --rm -p 80:80 -e SPEC_URL="http://petstore.swagger.io/v2/swagger.json" rapidoc
63

7-
# To Run the Docker image with custom RapiDoc options such as dark theme
4+
# Run the Docker image (view a spec thats on the local disk)
5+
# Mount the local spec onto nginx server (available in the docker container)
6+
# docker run -it --rm -p 80:80 \
7+
# -v $(pwd)/my-openapi.yaml:/usr/share/nginx/html/my-openapi.yaml \
8+
# -e SPEC_URL = "my-openapi.yaml" mrin9/rapidoc
89

10+
11+
# To Run the Docker image with custom RapiDoc options such as dark theme
912
# Example 1 (dark mode)
10-
# docker run -it --rm -p 80:80 -e SPEC_URL="http://petstore.swagger.io/v2/swagger.json" -e RAPIDOC_OPTIONS="theme='dark' " rapidoc
13+
# docker run -it --rm -p 80:80 \
14+
# -e SPEC_URL="http://petstore.swagger.io/v2/swagger.json"
15+
# -e RAPIDOC_OPTIONS="theme='dark'" mrin9/rapidoc
1116

1217
# Example 2 (provide your own api server)
13-
# docker run -it --rm -p 80:80 -e SPEC_URL="http://petstore.swagger.io/v2/swagger.json" -e RAPIDOC_OPTIONS="theme='dark' server-url='http://localhost:8080/api'" rapidoc
18+
# docker run -it --rm -p 80:80 \
19+
# -e SPEC_URL="http://petstore.swagger.io/v2/swagger.json" \
20+
# -e RAPIDOC_OPTIONS="theme='dark' server-url='http://localhost:8080/api'" mrin9/rapidoc
1421

1522
FROM node:alpine
1623

dist/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
2222
-->
2323

24-
<!--
24+
2525
<rapi-doc
2626
id = "thedoc"
2727
spec-url = "https://petstore.swagger.io/v2/swagger.json"
28-
theme = "dark"
29-
render-style = "view"
28+
theme = "light"
29+
render-style = "read"
3030
schema-style = 'tree'
3131
sort-endpoints-by = "method"
3232
response-area-height = "900px"
3333
> </rapi-doc>
34-
-->
3534

3635

36+
<!--
3737
<rapi-doc
3838
id="thedoc"
3939
spec-url="./specs/pet.yaml"
@@ -51,6 +51,7 @@
5151
nav-hover-text-color = "#AA8144"
5252
nav-accent-color = "#AA8144"
5353
> </rapi-doc>
54+
-->
5455

5556
<!--
5657
<rapi-doc id = "thedoc" ></rapi-doc>

dist/rapidoc-min.js

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

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/report.html

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

docs/rapidoc-min.js

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

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
2222
-->
2323

24-
<!--
24+
2525
<rapi-doc
2626
id = "thedoc"
2727
spec-url = "https://petstore.swagger.io/v2/swagger.json"
28-
theme = "dark"
29-
render-style = "view"
28+
theme = "light"
29+
render-style = "read"
3030
schema-style = 'tree'
3131
sort-endpoints-by = "method"
3232
response-area-height = "900px"
3333
> </rapi-doc>
34-
-->
3534

3635

36+
<!--
3737
<rapi-doc
3838
id="thedoc"
3939
spec-url="./specs/pet.yaml"
@@ -51,6 +51,7 @@
5151
nav-hover-text-color = "#AA8144"
5252
nav-accent-color = "#AA8144"
5353
> </rapi-doc>
54+
-->
5455

5556
<!--
5657
<rapi-doc id = "thedoc" ></rapi-doc>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapidoc",
3-
"version": "7.2.1",
3+
"version": "7.3.0",
44
"description": "RapiDoc - Open API spec viewer with built in console",
55
"author": "Mrinmoy Majumdar <[email protected]>",
66
"repository": {

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4684,9 +4684,9 @@ json5@^1.0.1:
46844684
minimist "^1.2.0"
46854685

46864686
json5@^2.1.0:
4687-
version "2.1.0"
4688-
resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.0.tgz#e7a0c62c48285c628d20a10b85c89bb807c32850"
4689-
integrity sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==
4687+
version "2.1.1"
4688+
resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6"
4689+
integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==
46904690
dependencies:
46914691
minimist "^1.2.0"
46924692

@@ -6593,9 +6593,9 @@ resolve@^1.12.0, resolve@^1.13.1:
65936593
path-parse "^1.0.6"
65946594

65956595
resolve@^1.3.2:
6596-
version "1.10.0"
6597-
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba"
6598-
integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==
6596+
version "1.15.1"
6597+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"
6598+
integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==
65996599
dependencies:
66006600
path-parse "^1.0.6"
66016601

@@ -6758,7 +6758,7 @@ semver-compare@^1.0.0:
67586758
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
67596759
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
67606760

6761-
"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
6761+
"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.6.0:
67626762
version "5.6.0"
67636763
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
67646764
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
@@ -6768,7 +6768,7 @@ [email protected]:
67686768
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
67696769
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==
67706770

6771-
semver@^5.7.1:
6771+
semver@^5.4.1, semver@^5.7.1:
67726772
version "5.7.1"
67736773
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
67746774
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==

0 commit comments

Comments
 (0)