rapidoc 9.1.6 → 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.
Files changed (54) hide show
  1. package/LICENSE.txt +3 -1
  2. package/README.md +12 -1
  3. package/dist/index.html +1 -1
  4. package/dist/index.html.gz +0 -0
  5. package/dist/rapidoc-min.js +3670 -2
  6. package/dist/rapidoc-min.js.LICENSE.txt +13 -32
  7. package/dist/rapidoc-min.js.LICENSE.txt.gz +0 -0
  8. package/dist/rapidoc-min.js.gz +0 -0
  9. package/dist/rapidoc-min.js.map +1 -0
  10. package/dist/rapidoc-min.js.map.gz +0 -0
  11. package/dist/rapidoc.js +33671 -26146
  12. package/dist/report.html +2 -2
  13. package/index.html +1 -1
  14. package/package.json +4 -5
  15. package/src/components/api-request.js +62 -51
  16. package/src/components/api-response.js +6 -4
  17. package/src/components/dialog-box.js +1 -1
  18. package/src/components/json-tree.js +2 -2
  19. package/src/components/schema-table.js +4 -4
  20. package/src/components/schema-tree.js +5 -5
  21. package/src/components/tag-input.js +1 -1
  22. package/src/json-schema-viewer.js +1 -1
  23. package/src/rapidoc-mini.js +2 -2
  24. package/src/rapidoc.js +2 -2
  25. package/src/styles/border-styles.js +1 -1
  26. package/src/styles/custom-styles.js +1 -1
  27. package/src/styles/dialog-box-styles.js +1 -1
  28. package/src/styles/endpoint-styles.js +1 -1
  29. package/src/styles/flex-styles.js +1 -1
  30. package/src/styles/font-styles.js +1 -1
  31. package/src/styles/info-styles.js +1 -1
  32. package/src/styles/input-styles.js +1 -1
  33. package/src/styles/nav-styles.js +1 -1
  34. package/src/styles/prism-styles.js +1 -1
  35. package/src/styles/schema-styles.js +1 -1
  36. package/src/styles/tab-styles.js +1 -1
  37. package/src/styles/table-styles.js +1 -1
  38. package/src/templates/advance-search-template.js +1 -1
  39. package/src/templates/callback-template.js +5 -3
  40. package/src/templates/code-samples-template.js +2 -2
  41. package/src/templates/components-template.js +2 -2
  42. package/src/templates/endpoint-template.js +7 -4
  43. package/src/templates/expanded-endpoint-template.js +6 -4
  44. package/src/templates/focused-endpoint-template.js +2 -2
  45. package/src/templates/header-template.js +1 -1
  46. package/src/templates/json-schema-viewer-template.js +2 -2
  47. package/src/templates/logo-template.js +1 -1
  48. package/src/templates/main-body-template.js +1 -1
  49. package/src/templates/navbar-template.js +1 -1
  50. package/src/templates/overview-template.js +2 -2
  51. package/src/templates/security-scheme-template.js +28 -28
  52. package/src/templates/server-template.js +2 -2
  53. package/src/utils/schema-utils.js +43 -8
  54. 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
- ## Contribution
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/temp.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>
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>
Binary file