rapidoc 9.3.2 → 9.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflow/words.yaml +22 -0
- package/dist/index.html +1 -1
- package/dist/index.html.gz +0 -0
- package/dist/rapidoc-min.js +857 -738
- package/dist/rapidoc-min.js.LICENSE.txt +9 -10
- package/dist/rapidoc-min.js.LICENSE.txt.gz +0 -0
- package/dist/rapidoc-min.js.gz +0 -0
- package/dist/rapidoc-min.js.map +1 -1
- package/dist/rapidoc-min.js.map.gz +0 -0
- package/dist/rapidoc.js +9341 -25092
- package/dist/report.html +5 -4
- package/index.html +2 -3
- package/package.json +20 -19
- package/src/components/api-request.js +344 -154
- package/src/components/api-response.js +16 -12
- package/src/components/json-tree.js +17 -12
- package/src/components/schema-table.js +50 -42
- package/src/components/schema-tree.js +56 -53
- package/src/components/tag-input.js +7 -4
- package/src/json-schema-viewer.js +1 -2
- package/src/rapidoc-mini.js +1 -3
- package/src/rapidoc.js +112 -45
- package/src/styles/endpoint-styles.js +1 -1
- package/src/styles/font-styles.js +1 -1
- package/src/styles/info-styles.js +2 -1
- package/src/styles/input-styles.js +2 -16
- package/src/styles/nav-styles.js +57 -10
- package/src/styles/schema-styles.js +27 -15
- package/src/styles/tab-styles.js +1 -0
- package/src/templates/callback-template.js +6 -7
- package/src/templates/code-samples-template.js +1 -0
- package/src/templates/components-template.js +3 -5
- package/src/templates/endpoint-template.js +41 -27
- package/src/templates/expanded-endpoint-template.js +63 -13
- package/src/templates/focused-endpoint-template.js +4 -1
- package/src/templates/header-template.js +2 -2
- package/src/templates/json-schema-viewer-template.js +2 -1
- package/src/templates/main-body-template.js +19 -18
- package/src/templates/navbar-template.js +98 -81
- package/src/templates/overview-template.js +1 -1
- package/src/templates/security-scheme-template.js +48 -25
- package/src/templates/server-template.js +1 -1
- package/src/utils/common-utils.js +2 -5
- package/src/utils/schema-utils.js +208 -83
- package/src/utils/spec-parser.js +1 -0
- package/src/utils/theme.js +11 -5
- package/webpack.config.js +2 -1
package/index.html
CHANGED
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
https://cesdev.eng.sonicwall.com/api/q/openapi
|
|
32
32
|
-->
|
|
33
33
|
<rapi-doc
|
|
34
|
-
spec-url = "./specs/
|
|
34
|
+
spec-url = "./specs/temp.yaml"
|
|
35
35
|
id="thedoc"
|
|
36
36
|
theme = "dark"
|
|
37
|
-
render-style="
|
|
37
|
+
render-style="view"
|
|
38
38
|
schema-style="table"
|
|
39
39
|
show-method-in-nav-bar = "true"
|
|
40
40
|
use-path-in-nav-bar = "true"
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
allow-spec-file-download="true"
|
|
48
48
|
allow-server-selection = "true"
|
|
49
49
|
allow-authentication = "true"
|
|
50
|
-
use-summary-to-list-example = "true"
|
|
51
50
|
update-route="false"
|
|
52
51
|
match-type="regex"
|
|
53
52
|
persist-auth="true"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rapidoc",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.4",
|
|
4
4
|
"description": "RapiDoc - Open API spec viewer with built in console",
|
|
5
5
|
"author": "Mrinmoy Majumdar <mrin9@yahoo.com>",
|
|
6
6
|
"homepage": "https://rapidocweb.com",
|
|
@@ -33,12 +33,13 @@
|
|
|
33
33
|
"module": "dist/rapidoc-min.js",
|
|
34
34
|
"mode": "production",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@apitools/openapi-parser": "
|
|
36
|
+
"@apitools/openapi-parser": "0.0.30",
|
|
37
37
|
"base64-arraybuffer": "^1.0.2",
|
|
38
38
|
"buffer": "^6.0.3",
|
|
39
|
-
"lit": "^2.
|
|
40
|
-
"marked": "^4.
|
|
41
|
-
"prismjs": "^1.
|
|
39
|
+
"lit": "^2.6.1",
|
|
40
|
+
"marked": "^4.2.12",
|
|
41
|
+
"prismjs": "^1.29.0",
|
|
42
|
+
"xml-but-prettier": "^1.0.1"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
45
|
"build": "NODE_ENV=production webpack --mode=production",
|
|
@@ -50,30 +51,30 @@
|
|
|
50
51
|
"lint-fix": "./node_modules/eslint/bin/eslint.js --fix ./src/**"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
|
-
"@babel/core": "^7.
|
|
54
|
-
"@babel/eslint-parser": "^7.
|
|
55
|
-
"@babel/preset-env": "^7.
|
|
56
|
-
"babel-loader": "^
|
|
54
|
+
"@babel/core": "^7.20.12",
|
|
55
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
56
|
+
"@babel/preset-env": "^7.20.2",
|
|
57
|
+
"babel-loader": "^9.1.2",
|
|
57
58
|
"babel-plugin-template-html-minifier": "^4.1.0",
|
|
58
59
|
"clean-webpack-plugin": "^4.0.0",
|
|
59
60
|
"compression-webpack-plugin": "^10.0.0",
|
|
60
|
-
"css-loader": "^6.7.
|
|
61
|
-
"eslint": "^8.
|
|
61
|
+
"css-loader": "^6.7.3",
|
|
62
|
+
"eslint": "^8.32.0",
|
|
62
63
|
"eslint-config-airbnb": "^19.0.4",
|
|
63
64
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
64
|
-
"eslint-plugin-import": "^2.
|
|
65
|
-
"eslint-webpack-plugin": "3.
|
|
65
|
+
"eslint-plugin-import": "^2.27.0",
|
|
66
|
+
"eslint-webpack-plugin": "3.2.0",
|
|
66
67
|
"file-loader": "^6.2.0",
|
|
67
|
-
"filemanager-webpack-plugin": "^
|
|
68
|
+
"filemanager-webpack-plugin": "^8.0.0",
|
|
68
69
|
"html-webpack-plugin": "^5.5.0",
|
|
69
70
|
"inspectpack": "^4.7.1",
|
|
70
71
|
"style-loader": "^3.3.1",
|
|
71
|
-
"terser-webpack-plugin": "^5.3.
|
|
72
|
+
"terser-webpack-plugin": "^5.3.6",
|
|
72
73
|
"unminified-webpack-plugin": "^3.0.0",
|
|
73
|
-
"webpack": "^5.
|
|
74
|
-
"webpack-bundle-analyzer": "^4.
|
|
75
|
-
"webpack-cli": "^
|
|
76
|
-
"webpack-dev-server": "^4.
|
|
74
|
+
"webpack": "^5.75.0",
|
|
75
|
+
"webpack-bundle-analyzer": "^4.7.0",
|
|
76
|
+
"webpack-cli": "^5.0.1",
|
|
77
|
+
"webpack-dev-server": "^4.11.1"
|
|
77
78
|
},
|
|
78
79
|
"engines": {
|
|
79
80
|
"node": ">=10.21.0"
|