rapidoc 9.1.8 → 9.2.0
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/LICENSE.txt +3 -1
- package/README.md +12 -1
- package/dist/index.html +1 -1
- package/dist/index.html.gz +0 -0
- package/dist/rapidoc-min.js +3670 -2
- package/dist/rapidoc-min.js.LICENSE.txt +11 -32
- 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 -0
- package/dist/rapidoc-min.js.map.gz +0 -0
- package/dist/rapidoc.js +4059 -3162
- package/dist/report.html +2 -2
- package/index.html +1 -1
- package/package.json +2 -3
- package/src/components/api-request.js +62 -51
- package/src/components/api-response.js +6 -4
- package/src/components/dialog-box.js +1 -1
- package/src/components/json-tree.js +2 -2
- package/src/components/schema-table.js +4 -4
- package/src/components/schema-tree.js +5 -5
- package/src/components/tag-input.js +1 -1
- package/src/json-schema-viewer.js +1 -1
- package/src/rapidoc-mini.js +2 -2
- package/src/rapidoc.js +2 -2
- package/src/styles/border-styles.js +1 -1
- package/src/styles/custom-styles.js +1 -1
- package/src/styles/dialog-box-styles.js +1 -1
- package/src/styles/endpoint-styles.js +1 -1
- package/src/styles/flex-styles.js +1 -1
- package/src/styles/font-styles.js +1 -1
- package/src/styles/info-styles.js +1 -1
- package/src/styles/input-styles.js +1 -1
- package/src/styles/nav-styles.js +1 -1
- package/src/styles/prism-styles.js +1 -1
- package/src/styles/schema-styles.js +1 -1
- package/src/styles/tab-styles.js +1 -1
- package/src/styles/table-styles.js +1 -1
- package/src/templates/advance-search-template.js +1 -1
- package/src/templates/callback-template.js +5 -3
- package/src/templates/code-samples-template.js +2 -2
- package/src/templates/components-template.js +2 -2
- package/src/templates/endpoint-template.js +7 -4
- package/src/templates/expanded-endpoint-template.js +6 -4
- package/src/templates/focused-endpoint-template.js +2 -2
- package/src/templates/header-template.js +1 -1
- package/src/templates/json-schema-viewer-template.js +2 -2
- package/src/templates/logo-template.js +1 -1
- package/src/templates/main-body-template.js +1 -1
- package/src/templates/navbar-template.js +1 -1
- package/src/templates/overview-template.js +2 -2
- package/src/templates/security-scheme-template.js +28 -28
- package/src/templates/server-template.js +2 -2
- package/src/utils/schema-utils.js +43 -8
- package/src/utils/theme.js +1 -1
package/LICENSE.txt
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
+
Copyright (c) 2022 Mrinmoy Majumdar
|
|
4
|
+
|
|
3
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
6
|
a copy of this software and associated documentation files (the
|
|
5
7
|
"Software"), to deal in the Software without restriction, including
|
|
@@ -17,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
17
19
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -61,4 +61,15 @@ npm run build
|
|
|
61
61
|
npm run serve
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
##
|
|
64
|
+
## Roadmap
|
|
65
|
+
- Upgrade to use `lit 2`
|
|
66
|
+
- Pre Rendering / Server Side Rendering (SSR) of RapiDoc
|
|
67
|
+
- Improve PDF generation of OpenAPI spec Using RapiPDF
|
|
68
|
+
- Create a Command Line interface (CLI) to make it automation friendly
|
|
69
|
+
- Add localization support
|
|
70
|
+
- Follow Web Content Accessibility Guidelines (WCAG 2)
|
|
71
|
+
- Improve Homepage, Documentation and Examples
|
|
72
|
+
- Create groundwork for automated testing
|
|
73
|
+
- Create a live playground (Something like swagger editor)
|
|
74
|
+
- Create a short animation/video to show how RapiDoc/RapiPDF works
|
|
75
|
+
|
package/dist/index.html
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
docEl.addEventListener('before-try', (e) => {
|
|
4
4
|
e.detail.request.headers.append('AAA-BBB', 'CCC DDDD');
|
|
5
5
|
});
|
|
6
|
-
});</script><body><rapi-doc spec-url="./specs/
|
|
6
|
+
});</script><body><rapi-doc spec-url="./specs/aaa.yaml" id="thedoc" theme="dark" render-style="read" schema-style="tree" use-path-in-nav-bar="true" show-components="true" show-info="true" show-header="true" allow-search="false" allow-advanced-search="true" allow-spec-url-load="false" allow-spec-file-load="false" allow-spec-file-download="true" allow-server-selection="true" allow-authentication="true" update-route="false" match-type="regex" persist-auth="true"></rapi-doc></body></html>
|
package/dist/index.html.gz
CHANGED
|
Binary file
|