rapidoc 9.1.2 → 9.1.3

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.
@@ -72,7 +72,7 @@
72
72
 
73
73
  /**
74
74
  * @preserve
75
- * RapiDoc 9.1.2 - WebComponent to View OpenAPI docs
75
+ * RapiDoc 9.1.3 - WebComponent to View OpenAPI docs
76
76
  * License: MIT
77
77
  * Repo : https://github.com/mrin9/RapiDoc
78
78
  * Author : Mrinmoy Majumdar
Binary file
Binary file
package/dist/report.html CHANGED
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8"/>
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
6
- <title>rapidoc [20 Sep 2021 at 00:36]</title>
6
+ <title>rapidoc [26 Sep 2021 at 18:35]</title>
7
7
  <link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
8
8
 
9
9
  <script>
@@ -30,7 +30,7 @@
30
30
  <body>
31
31
  <div id="app"></div>
32
32
  <script>
33
- window.chartData = [{"label":"rapidoc-min.js","isAsset":true,"statSize":943028,"parsedSize":593408,"gzipSize":167631,"groups":[{"label":"node_modules","path":"./node_modules","statSize":250042,"groups":[{"label":"base64-js","path":"./node_modules/base64-js","statSize":3932,"groups":[{"id":742,"label":"index.js","path":"./node_modules/base64-js/index.js","statSize":3932,"parsedSize":1394,"gzipSize":748}],"parsedSize":1394,"gzipSize":748},{"label":"buffer","path":"./node_modules/buffer","statSize":58353,"groups":[{"id":764,"label":"index.js","path":"./node_modules/buffer/index.js","statSize":58353,"parsedSize":25062,"gzipSize":7076}],"parsedSize":25062,"gzipSize":7076},{"label":"ieee754","path":"./node_modules/ieee754","statSize":2154,"groups":[{"id":645,"label":"index.js","path":"./node_modules/ieee754/index.js","statSize":2154,"parsedSize":875,"gzipSize":497}],"parsedSize":875,"gzipSize":497},{"label":"marked/lib","path":"./node_modules/marked/lib","statSize":94823,"groups":[{"id":84,"label":"marked.js","path":"./node_modules/marked/lib/marked.js","statSize":94823,"parsedSize":47030,"gzipSize":15956}],"parsedSize":47030,"gzipSize":15956},{"label":"prismjs","path":"./node_modules/prismjs","statSize":90780,"groups":[{"label":"components","path":"./node_modules/prismjs/components","statSize":36634,"groups":[{"id":874,"label":"prism-bash.js","path":"./node_modules/prismjs/components/prism-bash.js","statSize":8854,"parsedSize":5917,"gzipSize":2869},{"id":16,"label":"prism-csharp.js","path":"./node_modules/prismjs/components/prism-csharp.js","statSize":13586,"parsedSize":6379,"gzipSize":2451},{"id":251,"label":"prism-css.js","path":"./node_modules/prismjs/components/prism-css.js","statSize":1686,"parsedSize":1220,"gzipSize":604},{"id":46,"label":"prism-go.js","path":"./node_modules/prismjs/components/prism-go.js","statSize":782,"parsedSize":739,"gzipSize":502},{"id":57,"label":"prism-http.js","path":"./node_modules/prismjs/components/prism-http.js","statSize":2676,"parsedSize":1323,"gzipSize":670},{"id":503,"label":"prism-java.js","path":"./node_modules/prismjs/components/prism-java.js","statSize":2809,"parsedSize":2001,"gzipSize":989},{"id":277,"label":"prism-json.js","path":"./node_modules/prismjs/components/prism-json.js","statSize":592,"parsedSize":454,"gzipSize":273},{"id":366,"label":"prism-python.js","path":"./node_modules/prismjs/components/prism-python.js","statSize":2465,"parsedSize":2081,"gzipSize":1061},{"id":358,"label":"prism-yaml.js","path":"./node_modules/prismjs/components/prism-yaml.js","statSize":3184,"parsedSize":1958,"gzipSize":854}],"parsedSize":22072,"gzipSize":8551},{"id":660,"label":"prism.js","path":"./node_modules/prismjs/prism.js","statSize":54146,"parsedSize":17613,"gzipSize":6607}],"parsedSize":39685,"gzipSize":14249}],"parsedSize":114046,"gzipSize":37640},{"label":"src","path":"./src","statSize":692986,"groups":[{"id":795,"label":"index.js + 61 modules (concatenated)","path":"./src/index.js + 61 modules (concatenated)","statSize":692986,"parsedSize":468637,"gzipSize":126423,"concatenated":true,"groups":[{"label":"src","path":"./src/index.js + 61 modules (concatenated)/src","statSize":339682,"groups":[{"id":null,"label":"index.js","path":"./src/index.js + 61 modules (concatenated)/src/index.js","statSize":260,"parsedSize":175,"gzipSize":47,"inaccurateSizes":true},{"id":null,"label":"rapidoc.js","path":"./src/index.js + 61 modules (concatenated)/src/rapidoc.js","statSize":35841,"parsedSize":24237,"gzipSize":6538,"inaccurateSizes":true},{"id":null,"label":"rapidoc-mini.js","path":"./src/index.js + 61 modules (concatenated)/src/rapidoc-mini.js","statSize":13351,"parsedSize":9028,"gzipSize":2435,"inaccurateSizes":true},{"id":null,"label":"oauth-receiver.js","path":"./src/index.js + 61 modules (concatenated)/src/oauth-receiver.js","statSize":1962,"parsedSize":1326,"gzipSize":357,"inaccurateSizes":true},{"id":null,"label":"json-schema-viewer.js","path":"./src/index.js + 61 modules (concatenated)/src/json-schema-viewer.js","statSize":11204,"parsedSize":7576,"gzipSize":2043,"inaccurateSizes":true},{"label":"styles","path":"./src/index.js + 61 modules (concatenated)/src/styles","statSize":23165,"groups":[{"id":null,"label":"font-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/font-styles.js","statSize":5019,"parsedSize":3394,"gzipSize":915,"inaccurateSizes":true},{"id":null,"label":"input-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/input-styles.js","statSize":4328,"parsedSize":2926,"gzipSize":789,"inaccurateSizes":true},{"id":null,"label":"flex-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/flex-styles.js","statSize":169,"parsedSize":114,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"table-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/table-styles.js","statSize":1035,"parsedSize":699,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"endpoint-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/endpoint-styles.js","statSize":4128,"parsedSize":2791,"gzipSize":753,"inaccurateSizes":true},{"id":null,"label":"prism-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/prism-styles.js","statSize":1215,"parsedSize":821,"gzipSize":221,"inaccurateSizes":true},{"id":null,"label":"tab-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/tab-styles.js","statSize":751,"parsedSize":507,"gzipSize":137,"inaccurateSizes":true},{"id":null,"label":"nav-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/nav-styles.js","statSize":2768,"parsedSize":1871,"gzipSize":504,"inaccurateSizes":true},{"id":null,"label":"info-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/info-styles.js","statSize":295,"parsedSize":199,"gzipSize":53,"inaccurateSizes":true},{"id":null,"label":"custom-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/custom-styles.js","statSize":207,"parsedSize":139,"gzipSize":37,"inaccurateSizes":true},{"id":null,"label":"border-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/border-styles.js","statSize":361,"parsedSize":244,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"schema-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/schema-styles.js","statSize":1711,"parsedSize":1157,"gzipSize":312,"inaccurateSizes":true},{"id":null,"label":"dialog-box-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/dialog-box-styles.js","statSize":1178,"parsedSize":796,"gzipSize":214,"inaccurateSizes":true}],"parsedSize":15665,"gzipSize":4226,"inaccurateSizes":true},{"label":"utils","path":"./src/index.js + 61 modules (concatenated)/src/utils","statSize":69383,"groups":[{"id":null,"label":"spec-parser.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/spec-parser.js","statSize":17415,"parsedSize":11777,"gzipSize":3177,"inaccurateSizes":true},{"id":null,"label":"common-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/common-utils.js","statSize":6408,"parsedSize":4333,"gzipSize":1169,"inaccurateSizes":true},{"id":null,"label":"schema-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/schema-utils.js","statSize":32472,"parsedSize":21959,"gzipSize":5923,"inaccurateSizes":true},{"id":null,"label":"theme.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/theme.js","statSize":11225,"parsedSize":7590,"gzipSize":2047,"inaccurateSizes":true},{"id":null,"label":"color-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/color-utils.js","statSize":1863,"parsedSize":1259,"gzipSize":339,"inaccurateSizes":true}],"parsedSize":46920,"gzipSize":12657,"inaccurateSizes":true},{"label":"templates","path":"./src/index.js + 61 modules (concatenated)/src/templates","statSize":83187,"groups":[{"id":null,"label":"main-body-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/main-body-template.js","statSize":4432,"parsedSize":2997,"gzipSize":808,"inaccurateSizes":true},{"id":null,"label":"security-scheme-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/security-scheme-template.js","statSize":23259,"parsedSize":15729,"gzipSize":4243,"inaccurateSizes":true},{"id":null,"label":"server-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/server-template.js","statSize":3867,"parsedSize":2615,"gzipSize":705,"inaccurateSizes":true},{"id":null,"label":"json-schema-viewer-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/json-schema-viewer-template.js","statSize":7074,"parsedSize":4783,"gzipSize":1290,"inaccurateSizes":true},{"id":null,"label":"expanded-endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/expanded-endpoint-template.js","statSize":6554,"parsedSize":4432,"gzipSize":1195,"inaccurateSizes":true},{"id":null,"label":"focused-endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/focused-endpoint-template.js","statSize":4451,"parsedSize":3010,"gzipSize":812,"inaccurateSizes":true},{"id":null,"label":"overview-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/overview-template.js","statSize":3185,"parsedSize":2153,"gzipSize":581,"inaccurateSizes":true},{"id":null,"label":"navbar-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/navbar-template.js","statSize":8048,"parsedSize":5442,"gzipSize":1468,"inaccurateSizes":true},{"id":null,"label":"endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/endpoint-template.js","statSize":8867,"parsedSize":5996,"gzipSize":1617,"inaccurateSizes":true},{"id":null,"label":"header-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/header-template.js","statSize":2132,"parsedSize":1441,"gzipSize":388,"inaccurateSizes":true},{"id":null,"label":"advance-search-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/advance-search-template.js","statSize":2932,"parsedSize":1982,"gzipSize":534,"inaccurateSizes":true},{"id":null,"label":"code-samples-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/code-samples-template.js","statSize":1924,"parsedSize":1301,"gzipSize":350,"inaccurateSizes":true},{"id":null,"label":"callback-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/callback-template.js","statSize":2546,"parsedSize":1721,"gzipSize":464,"inaccurateSizes":true},{"id":null,"label":"components-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/components-template.js","statSize":3005,"parsedSize":2032,"gzipSize":548,"inaccurateSizes":true},{"id":null,"label":"logo-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/logo-template.js","statSize":911,"parsedSize":616,"gzipSize":166,"inaccurateSizes":true}],"parsedSize":56255,"gzipSize":15175,"inaccurateSizes":true},{"label":"components","path":"./src/index.js + 61 modules (concatenated)/src/components","statSize":101329,"groups":[{"id":null,"label":"json-tree.js","path":"./src/index.js + 61 modules (concatenated)/src/components/json-tree.js","statSize":3503,"parsedSize":2368,"gzipSize":639,"inaccurateSizes":true},{"id":null,"label":"schema-tree.js","path":"./src/index.js + 61 modules (concatenated)/src/components/schema-tree.js","statSize":12096,"parsedSize":8180,"gzipSize":2206,"inaccurateSizes":true},{"id":null,"label":"api-request.js","path":"./src/index.js + 61 modules (concatenated)/src/components/api-request.js","statSize":56533,"parsedSize":38230,"gzipSize":10313,"inaccurateSizes":true},{"id":null,"label":"api-response.js","path":"./src/index.js + 61 modules (concatenated)/src/components/api-response.js","statSize":13248,"parsedSize":8959,"gzipSize":2416,"inaccurateSizes":true},{"id":null,"label":"dialog-box.js","path":"./src/index.js + 61 modules (concatenated)/src/components/dialog-box.js","statSize":1681,"parsedSize":1136,"gzipSize":306,"inaccurateSizes":true},{"id":null,"label":"tag-input.js","path":"./src/index.js + 61 modules (concatenated)/src/components/tag-input.js","statSize":2927,"parsedSize":1979,"gzipSize":533,"inaccurateSizes":true},{"id":null,"label":"schema-table.js","path":"./src/index.js + 61 modules (concatenated)/src/components/schema-table.js","statSize":11341,"parsedSize":7669,"gzipSize":2068,"inaccurateSizes":true}],"parsedSize":68524,"gzipSize":18485,"inaccurateSizes":true}],"parsedSize":229712,"gzipSize":61968,"inaccurateSizes":true},{"label":"node_modules","path":"./src/index.js + 61 modules (concatenated)/node_modules","statSize":353304,"groups":[{"label":"lit-element","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element","statSize":57366,"groups":[{"id":null,"label":"lit-element.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lit-element.js","statSize":11883,"parsedSize":8035,"gzipSize":2167,"inaccurateSizes":true},{"label":"lib","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib","statSize":45483,"groups":[{"id":null,"label":"updating-element.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/updating-element.js","statSize":28417,"parsedSize":19217,"gzipSize":5184,"inaccurateSizes":true},{"id":null,"label":"decorators.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/decorators.js","statSize":13959,"parsedSize":9439,"gzipSize":2546,"inaccurateSizes":true},{"id":null,"label":"css-tag.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/css-tag.js","statSize":3107,"parsedSize":2101,"gzipSize":566,"inaccurateSizes":true}],"parsedSize":30758,"gzipSize":8297,"inaccurateSizes":true}],"parsedSize":38794,"gzipSize":10465,"inaccurateSizes":true},{"label":"lit-html","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html","statSize":54740,"groups":[{"id":null,"label":"lit-html.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lit-html.js","statSize":2624,"parsedSize":1774,"gzipSize":478,"inaccurateSizes":true},{"label":"directives","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/directives","statSize":1962,"groups":[{"id":null,"label":"unsafe-html.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/directives/unsafe-html.js","statSize":1962,"parsedSize":1326,"gzipSize":357,"inaccurateSizes":true}],"parsedSize":1326,"gzipSize":357,"inaccurateSizes":true},{"label":"lib","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib","statSize":50154,"groups":[{"id":null,"label":"default-template-processor.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/default-template-processor.js","statSize":2059,"parsedSize":1392,"gzipSize":375,"inaccurateSizes":true},{"id":null,"label":"parts.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/parts.js","statSize":17302,"parsedSize":11700,"gzipSize":3156,"inaccurateSizes":true},{"id":null,"label":"directive.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/directive.js","statSize":2396,"parsedSize":1620,"gzipSize":437,"inaccurateSizes":true},{"id":null,"label":"dom.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/dom.js","statSize":1546,"parsedSize":1045,"gzipSize":282,"inaccurateSizes":true},{"id":null,"label":"part.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/part.js","statSize":834,"parsedSize":563,"gzipSize":152,"inaccurateSizes":true},{"id":null,"label":"template-instance.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-instance.js","statSize":6006,"parsedSize":4061,"gzipSize":1095,"inaccurateSizes":true},{"id":null,"label":"template.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template.js","statSize":10304,"parsedSize":6968,"gzipSize":1879,"inaccurateSizes":true},{"id":null,"label":"template-result.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-result.js","statSize":5901,"parsedSize":3990,"gzipSize":1076,"inaccurateSizes":true},{"id":null,"label":"render.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/render.js","statSize":1859,"parsedSize":1257,"gzipSize":339,"inaccurateSizes":true},{"id":null,"label":"template-factory.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-factory.js","statSize":1947,"parsedSize":1316,"gzipSize":355,"inaccurateSizes":true}],"parsedSize":33917,"gzipSize":9149,"inaccurateSizes":true}],"parsedSize":37018,"gzipSize":9986,"inaccurateSizes":true},{"label":"@apitools/openapi-parser/dist","path":"./src/index.js + 61 modules (concatenated)/node_modules/@apitools/openapi-parser/dist","statSize":241198,"groups":[{"id":null,"label":"openapi-parser.es.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/@apitools/openapi-parser/dist/openapi-parser.es.js","statSize":241198,"parsedSize":163111,"gzipSize":44002,"inaccurateSizes":true}],"parsedSize":163111,"gzipSize":44002,"inaccurateSizes":true}],"parsedSize":238924,"gzipSize":64454,"inaccurateSizes":true}]}],"parsedSize":468637,"gzipSize":126423}]}];
33
+ window.chartData = [{"label":"rapidoc-min.js","isAsset":true,"statSize":944561,"parsedSize":593983,"gzipSize":167731,"groups":[{"label":"node_modules","path":"./node_modules","statSize":250042,"groups":[{"label":"base64-js","path":"./node_modules/base64-js","statSize":3932,"groups":[{"id":742,"label":"index.js","path":"./node_modules/base64-js/index.js","statSize":3932,"parsedSize":1394,"gzipSize":748}],"parsedSize":1394,"gzipSize":748},{"label":"buffer","path":"./node_modules/buffer","statSize":58353,"groups":[{"id":764,"label":"index.js","path":"./node_modules/buffer/index.js","statSize":58353,"parsedSize":25062,"gzipSize":7076}],"parsedSize":25062,"gzipSize":7076},{"label":"ieee754","path":"./node_modules/ieee754","statSize":2154,"groups":[{"id":645,"label":"index.js","path":"./node_modules/ieee754/index.js","statSize":2154,"parsedSize":875,"gzipSize":497}],"parsedSize":875,"gzipSize":497},{"label":"marked/lib","path":"./node_modules/marked/lib","statSize":94823,"groups":[{"id":84,"label":"marked.js","path":"./node_modules/marked/lib/marked.js","statSize":94823,"parsedSize":47030,"gzipSize":15956}],"parsedSize":47030,"gzipSize":15956},{"label":"prismjs","path":"./node_modules/prismjs","statSize":90780,"groups":[{"label":"components","path":"./node_modules/prismjs/components","statSize":36634,"groups":[{"id":874,"label":"prism-bash.js","path":"./node_modules/prismjs/components/prism-bash.js","statSize":8854,"parsedSize":5917,"gzipSize":2869},{"id":16,"label":"prism-csharp.js","path":"./node_modules/prismjs/components/prism-csharp.js","statSize":13586,"parsedSize":6379,"gzipSize":2451},{"id":251,"label":"prism-css.js","path":"./node_modules/prismjs/components/prism-css.js","statSize":1686,"parsedSize":1220,"gzipSize":604},{"id":46,"label":"prism-go.js","path":"./node_modules/prismjs/components/prism-go.js","statSize":782,"parsedSize":739,"gzipSize":502},{"id":57,"label":"prism-http.js","path":"./node_modules/prismjs/components/prism-http.js","statSize":2676,"parsedSize":1323,"gzipSize":670},{"id":503,"label":"prism-java.js","path":"./node_modules/prismjs/components/prism-java.js","statSize":2809,"parsedSize":2001,"gzipSize":989},{"id":277,"label":"prism-json.js","path":"./node_modules/prismjs/components/prism-json.js","statSize":592,"parsedSize":454,"gzipSize":273},{"id":366,"label":"prism-python.js","path":"./node_modules/prismjs/components/prism-python.js","statSize":2465,"parsedSize":2081,"gzipSize":1061},{"id":358,"label":"prism-yaml.js","path":"./node_modules/prismjs/components/prism-yaml.js","statSize":3184,"parsedSize":1958,"gzipSize":854}],"parsedSize":22072,"gzipSize":8551},{"id":660,"label":"prism.js","path":"./node_modules/prismjs/prism.js","statSize":54146,"parsedSize":17613,"gzipSize":6607}],"parsedSize":39685,"gzipSize":14249}],"parsedSize":114046,"gzipSize":37640},{"label":"src","path":"./src","statSize":694519,"groups":[{"id":795,"label":"index.js + 61 modules (concatenated)","path":"./src/index.js + 61 modules (concatenated)","statSize":694519,"parsedSize":469252,"gzipSize":126550,"concatenated":true,"groups":[{"label":"src","path":"./src/index.js + 61 modules (concatenated)/src","statSize":341215,"groups":[{"id":null,"label":"index.js","path":"./src/index.js + 61 modules (concatenated)/src/index.js","statSize":260,"parsedSize":175,"gzipSize":47,"inaccurateSizes":true},{"id":null,"label":"rapidoc.js","path":"./src/index.js + 61 modules (concatenated)/src/rapidoc.js","statSize":35949,"parsedSize":24288,"gzipSize":6550,"inaccurateSizes":true},{"id":null,"label":"rapidoc-mini.js","path":"./src/index.js + 61 modules (concatenated)/src/rapidoc-mini.js","statSize":13351,"parsedSize":9020,"gzipSize":2432,"inaccurateSizes":true},{"id":null,"label":"oauth-receiver.js","path":"./src/index.js + 61 modules (concatenated)/src/oauth-receiver.js","statSize":1962,"parsedSize":1325,"gzipSize":357,"inaccurateSizes":true},{"id":null,"label":"json-schema-viewer.js","path":"./src/index.js + 61 modules (concatenated)/src/json-schema-viewer.js","statSize":11312,"parsedSize":7642,"gzipSize":2061,"inaccurateSizes":true},{"label":"styles","path":"./src/index.js + 61 modules (concatenated)/src/styles","statSize":23165,"groups":[{"id":null,"label":"font-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/font-styles.js","statSize":5019,"parsedSize":3391,"gzipSize":914,"inaccurateSizes":true},{"id":null,"label":"input-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/input-styles.js","statSize":4328,"parsedSize":2924,"gzipSize":788,"inaccurateSizes":true},{"id":null,"label":"flex-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/flex-styles.js","statSize":169,"parsedSize":114,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"table-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/table-styles.js","statSize":1035,"parsedSize":699,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"endpoint-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/endpoint-styles.js","statSize":4128,"parsedSize":2789,"gzipSize":752,"inaccurateSizes":true},{"id":null,"label":"prism-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/prism-styles.js","statSize":1215,"parsedSize":820,"gzipSize":221,"inaccurateSizes":true},{"id":null,"label":"tab-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/tab-styles.js","statSize":751,"parsedSize":507,"gzipSize":136,"inaccurateSizes":true},{"id":null,"label":"nav-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/nav-styles.js","statSize":2768,"parsedSize":1870,"gzipSize":504,"inaccurateSizes":true},{"id":null,"label":"info-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/info-styles.js","statSize":295,"parsedSize":199,"gzipSize":53,"inaccurateSizes":true},{"id":null,"label":"custom-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/custom-styles.js","statSize":207,"parsedSize":139,"gzipSize":37,"inaccurateSizes":true},{"id":null,"label":"border-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/border-styles.js","statSize":361,"parsedSize":243,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"schema-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/schema-styles.js","statSize":1711,"parsedSize":1156,"gzipSize":311,"inaccurateSizes":true},{"id":null,"label":"dialog-box-styles.js","path":"./src/index.js + 61 modules (concatenated)/src/styles/dialog-box-styles.js","statSize":1178,"parsedSize":795,"gzipSize":214,"inaccurateSizes":true}],"parsedSize":15651,"gzipSize":4220,"inaccurateSizes":true},{"label":"utils","path":"./src/index.js + 61 modules (concatenated)/src/utils","statSize":70222,"groups":[{"id":null,"label":"spec-parser.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/spec-parser.js","statSize":17846,"parsedSize":12057,"gzipSize":3251,"inaccurateSizes":true},{"id":null,"label":"common-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/common-utils.js","statSize":6408,"parsedSize":4329,"gzipSize":1167,"inaccurateSizes":true},{"id":null,"label":"schema-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/schema-utils.js","statSize":32880,"parsedSize":22215,"gzipSize":5991,"inaccurateSizes":true},{"id":null,"label":"theme.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/theme.js","statSize":11225,"parsedSize":7584,"gzipSize":2045,"inaccurateSizes":true},{"id":null,"label":"color-utils.js","path":"./src/index.js + 61 modules (concatenated)/src/utils/color-utils.js","statSize":1863,"parsedSize":1258,"gzipSize":339,"inaccurateSizes":true}],"parsedSize":47445,"gzipSize":12795,"inaccurateSizes":true},{"label":"templates","path":"./src/index.js + 61 modules (concatenated)/src/templates","statSize":83428,"groups":[{"id":null,"label":"main-body-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/main-body-template.js","statSize":4432,"parsedSize":2994,"gzipSize":807,"inaccurateSizes":true},{"id":null,"label":"security-scheme-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/security-scheme-template.js","statSize":23459,"parsedSize":15850,"gzipSize":4274,"inaccurateSizes":true},{"id":null,"label":"server-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/server-template.js","statSize":3867,"parsedSize":2612,"gzipSize":704,"inaccurateSizes":true},{"id":null,"label":"json-schema-viewer-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/json-schema-viewer-template.js","statSize":7074,"parsedSize":4779,"gzipSize":1288,"inaccurateSizes":true},{"id":null,"label":"expanded-endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/expanded-endpoint-template.js","statSize":6554,"parsedSize":4428,"gzipSize":1194,"inaccurateSizes":true},{"id":null,"label":"focused-endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/focused-endpoint-template.js","statSize":4451,"parsedSize":3007,"gzipSize":811,"inaccurateSizes":true},{"id":null,"label":"overview-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/overview-template.js","statSize":3226,"parsedSize":2179,"gzipSize":587,"inaccurateSizes":true},{"id":null,"label":"navbar-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/navbar-template.js","statSize":8048,"parsedSize":5437,"gzipSize":1466,"inaccurateSizes":true},{"id":null,"label":"endpoint-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/endpoint-template.js","statSize":8867,"parsedSize":5990,"gzipSize":1615,"inaccurateSizes":true},{"id":null,"label":"header-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/header-template.js","statSize":2132,"parsedSize":1440,"gzipSize":388,"inaccurateSizes":true},{"id":null,"label":"advance-search-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/advance-search-template.js","statSize":2932,"parsedSize":1981,"gzipSize":534,"inaccurateSizes":true},{"id":null,"label":"code-samples-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/code-samples-template.js","statSize":1924,"parsedSize":1299,"gzipSize":350,"inaccurateSizes":true},{"id":null,"label":"callback-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/callback-template.js","statSize":2546,"parsedSize":1720,"gzipSize":463,"inaccurateSizes":true},{"id":null,"label":"components-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/components-template.js","statSize":3005,"parsedSize":2030,"gzipSize":547,"inaccurateSizes":true},{"id":null,"label":"logo-template.js","path":"./src/index.js + 61 modules (concatenated)/src/templates/logo-template.js","statSize":911,"parsedSize":615,"gzipSize":165,"inaccurateSizes":true}],"parsedSize":56368,"gzipSize":15201,"inaccurateSizes":true},{"label":"components","path":"./src/index.js + 61 modules (concatenated)/src/components","statSize":101566,"groups":[{"id":null,"label":"json-tree.js","path":"./src/index.js + 61 modules (concatenated)/src/components/json-tree.js","statSize":3505,"parsedSize":2368,"gzipSize":638,"inaccurateSizes":true},{"id":null,"label":"schema-tree.js","path":"./src/index.js + 61 modules (concatenated)/src/components/schema-tree.js","statSize":12096,"parsedSize":8172,"gzipSize":2204,"inaccurateSizes":true},{"id":null,"label":"api-request.js","path":"./src/index.js + 61 modules (concatenated)/src/components/api-request.js","statSize":56768,"parsedSize":38355,"gzipSize":10343,"inaccurateSizes":true},{"id":null,"label":"api-response.js","path":"./src/index.js + 61 modules (concatenated)/src/components/api-response.js","statSize":13248,"parsedSize":8951,"gzipSize":2413,"inaccurateSizes":true},{"id":null,"label":"dialog-box.js","path":"./src/index.js + 61 modules (concatenated)/src/components/dialog-box.js","statSize":1681,"parsedSize":1135,"gzipSize":306,"inaccurateSizes":true},{"id":null,"label":"tag-input.js","path":"./src/index.js + 61 modules (concatenated)/src/components/tag-input.js","statSize":2927,"parsedSize":1977,"gzipSize":533,"inaccurateSizes":true},{"id":null,"label":"schema-table.js","path":"./src/index.js + 61 modules (concatenated)/src/components/schema-table.js","statSize":11341,"parsedSize":7662,"gzipSize":2066,"inaccurateSizes":true}],"parsedSize":68623,"gzipSize":18506,"inaccurateSizes":true}],"parsedSize":230542,"gzipSize":62173,"inaccurateSizes":true},{"label":"node_modules","path":"./src/index.js + 61 modules (concatenated)/node_modules","statSize":353304,"groups":[{"label":"lit-element","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element","statSize":57366,"groups":[{"id":null,"label":"lit-element.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lit-element.js","statSize":11883,"parsedSize":8028,"gzipSize":2165,"inaccurateSizes":true},{"label":"lib","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib","statSize":45483,"groups":[{"id":null,"label":"updating-element.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/updating-element.js","statSize":28417,"parsedSize":19199,"gzipSize":5177,"inaccurateSizes":true},{"id":null,"label":"decorators.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/decorators.js","statSize":13959,"parsedSize":9431,"gzipSize":2543,"inaccurateSizes":true},{"id":null,"label":"css-tag.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-element/lib/css-tag.js","statSize":3107,"parsedSize":2099,"gzipSize":566,"inaccurateSizes":true}],"parsedSize":30730,"gzipSize":8287,"inaccurateSizes":true}],"parsedSize":38759,"gzipSize":10452,"inaccurateSizes":true},{"label":"lit-html","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html","statSize":54740,"groups":[{"id":null,"label":"lit-html.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lit-html.js","statSize":2624,"parsedSize":1772,"gzipSize":478,"inaccurateSizes":true},{"label":"directives","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/directives","statSize":1962,"groups":[{"id":null,"label":"unsafe-html.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/directives/unsafe-html.js","statSize":1962,"parsedSize":1325,"gzipSize":357,"inaccurateSizes":true}],"parsedSize":1325,"gzipSize":357,"inaccurateSizes":true},{"label":"lib","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib","statSize":50154,"groups":[{"id":null,"label":"default-template-processor.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/default-template-processor.js","statSize":2059,"parsedSize":1391,"gzipSize":375,"inaccurateSizes":true},{"id":null,"label":"parts.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/parts.js","statSize":17302,"parsedSize":11690,"gzipSize":3152,"inaccurateSizes":true},{"id":null,"label":"directive.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/directive.js","statSize":2396,"parsedSize":1618,"gzipSize":436,"inaccurateSizes":true},{"id":null,"label":"dom.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/dom.js","statSize":1546,"parsedSize":1044,"gzipSize":281,"inaccurateSizes":true},{"id":null,"label":"part.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/part.js","statSize":834,"parsedSize":563,"gzipSize":151,"inaccurateSizes":true},{"id":null,"label":"template-instance.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-instance.js","statSize":6006,"parsedSize":4057,"gzipSize":1094,"inaccurateSizes":true},{"id":null,"label":"template.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template.js","statSize":10304,"parsedSize":6961,"gzipSize":1877,"inaccurateSizes":true},{"id":null,"label":"template-result.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-result.js","statSize":5901,"parsedSize":3987,"gzipSize":1075,"inaccurateSizes":true},{"id":null,"label":"render.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/render.js","statSize":1859,"parsedSize":1256,"gzipSize":338,"inaccurateSizes":true},{"id":null,"label":"template-factory.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/lit-html/lib/template-factory.js","statSize":1947,"parsedSize":1315,"gzipSize":354,"inaccurateSizes":true}],"parsedSize":33886,"gzipSize":9138,"inaccurateSizes":true}],"parsedSize":36985,"gzipSize":9974,"inaccurateSizes":true},{"label":"@apitools/openapi-parser/dist","path":"./src/index.js + 61 modules (concatenated)/node_modules/@apitools/openapi-parser/dist","statSize":241198,"groups":[{"id":null,"label":"openapi-parser.es.js","path":"./src/index.js + 61 modules (concatenated)/node_modules/@apitools/openapi-parser/dist/openapi-parser.es.js","statSize":241198,"parsedSize":162965,"gzipSize":43949,"inaccurateSizes":true}],"parsedSize":162965,"gzipSize":43949,"inaccurateSizes":true}],"parsedSize":238709,"gzipSize":64376,"inaccurateSizes":true}]}],"parsedSize":469252,"gzipSize":126550}]}];
34
34
  window.defaultSizes = "parsed";
35
35
  </script>
36
36
  </body>
package/docs/api.html CHANGED
@@ -251,28 +251,6 @@
251
251
  </td>
252
252
  <td class='default-col'></td>
253
253
  </tr>
254
-
255
- <tr>
256
- <td class=" attr-col mono bold right">nav-bg-image </td>
257
- <td class="gray">
258
- URL of navigation bar's background image
259
- &nbsp;|&nbsp; <a href="./examples/nav-bg-image.html">Example</a>
260
- </td>
261
- <td class='default-col'>(empty)</td>
262
- </tr>
263
- <tr>
264
- <td class=" attr-col mono bold right">nav-bg-image-size </td>
265
- <td class="gray">navigation bar's background image size (same as css background-size property) allowed values are <br><span class='blue'>
266
- auto | length | cover | contain | initial | inherit </span></td>
267
- <td class='default-col'></td>
268
- </tr>
269
- <tr>
270
- <td class=" attr-col mono bold right">nav-bg-image-repeat </td>
271
- <td class="gray"> navigation bar's background image repeat (same as css background-repeat property) allowed values are <br><span class='blue'>
272
- repeat | repeat-x | repeat-y | no-repeat | initial | inherit </span> </td>
273
- <td class='default-col'></td>
274
- </tr>
275
-
276
254
  <tr>
277
255
  <td class=" attr-col mono bold right">nav-text-color </td>
278
256
  <td class="gray"> Navigation bar's Text color </td>
@@ -445,8 +423,7 @@
445
423
  show/hide the components section both in document and menu
446
424
  (available only in focused render-style)
447
425
  <br/>
448
- Will show the components section along with schemas, responses, examples, requestBodies, headers, securitySchemes, links and callbacks
449
- Also will be shown in the menu on the left (in read mode)
426
+ Will show the components section containing schemas, responses, examples, requestBodies, headers, securitySchemes, links and callbacks
450
427
  </td>
451
428
  <td>false</td>
452
429
  </tr>
@@ -481,6 +458,13 @@
481
458
  </td>
482
459
  <td>true</td>
483
460
  </tr>
461
+ <tr>
462
+ <td class="mono bold right">allow-spec-file-download</td>
463
+ <td class="gray">
464
+ If set to 'true', it provide buttons in the overview section to download the spec or open it in a new tab.
465
+ </td>
466
+ <td>false</td>
467
+ </tr>
484
468
  <tr>
485
469
  <td class="mono bold right">allow-search</td>
486
470
  <td class="gray">
@@ -739,7 +723,7 @@
739
723
  <div style="width:710px">
740
724
  <span class="mono bold">slots</span>
741
725
  <span>
742
- are placeholders inside a web component that you can fill with your own markup.
726
+ are predefined placeholders inside a RapiDoc component. You can use these slots to place your custom html in certain desired locations inside RapiDoc.
743
727
  Below is an example on how to inject HTML/CSS/JS at various locations in RapiDoc
744
728
  </span>
745
729
  <pre class="shadow1 code-block" style="max-width: calc(100% - 8px)">
@@ -747,13 +731,13 @@
747
731
  &lt;html&gt;
748
732
  ...
749
733
  &lt;rapi-doc spec-url = "https://petstore.swagger.io/v2/swagger.json"&gt;
750
- &lt;slot&gt; &lt;!-- This is a default slot --&gt;
734
+ &lt;div&gt; &lt;!-- HTML Elements without slot attribute goes into default location--&gt;
751
735
  &lt;h1&gt; My HTML Heading &lt;/h1&gt;
752
- &lt;/slot&gt;
736
+ &lt;/div&gt;
753
737
 
754
- &lt;slot name="nav-logo"&gt; &lt;!-- This is a named slot --&gt;
755
- &lt;img src="https://via.placeholder.com/100" style="width:50px; height:50px"/&gt;
756
- &lt;/slot&gt;
738
+ &lt;!-- provide slot attribute to place an element at desired location --&gt;
739
+ &lt;img slot="nav-logo" src="https://via.placeholder.com/100" style="width:50px; height:50px"/&gt;
740
+
757
741
  &lt;/rapi-doc&gt;
758
742
  ...
759
743
  &lt;/html&gt;
@@ -772,7 +756,7 @@
772
756
  </tr>
773
757
  <tr>
774
758
  <td class="mono bold right">logo</td>
775
- <td class="gray">use this slot to replace the logo </td>
759
+ <td class="gray">use this slot to replace the logo on the header </td>
776
760
  </tr>
777
761
  <tr>
778
762
  <td class="mono bold right">header</td>
@@ -784,20 +768,27 @@
784
768
  </tr>
785
769
  <tr>
786
770
  <td class="mono bold right">nav-logo</td>
787
- <td class="gray"> contents appear at Side navigation bar (only available in read-mode)</td>
771
+ <td class="gray"> contents appear at the top of Side navigation bar usually used for logo. (only available in read-mode)</td>
788
772
  </tr>
789
773
 
790
774
  <tr>
791
775
  <td class="mono bold right">overview</td>
792
- <td class="gray"> contents appear at overview section</td>
776
+ <td class="gray"> contents appear at overview section - top of the document. You can link to this section using <span class="mono blue"> #overview </span>
777
+ </td> </td>
793
778
  </tr>
794
779
  <tr>
795
780
  <td class="mono bold right">servers</td>
796
- <td class="gray"> contents appear at server section</td>
781
+ <td class="gray"> contents appear at server section which is under the overview slot. You can link to this section using <span class="mono blue"> #servers </span> </td>
797
782
  </tr>
798
783
  <tr>
799
784
  <td class="mono bold right">auth</td>
800
- <td class="gray"> contents appear at authentication section</td>
785
+ <td class="gray"> contents appear at authentication section which is under the overview > servers slot. You can link to this section using <span class="mono blue"> #auth </span></td>
786
+ </tr>
787
+ <tr>
788
+ <td class="mono bold right">operations-top</td>
789
+ <td class="gray"> contents appear at the top of all the operations but below overview > servers > auth section.
790
+ Use this section to provide content that applies to all the operations. You can link this section using <span class="mono blue"> #operations-top </span>
791
+ </td>
801
792
  </tr>
802
793
  <tr>
803
794
  <td class="mono bold right">tag--{tag-name}</td>
@@ -0,0 +1,113 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <!-- Global site tag (gtag.js) - Google Analytics -->
5
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132775238-1"></script>
6
+ <script>
7
+ window.dataLayer = window.dataLayer || [];
8
+ function gtag(){dataLayer.push(arguments);}
9
+ gtag('js', new Date());
10
+
11
+ gtag('config', 'UA-132775238-1');
12
+ </script>
13
+
14
+ <meta charset="utf-8">
15
+ <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
16
+ <script type="module" src="../rapidoc-min.js"></script>
17
+ <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&family=Roboto+Mono&display=swap" rel="stylesheet">
18
+ <style>
19
+ .size { width: 100px; height: 30px; font-size:13px; margin: 0 2px; padding: 0 8px; border-radius: 2px; outline:none; color: #fff;}
20
+ .btn { background-color: #2069e0; cursor:pointer; border: 1px solid transparent;}
21
+ .txt {background-color: #2e2e2e; border: 1px solid #2069e0;}
22
+ .table{ border:1px solid #444; border-collapse: collapse;}
23
+ .table td{ font-size:12px; font-family: 'Roboto Mono'; border: 1px solid #444; padding:8px;}
24
+ .table th{ font-size:11px; font-family: 'Open Sans'; border: 1px solid #444; padding:8px; background: #222;}
25
+ datalist {
26
+ background-color: #222;
27
+ border: 1px solid #2069e0;
28
+ }
29
+ rapi-doc{
30
+ width:100%;
31
+ }
32
+ </style>
33
+ </head>
34
+ <body>
35
+ <rapi-doc id="thedoc"
36
+ spec-url="../specs/auth-test1.yaml"
37
+ show-info = "true"
38
+ theme = "dark"
39
+ render-style="read"
40
+ show-header="false"
41
+ >
42
+ <div slot='operations-top'>
43
+ <div style="font-size:14px; border:0; background-color: #282828; border-radius:4px; padding:16px; margin:16px 75px">
44
+ <table>
45
+ <tr>
46
+ <td> HTTP Basic</td>
47
+ <td>
48
+ <input class='size txt' id='http-security-scheme-id' value="http-basic" type='text' placeholder='Security Scheme ID' spellcheck='false' style="width:120px">
49
+ <input class='size txt' id='http-username' type='text' value="new-username" placeholder='User name' spellcheck='false' >
50
+ <input class='size txt' id='http-password' type='text' value="new-pwd" placeholder='Password' spellcheck='false' >
51
+ <button class='size btn' onclick='setSecurity(event, "http")'>Apply</button>
52
+ </td>
53
+ </tr>
54
+ <tr>
55
+ <td> API Key</td>
56
+ <td>
57
+ <input class='size txt' id='api-security-scheme-id' value="api_key1" type='text' placeholder='Security Scheme ID' spellcheck='false' style="width:120px">
58
+ <input class='size txt' id='api-key-value' type='text' value="new-token" placeholder='API Key Value' spellcheck='false' >
59
+ <button class='size btn' onclick='setSecurity(event, "apikey")'>Apply</button>
60
+ </td>
61
+ </tr>
62
+ <tr>
63
+ <td colspan="2"><button class='size btn' style="width:200px" onclick='clearSecurityKeys(event)'>Clear all Keys</button></td>
64
+ </tr>
65
+ </table>
66
+ </div>
67
+ </div>
68
+ </rapi-doc>
69
+ <script>
70
+ function setApiServer(ev) {
71
+ const docEl = document.getElementById('thedoc');
72
+ const trEl = ev.target.closest('tr');
73
+ const serverUrl = trEl.querySelector('#server-url').value;
74
+ result = docEl.setApiServer(serverUrl);
75
+ ev.target.innerText = result ? 'Applied !' : 'Failed';
76
+ ev.target.style.backgroundColor = result ? 'green' : 'orangered';
77
+ window.setTimeout(function(){
78
+ ev.target.innerText = 'Apply';
79
+ ev.target.style.backgroundColor = '#2069e0';
80
+ }, 5000)
81
+
82
+ }
83
+
84
+ function clearSecurityKeys(ev) {
85
+ const docEl = document.getElementById('thedoc');
86
+ docEl.removeAllSecurityKeys();
87
+ }
88
+
89
+ function setSecurity(ev, securityType) {
90
+ const docEl = document.getElementById('thedoc');
91
+ const trEl = ev.target.closest('tr');
92
+ let result;
93
+ if (securityType === 'http') {
94
+ const securitySchemeId = trEl.querySelector('#http-security-scheme-id').value;
95
+ const username = trEl.querySelector('#http-username').value;
96
+ const password = trEl.querySelector('#http-password').value;
97
+ result = docEl.setHttpUserNameAndPassword(securitySchemeId, username, password);
98
+ } else if (securityType === 'apikey') {
99
+ const securitySchemeId = trEl.querySelector('#api-security-scheme-id').value;
100
+ const newApiToken = trEl.querySelector('#api-key-value').value;
101
+ result = docEl.setApiKey(securitySchemeId, newApiToken);
102
+ }
103
+ ev.target.innerText = result ? 'Applied !' : 'Failed';
104
+ ev.target.style.backgroundColor = result ? 'green' : 'orangered';
105
+ window.setTimeout(function(){
106
+ ev.target.innerText = 'Apply';
107
+ ev.target.style.backgroundColor = '#2069e0';
108
+ }, 5000)
109
+ }
110
+ </script>
111
+
112
+ </body>
113
+ </html>
@@ -68,6 +68,13 @@
68
68
  </div>
69
69
  </span>
70
70
 
71
+ <span slot="operations-top" >
72
+ <p style="margin-top:10px; padding:16px 36px; background-color:#a5522e; color:#fff; text-align:center;" >
73
+ <b> overview</b> slot | <span style="font-size:12px"> Good for contents that applies to all operations/api</span>
74
+ </p>
75
+ </span>
76
+
77
+
71
78
  <p slot="tag--user" style="margin-top:10px; padding:16px 36px; background-color:#ac7339; color:#fff; text-align:center;" >
72
79
  <b> tag--user</b> slot
73
80
  </p>
package/docs/list.html CHANGED
@@ -109,7 +109,7 @@
109
109
  <div style="display:flex; width:100%; flex-wrap:wrap; justify-content:center;">
110
110
 
111
111
  <div class = "container solid-dark" style="cursor: pointer;" onclick="window.location='./quickstart.html';">
112
- <h2 style="font-weight:700"> How To Use </h2>
112
+ <h2 style="font-weight:700"> How To Use </h2>
113
113
  <div class="row">
114
114
  <img style="width:32px" src="./images/html5-logo.png"/>
115
115
  <img style="width:32px" src="./images/react-logo.png"/>
@@ -255,6 +255,14 @@
255
255
  </div>
256
256
  </div>
257
257
 
258
+ <div class = "container solid-dark" style="cursor: pointer;" onclick="window.location='./rapidoc-mini.html';">
259
+ <h2 style="font-weight:700"> RapiDoc Mini </h2>
260
+ <div class = "c-description" style="color:#ccc">
261
+ RapiDoc Mini - Pluck APIs from OpenAPI Spec into your blog
262
+ </div>
263
+ </div>
264
+
265
+
258
266
  <div class = "container" >
259
267
  <a href="./examples/links.html">Links</a>
260
268
  <div class = "c-description">