rapidoc 9.3.3 → 9.3.5
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/README.md +2 -7
- package/dist/index.html +1 -1
- package/dist/index.html.gz +0 -0
- package/dist/rapidoc-min.js +858 -748
- package/dist/rapidoc-min.js.LICENSE.txt +14 -9
- 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 +11948 -32008
- package/dist/report.html +6 -5
- package/index.html +2 -1
- package/package.json +25 -24
- package/src/components/api-request.js +266 -122
- package/src/components/api-response.js +11 -10
- package/src/components/json-tree.js +17 -12
- package/src/components/schema-table.js +58 -49
- package/src/components/schema-tree.js +60 -56
- package/src/components/tag-input.js +7 -4
- package/src/json-schema-viewer.js +2 -1
- package/src/rapidoc-mini.js +1 -1
- package/src/rapidoc.js +108 -35
- package/src/styles/endpoint-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/advance-search-template.js +3 -3
- package/src/templates/callback-template.js +3 -3
- package/src/templates/code-samples-template.js +1 -0
- package/src/templates/components-template.js +3 -5
- package/src/templates/endpoint-template.js +39 -26
- package/src/templates/expanded-endpoint-template.js +58 -9
- package/src/templates/focused-endpoint-template.js +5 -2
- 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 +99 -82
- package/src/templates/overview-template.js +1 -1
- package/src/templates/security-scheme-template.js +51 -27
- package/src/templates/server-template.js +1 -1
- package/src/utils/common-utils.js +2 -2
- package/src/utils/schema-utils.js +192 -67
- package/src/utils/spec-parser.js +9 -3
- package/src/utils/theme.js +9 -3
- package/webpack.config.js +2 -1
package/index.html
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
https://cesdev.eng.sonicwall.com/api/q/openapi
|
|
32
32
|
-->
|
|
33
33
|
<rapi-doc
|
|
34
|
-
spec-url = "./specs/
|
|
34
|
+
spec-url = "./specs/petstore.yaml"
|
|
35
35
|
id="thedoc"
|
|
36
36
|
theme = "dark"
|
|
37
37
|
render-style="view"
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
update-route="false"
|
|
51
51
|
match-type="regex"
|
|
52
52
|
persist-auth="true"
|
|
53
|
+
scroll-behavior="smooth"
|
|
53
54
|
></rapi-doc>
|
|
54
55
|
<!--
|
|
55
56
|
<rapi-doc-mini
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rapidoc",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.5",
|
|
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.32",
|
|
37
37
|
"base64-arraybuffer": "^1.0.2",
|
|
38
38
|
"buffer": "^6.0.3",
|
|
39
|
-
"lit": "^
|
|
40
|
-
"marked": "
|
|
41
|
-
"prismjs": "^1.
|
|
39
|
+
"lit": "^3.2.0",
|
|
40
|
+
"marked": "4.3.0",
|
|
41
|
+
"prismjs": "^1.29.0",
|
|
42
|
+
"randexp": "^0.5.3",
|
|
42
43
|
"xml-but-prettier": "^1.0.1"
|
|
43
44
|
},
|
|
44
45
|
"scripts": {
|
|
@@ -51,32 +52,32 @@
|
|
|
51
52
|
"lint-fix": "./node_modules/eslint/bin/eslint.js --fix ./src/**"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.
|
|
55
|
-
"@babel/eslint-parser": "^7.
|
|
56
|
-
"@babel/preset-env": "^7.
|
|
57
|
-
"babel-loader": "^
|
|
55
|
+
"@babel/core": "^7.25.2",
|
|
56
|
+
"@babel/eslint-parser": "^7.25.1",
|
|
57
|
+
"@babel/preset-env": "^7.25.4",
|
|
58
|
+
"babel-loader": "^9.2.1",
|
|
58
59
|
"babel-plugin-template-html-minifier": "^4.1.0",
|
|
59
60
|
"clean-webpack-plugin": "^4.0.0",
|
|
60
|
-
"compression-webpack-plugin": "^
|
|
61
|
-
"css-loader": "^
|
|
62
|
-
"eslint": "^8.
|
|
61
|
+
"compression-webpack-plugin": "^11.1.0",
|
|
62
|
+
"css-loader": "^7.1.2",
|
|
63
|
+
"eslint": "^8.57.1",
|
|
63
64
|
"eslint-config-airbnb": "^19.0.4",
|
|
64
|
-
"eslint-import-resolver-webpack": "^0.13.
|
|
65
|
-
"eslint-plugin-import": "^2.
|
|
66
|
-
"eslint-webpack-plugin": "
|
|
65
|
+
"eslint-import-resolver-webpack": "^0.13.9",
|
|
66
|
+
"eslint-plugin-import": "^2.30.0",
|
|
67
|
+
"eslint-webpack-plugin": "4.2.0",
|
|
67
68
|
"file-loader": "^6.2.0",
|
|
68
|
-
"filemanager-webpack-plugin": "^
|
|
69
|
-
"html-webpack-plugin": "^5.
|
|
69
|
+
"filemanager-webpack-plugin": "^8.0.0",
|
|
70
|
+
"html-webpack-plugin": "^5.6.0",
|
|
70
71
|
"inspectpack": "^4.7.1",
|
|
71
|
-
"style-loader": "^
|
|
72
|
-
"terser-webpack-plugin": "^5.3.
|
|
72
|
+
"style-loader": "^4.0.0",
|
|
73
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
73
74
|
"unminified-webpack-plugin": "^3.0.0",
|
|
74
|
-
"webpack": "^5.
|
|
75
|
-
"webpack-bundle-analyzer": "^4.
|
|
76
|
-
"webpack-cli": "^
|
|
77
|
-
"webpack-dev-server": "
|
|
75
|
+
"webpack": "^5.94.0",
|
|
76
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
77
|
+
"webpack-cli": "^5.1.4",
|
|
78
|
+
"webpack-dev-server": "4.11.1"
|
|
78
79
|
},
|
|
79
80
|
"engines": {
|
|
80
|
-
"node": ">=
|
|
81
|
+
"node": ">=18.16.0"
|
|
81
82
|
}
|
|
82
83
|
}
|