openapi-explorer 0.9.305 → 0.9.310
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/CHANGELOG.md +2 -0
- package/dist/openapi-explorer.min.js +4 -4
- package/dist/openapi-explorer.min.js.LICENSE.txt +1 -1
- package/dist/openapi-explorer.min.js.LICENSE.txt.gz +0 -0
- package/dist/openapi-explorer.min.js.gz +0 -0
- package/dist/report.html +2 -2
- package/package.json +1 -1
- package/src/components/api-response.js +3 -3
- package/src/openapi-explorer.js +16 -2
- package/src/templates/components-template.js +13 -11
- package/src/templates/navbar-template.js +2 -2
- package/src/utils/common-utils.js +4 -0
- package/src/utils/schema-utils.js +10 -7
- package/src/utils/spec-parser.js +18 -26
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @preserve
|
|
55
|
-
* OpenAPI Explorer 0.9.
|
|
55
|
+
* OpenAPI Explorer 0.9.310 - WebComponent to View OpenAPI docs
|
|
56
56
|
* License: Apache-2.0
|
|
57
57
|
* Repo : https://github.com/Rhosys/openapi-explorer
|
|
58
58
|
* Author : Rhosys Developers
|
|
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>openapi-explorer [
|
|
6
|
+
<title>openapi-explorer [25 Jul 2022 at 11:56]</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>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"openapi-explorer.min.js","isAsset":true,"statSize":1902965,"parsedSize":882173,"gzipSize":229259,"groups":[{"label":"node_modules","path":"./node_modules","statSize":1459949,"groups":[{"label":"base64-js","path":"./node_modules/base64-js","statSize":3932,"groups":[{"id":9742,"label":"index.js","path":"./node_modules/base64-js/index.js","statSize":3932,"parsedSize":1394,"gzipSize":747}],"parsedSize":1394,"gzipSize":747},{"label":"base64url","path":"./node_modules/base64url","statSize":1836,"groups":[{"label":"dist","path":"./node_modules/base64url/dist","statSize":1741,"groups":[{"id":2240,"label":"base64url.js","path":"./node_modules/base64url/dist/base64url.js","statSize":1144,"parsedSize":540,"gzipSize":280},{"id":1518,"label":"pad-string.js","path":"./node_modules/base64url/dist/pad-string.js","statSize":597,"parsedSize":242,"gzipSize":209}],"parsedSize":782,"gzipSize":393},{"id":5772,"label":"index.js","path":"./node_modules/base64url/index.js","statSize":95,"parsedSize":64,"gzipSize":63}],"parsedSize":846,"gzipSize":419},{"label":"buffer","path":"./node_modules/buffer","statSize":58353,"groups":[{"id":8764,"label":"index.js","path":"./node_modules/buffer/index.js","statSize":58353,"parsedSize":25063,"gzipSize":7078}],"parsedSize":25063,"gzipSize":7078},{"label":"color-convert","path":"./node_modules/color-convert","statSize":21005,"groups":[{"id":8168,"label":"conversions.js","path":"./node_modules/color-convert/conversions.js","statSize":17040,"parsedSize":8474,"gzipSize":3006},{"id":2085,"label":"index.js","path":"./node_modules/color-convert/index.js","statSize":1708,"parsedSize":678,"gzipSize":334},{"id":4111,"label":"route.js","path":"./node_modules/color-convert/route.js","statSize":2257,"parsedSize":748,"gzipSize":372}],"parsedSize":9900,"gzipSize":3479},{"label":"color-name","path":"./node_modules/color-name","statSize":4617,"groups":[{"id":8874,"label":"index.js","path":"./node_modules/color-name/index.js","statSize":4617,"parsedSize":3423,"gzipSize":1422}],"parsedSize":3423,"gzipSize":1422},{"label":"color-string","path":"./node_modules/color-string","statSize":5716,"groups":[{"id":9818,"label":"index.js","path":"./node_modules/color-string/index.js","statSize":5716,"parsedSize":3170,"gzipSize":1078}],"parsedSize":3170,"gzipSize":1078},{"label":"color","path":"./node_modules/color","statSize":11169,"groups":[{"id":6767,"label":"index.js","path":"./node_modules/color/index.js","statSize":11169,"parsedSize":5865,"gzipSize":2157}],"parsedSize":5865,"gzipSize":2157},{"label":"escape-string-regexp","path":"./node_modules/escape-string-regexp","statSize":461,"groups":[{"id":3150,"label":"index.js","path":"./node_modules/escape-string-regexp/index.js","statSize":461,"parsedSize":164,"gzipSize":152}],"parsedSize":164,"gzipSize":152},{"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":"is-arrayish","path":"./node_modules/is-arrayish","statSize":318,"groups":[{"id":5171,"label":"index.js","path":"./node_modules/is-arrayish/index.js","statSize":318,"parsedSize":222,"gzipSize":182}],"parsedSize":222,"gzipSize":182},{"label":"lodash.clonedeep","path":"./node_modules/lodash.clonedeep","statSize":45025,"groups":[{"id":3465,"label":"index.js","path":"./node_modules/lodash.clonedeep/index.js","statSize":45025,"parsedSize":8486,"gzipSize":3138}],"parsedSize":8486,"gzipSize":3138},{"label":"mime-db","path":"./node_modules/mime-db","statSize":146372,"groups":[{"id":3765,"label":"db.json","path":"./node_modules/mime-db/db.json","statSize":146183,"parsedSize":146215,"gzipSize":20179},{"id":5234,"label":"index.js","path":"./node_modules/mime-db/index.js","statSize":189,"parsedSize":28,"gzipSize":48}],"parsedSize":146243,"gzipSize":20209},{"label":"openapi-resolver/dist","path":"./node_modules/openapi-resolver/dist","statSize":732548,"groups":[{"id":3735,"label":"openapi-resolver.browser.js","path":"./node_modules/openapi-resolver/dist/openapi-resolver.browser.js","statSize":732548,"parsedSize":250041,"gzipSize":77485}],"parsedSize":250041,"gzipSize":77485},{"label":"pandemonium","path":"./node_modules/pandemonium","statSize":6733,"groups":[{"id":8610,"label":"random.js","path":"./node_modules/pandemonium/random.js","statSize":682,"parsedSize":123,"gzipSize":119},{"id":6192,"label":"shuffle-in-place.js","path":"./node_modules/pandemonium/shuffle-in-place.js","statSize":1156,"parsedSize":216,"gzipSize":179},{"id":3815,"label":"shuffle.js","path":"./node_modules/pandemonium/shuffle.js","statSize":974,"parsedSize":171,"gzipSize":145},{"id":8551,"label":"weighted-random-index.js","path":"./node_modules/pandemonium/weighted-random-index.js","statSize":3921,"parsedSize":727,"gzipSize":395}],"parsedSize":1237,"gzipSize":558},{"label":"prismjs","path":"./node_modules/prismjs","statSize":97860,"groups":[{"label":"components","path":"./node_modules/prismjs/components","statSize":39786,"groups":[{"id":7874,"label":"prism-bash.js","path":"./node_modules/prismjs/components/prism-bash.js","statSize":8909,"parsedSize":5972,"gzipSize":2895},{"id":9016,"label":"prism-csharp.js","path":"./node_modules/prismjs/components/prism-csharp.js","statSize":13567,"parsedSize":6354,"gzipSize":2440},{"id":5251,"label":"prism-css.js","path":"./node_modules/prismjs/components/prism-css.js","statSize":1686,"parsedSize":1220,"gzipSize":604},{"id":7046,"label":"prism-go.js","path":"./node_modules/prismjs/components/prism-go.js","statSize":1159,"parsedSize":975,"gzipSize":610},{"id":57,"label":"prism-http.js","path":"./node_modules/prismjs/components/prism-http.js","statSize":4087,"parsedSize":1933,"gzipSize":875},{"id":2503,"label":"prism-java.js","path":"./node_modules/prismjs/components/prism-java.js","statSize":4094,"parsedSize":2783,"gzipSize":1193},{"id":4277,"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":2508,"parsedSize":2118,"gzipSize":1081},{"id":3358,"label":"prism-yaml.js","path":"./node_modules/prismjs/components/prism-yaml.js","statSize":3184,"parsedSize":1958,"gzipSize":854}],"parsedSize":23767,"gzipSize":9015},{"id":5660,"label":"prism.js","path":"./node_modules/prismjs/prism.js","statSize":58074,"parsedSize":18763,"gzipSize":6920}],"parsedSize":42530,"gzipSize":14963},{"label":"regex-to-strings/lib","path":"./node_modules/regex-to-strings/lib","statSize":61098,"groups":[{"id":8136,"label":"Expander.js","path":"./node_modules/regex-to-strings/lib/Expander.js","statSize":3871,"parsedSize":1569,"gzipSize":647},{"id":6248,"label":"Expansion.js","path":"./node_modules/regex-to-strings/lib/Expansion.js","statSize":3271,"parsedSize":1741,"gzipSize":852},{"label":"constants","path":"./node_modules/regex-to-strings/lib/constants","statSize":2481,"groups":[{"id":1373,"label":"index.js","path":"./node_modules/regex-to-strings/lib/constants/index.js","statSize":2481,"parsedSize":1076,"gzipSize":875}],"parsedSize":1076,"gzipSize":875},{"label":"expanders","path":"./node_modules/regex-to-strings/lib/expanders","statSize":20835,"groups":[{"id":4947,"label":"alternative-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/alternative-pattern.js","statSize":1470,"parsedSize":479,"gzipSize":297},{"id":2365,"label":"char-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/char-pattern.js","statSize":4078,"parsedSize":1565,"gzipSize":728},{"id":4939,"label":"character-class-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/character-class-pattern.js","statSize":3456,"parsedSize":1433,"gzipSize":649},{"id":8058,"label":"disjunction-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/disjunction-pattern.js","statSize":1194,"parsedSize":392,"gzipSize":259},{"id":4357,"label":"group-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/group-pattern.js","statSize":6624,"parsedSize":3030,"gzipSize":1310},{"id":56,"label":"repetition-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/repetition-pattern.js","statSize":4013,"parsedSize":1727,"gzipSize":839}],"parsedSize":8626,"gzipSize":2396},{"label":"helpers","path":"./node_modules/regex-to-strings/lib/helpers","statSize":9672,"groups":[{"id":7693,"label":"iterate-sorted.js","path":"./node_modules/regex-to-strings/lib/helpers/iterate-sorted.js","statSize":9131,"parsedSize":3310,"gzipSize":1398},{"id":5670,"label":"utils.js","path":"./node_modules/regex-to-strings/lib/helpers/utils.js","statSize":541,"parsedSize":131,"gzipSize":134}],"parsedSize":3441,"gzipSize":1455},{"id":6890,"label":"index.js","path":"./node_modules/regex-to-strings/lib/index.js","statSize":631,"parsedSize":387,"gzipSize":260},{"id":4200,"label":"pattern.js","path":"./node_modules/regex-to-strings/lib/pattern.js","statSize":4425,"parsedSize":1281,"gzipSize":683},{"label":"sorts","path":"./node_modules/regex-to-strings/lib/sorts","statSize":1634,"groups":[{"id":312,"label":"fisher-yates-random.js","path":"./node_modules/regex-to-strings/lib/sorts/fisher-yates-random.js","statSize":384,"parsedSize":189,"gzipSize":152},{"id":3426,"label":"number-random.js","path":"./node_modules/regex-to-strings/lib/sorts/number-random.js","statSize":516,"parsedSize":105,"gzipSize":116},{"id":3963,"label":"weighted-random.js","path":"./node_modules/regex-to-strings/lib/sorts/weighted-random.js","statSize":734,"parsedSize":189,"gzipSize":152}],"parsedSize":483,"gzipSize":204},{"label":"transforms","path":"./node_modules/regex-to-strings/lib/transforms","statSize":11982,"groups":[{"id":2670,"label":"decimal-char-to-simple-char-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/decimal-char-to-simple-char-transform.js","statSize":1385,"parsedSize":381,"gzipSize":270},{"id":9649,"label":"index.js","path":"./node_modules/regex-to-strings/lib/transforms/index.js","statSize":784,"parsedSize":217,"gzipSize":171},{"id":596,"label":"meta-to-char-class-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/meta-to-char-class-transform.js","statSize":6017,"parsedSize":2522,"gzipSize":1080},{"id":7577,"label":"simple-quantifier-to-range-quantifier-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/simple-quantifier-to-range-quantifier-transform.js","statSize":2773,"parsedSize":1254,"gzipSize":650},{"id":1425,"label":"utils.js","path":"./node_modules/regex-to-strings/lib/transforms/utils.js","statSize":1023,"parsedSize":573,"gzipSize":353}],"parsedSize":4947,"gzipSize":1600},{"label":"types","path":"./node_modules/regex-to-strings/lib/types","statSize":2296,"groups":[{"id":1151,"label":"regexp-tree-guards.js","path":"./node_modules/regex-to-strings/lib/types/regexp-tree-guards.js","statSize":2296,"parsedSize":1208,"gzipSize":363}],"parsedSize":1208,"gzipSize":363}],"parsedSize":24759,"gzipSize":5503},{"label":"regexp-tree","path":"./node_modules/regexp-tree","statSize":256751,"groups":[{"label":"dist","path":"./node_modules/regexp-tree/dist","statSize":256579,"groups":[{"label":"compat-transpiler","path":"./node_modules/regexp-tree/dist/compat-transpiler","statSize":8017,"groups":[{"id":8355,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/index.js","statSize":1471,"parsedSize":460,"gzipSize":317},{"label":"runtime","path":"./node_modules/regexp-tree/dist/compat-transpiler/runtime","statSize":3238,"groups":[{"id":7460,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js","statSize":3238,"parsedSize":1122,"gzipSize":545}],"parsedSize":1122,"gzipSize":545},{"label":"transforms","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms","statSize":3308,"groups":[{"id":8708,"label":"compat-dotall-s-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-dotall-s-transform.js","statSize":1354,"parsedSize":484,"gzipSize":306},{"id":305,"label":"compat-named-capturing-groups-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-named-capturing-groups-transform.js","statSize":1088,"parsedSize":351,"gzipSize":203},{"id":6437,"label":"compat-x-flag-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-x-flag-transform.js","statSize":478,"parsedSize":119,"gzipSize":120},{"id":1264,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/index.js","statSize":388,"parsedSize":92,"gzipSize":109}],"parsedSize":1046,"gzipSize":500}],"parsedSize":2628,"gzipSize":1150},{"label":"generator","path":"./node_modules/regexp-tree/dist/generator","statSize":4032,"groups":[{"id":9702,"label":"index.js","path":"./node_modules/regexp-tree/dist/generator/index.js","statSize":4032,"parsedSize":1748,"gzipSize":711}],"parsedSize":1748,"gzipSize":711},{"label":"interpreter/finite-automaton","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton","statSize":50578,"groups":[{"label":"dfa","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa","statSize":23851,"groups":[{"id":1693,"label":"dfa-minimizer.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-minimizer.js","statSize":12415,"parsedSize":3326,"gzipSize":1314},{"id":3158,"label":"dfa.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js","statSize":11436,"parsedSize":3588,"gzipSize":1283}],"parsedSize":6914,"gzipSize":2259},{"id":2722,"label":"index.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/index.js","statSize":1150,"parsedSize":238,"gzipSize":181},{"label":"nfa","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa","statSize":22960,"groups":[{"id":2970,"label":"builders.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/builders.js","statSize":5218,"parsedSize":1490,"gzipSize":519},{"id":9761,"label":"nfa-from-regexp.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-from-regexp.js","statSize":2268,"parsedSize":1134,"gzipSize":584},{"id":1115,"label":"nfa-state.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-state.js","statSize":7605,"parsedSize":2418,"gzipSize":1047},{"id":5050,"label":"nfa.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js","statSize":7869,"parsedSize":2783,"gzipSize":1095}],"parsedSize":7825,"gzipSize":2480},{"id":3341,"label":"special-symbols.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/special-symbols.js","statSize":327,"parsedSize":62,"gzipSize":77},{"id":4128,"label":"state.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js","statSize":2290,"parsedSize":859,"gzipSize":448}],"parsedSize":15898,"gzipSize":4213},{"label":"optimizer","path":"./node_modules/regexp-tree/dist/optimizer","statSize":48396,"groups":[{"id":7393,"label":"index.js","path":"./node_modules/regexp-tree/dist/optimizer/index.js","statSize":2820,"parsedSize":768,"gzipSize":462},{"label":"transforms","path":"./node_modules/regexp-tree/dist/optimizer/transforms","statSize":45576,"groups":[{"id":8327,"label":"char-case-insensitive-lowercase-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-case-insensitive-lowercase-transform.js","statSize":3192,"parsedSize":1184,"gzipSize":574},{"id":2445,"label":"char-class-classranges-merge-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-merge-transform.js","statSize":10425,"parsedSize":2948,"gzipSize":1078},{"id":4122,"label":"char-class-classranges-to-chars-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-to-chars-transform.js","statSize":604,"parsedSize":219,"gzipSize":163},{"id":1216,"label":"char-class-remove-duplicates-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-remove-duplicates-transform.js","statSize":702,"parsedSize":195,"gzipSize":177},{"id":4126,"label":"char-class-to-meta-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-meta-transform.js","statSize":5474,"parsedSize":2151,"gzipSize":847},{"id":1949,"label":"char-class-to-single-char-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-single-char-transform.js","statSize":2124,"parsedSize":704,"gzipSize":389},{"id":7335,"label":"char-code-to-simple-char-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-code-to-simple-char-transform.js","statSize":2149,"parsedSize":789,"gzipSize":403},{"id":9141,"label":"char-escape-unescape-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-escape-unescape-transform.js","statSize":3733,"parsedSize":1298,"gzipSize":548},{"id":3843,"label":"char-surrogate-pair-to-single-unicode-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js","statSize":611,"parsedSize":243,"gzipSize":196},{"id":1143,"label":"combine-repeating-patterns-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/combine-repeating-patterns-transform.js","statSize":4991,"parsedSize":2080,"gzipSize":766},{"id":9895,"label":"disjunction-remove-duplicates-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/disjunction-remove-duplicates-transform.js","statSize":1024,"parsedSize":276,"gzipSize":221},{"id":623,"label":"group-single-chars-to-char-class.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/group-single-chars-to-char-class.js","statSize":1838,"parsedSize":631,"gzipSize":368},{"id":5319,"label":"index.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/index.js","statSize":1760,"parsedSize":611,"gzipSize":348},{"id":1280,"label":"quantifier-range-to-symbol-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/quantifier-range-to-symbol-transform.js","statSize":1147,"parsedSize":351,"gzipSize":189},{"id":8124,"label":"quantifiers-merge-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/quantifiers-merge-transform.js","statSize":2911,"parsedSize":919,"gzipSize":442},{"id":2223,"label":"remove-empty-group-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/remove-empty-group-transform.js","statSize":599,"parsedSize":182,"gzipSize":165},{"id":4952,"label":"ungroup-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/ungroup-transform.js","statSize":2292,"parsedSize":838,"gzipSize":427}],"parsedSize":15619,"gzipSize":4642}],"parsedSize":16387,"gzipSize":4960},{"label":"parser","path":"./node_modules/regexp-tree/dist/parser","statSize":113423,"groups":[{"label":"generated","path":"./node_modules/regexp-tree/dist/parser/generated","statSize":103316,"groups":[{"id":2669,"label":"regexp-tree.js","path":"./node_modules/regexp-tree/dist/parser/generated/regexp-tree.js","statSize":103316,"parsedSize":73236,"gzipSize":15060}],"parsedSize":73236,"gzipSize":15060},{"id":7112,"label":"index.js","path":"./node_modules/regexp-tree/dist/parser/index.js","statSize":741,"parsedSize":143,"gzipSize":138},{"label":"unicode","path":"./node_modules/regexp-tree/dist/parser/unicode","statSize":9366,"groups":[{"id":4876,"label":"parser-unicode-properties.js","path":"./node_modules/regexp-tree/dist/parser/unicode/parser-unicode-properties.js","statSize":9366,"parsedSize":5835,"gzipSize":2597}],"parsedSize":5835,"gzipSize":2597}],"parsedSize":79214,"gzipSize":17843},{"id":1474,"label":"regexp-tree.js","path":"./node_modules/regexp-tree/dist/regexp-tree.js","statSize":4415,"parsedSize":904,"gzipSize":457},{"label":"transform","path":"./node_modules/regexp-tree/dist/transform","statSize":5468,"groups":[{"id":45,"label":"index.js","path":"./node_modules/regexp-tree/dist/transform/index.js","statSize":3550,"parsedSize":1343,"gzipSize":623},{"id":6554,"label":"utils.js","path":"./node_modules/regexp-tree/dist/transform/utils.js","statSize":1918,"parsedSize":709,"gzipSize":395}],"parsedSize":2052,"gzipSize":920},{"label":"traverse","path":"./node_modules/regexp-tree/dist/traverse","statSize":21726,"groups":[{"id":8785,"label":"index.js","path":"./node_modules/regexp-tree/dist/traverse/index.js","statSize":9761,"parsedSize":1945,"gzipSize":791},{"id":7762,"label":"node-path.js","path":"./node_modules/regexp-tree/dist/traverse/node-path.js","statSize":11965,"parsedSize":4359,"gzipSize":1279}],"parsedSize":6304,"gzipSize":1899},{"label":"utils","path":"./node_modules/regexp-tree/dist/utils","statSize":524,"groups":[{"id":689,"label":"clone.js","path":"./node_modules/regexp-tree/dist/utils/clone.js","statSize":524,"parsedSize":158,"gzipSize":148}],"parsedSize":158,"gzipSize":148}],"parsedSize":125293,"gzipSize":29941},{"id":6262,"label":"index.js","path":"./node_modules/regexp-tree/index.js","statSize":172,"parsedSize":41,"gzipSize":61}],"parsedSize":125334,"gzipSize":29951},{"label":"repeat-string","path":"./node_modules/repeat-string","statSize":1213,"groups":[{"id":6464,"label":"index.js","path":"./node_modules/repeat-string/index.js","statSize":1213,"parsedSize":315,"gzipSize":225}],"parsedSize":315,"gzipSize":225},{"label":"simple-swizzle","path":"./node_modules/simple-swizzle","statSize":571,"groups":[{"id":6851,"label":"index.js","path":"./node_modules/simple-swizzle/index.js","statSize":571,"parsedSize":267,"gzipSize":200}],"parsedSize":267,"gzipSize":200},{"label":"xml-but-prettier/dist","path":"./node_modules/xml-but-prettier/dist","statSize":2217,"groups":[{"id":3131,"label":"index.js","path":"./node_modules/xml-but-prettier/dist/index.js","statSize":2217,"parsedSize":914,"gzipSize":472}],"parsedSize":914,"gzipSize":472}],"parsedSize":651048,"gzipSize":167629},{"label":"src","path":"./src","statSize":443016,"groups":[{"id":4054,"label":"openapi-explorer.js + 56 modules (concatenated)","path":"./src/openapi-explorer.js + 56 modules (concatenated)","statSize":443016,"parsedSize":219499,"gzipSize":58126,"concatenated":true,"groups":[{"label":"src","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src","statSize":256434,"groups":[{"id":null,"label":"openapi-explorer.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/openapi-explorer.js","statSize":25620,"parsedSize":12693,"gzipSize":3361,"inaccurateSizes":true},{"label":"styles","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles","statSize":25344,"groups":[{"id":null,"label":"font-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/font-styles.js","statSize":4923,"parsedSize":2439,"gzipSize":645,"inaccurateSizes":true},{"id":null,"label":"input-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/input-styles.js","statSize":4537,"parsedSize":2247,"gzipSize":595,"inaccurateSizes":true},{"id":null,"label":"flex-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/flex-styles.js","statSize":169,"parsedSize":83,"gzipSize":22,"inaccurateSizes":true},{"id":null,"label":"table-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/table-styles.js","statSize":859,"parsedSize":425,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"endpoint-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/endpoint-styles.js","statSize":4404,"parsedSize":2182,"gzipSize":577,"inaccurateSizes":true},{"id":null,"label":"prism-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/prism-styles.js","statSize":1256,"parsedSize":622,"gzipSize":164,"inaccurateSizes":true},{"id":null,"label":"tab-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/tab-styles.js","statSize":733,"parsedSize":363,"gzipSize":96,"inaccurateSizes":true},{"id":null,"label":"nav-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/nav-styles.js","statSize":2819,"parsedSize":1396,"gzipSize":369,"inaccurateSizes":true},{"id":null,"label":"info-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/info-styles.js","statSize":295,"parsedSize":146,"gzipSize":38,"inaccurateSizes":true},{"id":null,"label":"advanced-search-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/advanced-search-styles.js","statSize":1168,"parsedSize":578,"gzipSize":153,"inaccurateSizes":true},{"id":null,"label":"api-request-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/api-request-styles.js","statSize":1973,"parsedSize":977,"gzipSize":258,"inaccurateSizes":true},{"id":null,"label":"border-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/border-styles.js","statSize":361,"parsedSize":178,"gzipSize":47,"inaccurateSizes":true},{"id":null,"label":"schema-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/schema-styles.js","statSize":1847,"parsedSize":915,"gzipSize":242,"inaccurateSizes":true}],"parsedSize":12557,"gzipSize":3325,"inaccurateSizes":true},{"label":"utils","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils","statSize":56951,"groups":[{"id":null,"label":"spec-parser.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/spec-parser.js","statSize":13432,"parsedSize":6655,"gzipSize":1762,"inaccurateSizes":true},{"id":null,"label":"common-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/common-utils.js","statSize":4488,"parsedSize":2223,"gzipSize":588,"inaccurateSizes":true},{"id":null,"label":"theme.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/theme.js","statSize":6475,"parsedSize":3208,"gzipSize":849,"inaccurateSizes":true},{"id":null,"label":"color-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/color-utils.js","statSize":2557,"parsedSize":1266,"gzipSize":335,"inaccurateSizes":true},{"id":null,"label":"schema-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/schema-utils.js","statSize":24935,"parsedSize":12354,"gzipSize":3271,"inaccurateSizes":true},{"label":"xml","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/xml","statSize":5064,"groups":[{"id":null,"label":"xml.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/xml/xml.js","statSize":5064,"parsedSize":2509,"gzipSize":664,"inaccurateSizes":true}],"parsedSize":2509,"gzipSize":664,"inaccurateSizes":true}],"parsedSize":28217,"gzipSize":7472,"inaccurateSizes":true},{"label":"templates","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates","statSize":56569,"groups":[{"id":null,"label":"responsiveViewMainBodyTemplate.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/responsiveViewMainBodyTemplate.js","statSize":2792,"parsedSize":1383,"gzipSize":366,"inaccurateSizes":true},{"id":null,"label":"security-scheme-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/security-scheme-template.js","statSize":19858,"parsedSize":9838,"gzipSize":2605,"inaccurateSizes":true},{"id":null,"label":"focused-endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/focused-endpoint-template.js","statSize":3272,"parsedSize":1621,"gzipSize":429,"inaccurateSizes":true},{"id":null,"label":"overview-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/overview-template.js","statSize":2083,"parsedSize":1032,"gzipSize":273,"inaccurateSizes":true},{"id":null,"label":"server-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/server-template.js","statSize":3054,"parsedSize":1513,"gzipSize":400,"inaccurateSizes":true},{"id":null,"label":"endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/endpoint-template.js","statSize":6691,"parsedSize":3315,"gzipSize":877,"inaccurateSizes":true},{"id":null,"label":"navbar-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/navbar-template.js","statSize":5679,"parsedSize":2813,"gzipSize":745,"inaccurateSizes":true},{"id":null,"label":"advance-search-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/advance-search-template.js","statSize":3540,"parsedSize":1753,"gzipSize":464,"inaccurateSizes":true},{"id":null,"label":"expanded-endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/expanded-endpoint-template.js","statSize":4464,"parsedSize":2211,"gzipSize":585,"inaccurateSizes":true},{"id":null,"label":"code-samples-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/code-samples-template.js","statSize":1670,"parsedSize":827,"gzipSize":219,"inaccurateSizes":true},{"id":null,"label":"callback-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/callback-template.js","statSize":2091,"parsedSize":1036,"gzipSize":274,"inaccurateSizes":true},{"id":null,"label":"components-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/components-template.js","statSize":1375,"parsedSize":681,"gzipSize":180,"inaccurateSizes":true}],"parsedSize":28027,"gzipSize":7422,"inaccurateSizes":true},{"id":null,"label":"openapi-explorer-oauth-handler.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/openapi-explorer-oauth-handler.js","statSize":356,"parsedSize":176,"gzipSize":46,"inaccurateSizes":true},{"label":"components","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components","statSize":91594,"groups":[{"id":null,"label":"api-request.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/api-request.js","statSize":49711,"parsedSize":24630,"gzipSize":6522,"inaccurateSizes":true},{"id":null,"label":"api-response.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/api-response.js","statSize":12309,"parsedSize":6098,"gzipSize":1615,"inaccurateSizes":true},{"id":null,"label":"mime-types.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/mime-types.js","statSize":1532,"parsedSize":759,"gzipSize":201,"inaccurateSizes":true},{"id":null,"label":"json-tree.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/json-tree.js","statSize":3459,"parsedSize":1713,"gzipSize":453,"inaccurateSizes":true},{"id":null,"label":"schema-tree.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/schema-tree.js","statSize":11693,"parsedSize":5793,"gzipSize":1534,"inaccurateSizes":true},{"id":null,"label":"tag-input.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/tag-input.js","statSize":2562,"parsedSize":1269,"gzipSize":336,"inaccurateSizes":true},{"id":null,"label":"schema-table.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/schema-table.js","statSize":10328,"parsedSize":5117,"gzipSize":1355,"inaccurateSizes":true}],"parsedSize":45381,"gzipSize":12017,"inaccurateSizes":true}],"parsedSize":127054,"gzipSize":33645,"inaccurateSizes":true},{"label":"node_modules","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules","statSize":186582,"groups":[{"label":"lit-element","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element","statSize":55470,"groups":[{"id":null,"label":"lit-element.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lit-element.js","statSize":11717,"parsedSize":5805,"gzipSize":1537,"inaccurateSizes":true},{"label":"lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib","statSize":43753,"groups":[{"id":null,"label":"updating-element.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/updating-element.js","statSize":27448,"parsedSize":13599,"gzipSize":3601,"inaccurateSizes":true},{"id":null,"label":"decorators.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/decorators.js","statSize":13198,"parsedSize":6539,"gzipSize":1731,"inaccurateSizes":true},{"id":null,"label":"css-tag.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/css-tag.js","statSize":3107,"parsedSize":1539,"gzipSize":407,"inaccurateSizes":true}],"parsedSize":21678,"gzipSize":5740,"inaccurateSizes":true}],"parsedSize":27483,"gzipSize":7277,"inaccurateSizes":true},{"label":"marked/lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/marked/lib","statSize":76372,"groups":[{"id":null,"label":"marked.esm.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/marked/lib/marked.esm.js","statSize":76372,"parsedSize":37839,"gzipSize":10020,"inaccurateSizes":true}],"parsedSize":37839,"gzipSize":10020,"inaccurateSizes":true},{"label":"lit-html","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html","statSize":54740,"groups":[{"id":null,"label":"lit-html.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lit-html.js","statSize":2624,"parsedSize":1300,"gzipSize":344,"inaccurateSizes":true},{"label":"directives","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/directives","statSize":1962,"groups":[{"id":null,"label":"unsafe-html.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/directives/unsafe-html.js","statSize":1962,"parsedSize":972,"gzipSize":257,"inaccurateSizes":true}],"parsedSize":972,"gzipSize":257,"inaccurateSizes":true},{"label":"lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib","statSize":50154,"groups":[{"id":null,"label":"default-template-processor.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/default-template-processor.js","statSize":2059,"parsedSize":1020,"gzipSize":270,"inaccurateSizes":true},{"id":null,"label":"parts.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/parts.js","statSize":17302,"parsedSize":8572,"gzipSize":2270,"inaccurateSizes":true},{"id":null,"label":"directive.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/directive.js","statSize":2396,"parsedSize":1187,"gzipSize":314,"inaccurateSizes":true},{"id":null,"label":"dom.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/dom.js","statSize":1546,"parsedSize":765,"gzipSize":202,"inaccurateSizes":true},{"id":null,"label":"part.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/part.js","statSize":834,"parsedSize":413,"gzipSize":109,"inaccurateSizes":true},{"id":null,"label":"template-instance.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-instance.js","statSize":6006,"parsedSize":2975,"gzipSize":788,"inaccurateSizes":true},{"id":null,"label":"template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template.js","statSize":10304,"parsedSize":5105,"gzipSize":1351,"inaccurateSizes":true},{"id":null,"label":"template-result.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-result.js","statSize":5901,"parsedSize":2923,"gzipSize":774,"inaccurateSizes":true},{"id":null,"label":"render.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/render.js","statSize":1859,"parsedSize":921,"gzipSize":243,"inaccurateSizes":true},{"id":null,"label":"template-factory.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-factory.js","statSize":1947,"parsedSize":964,"gzipSize":255,"inaccurateSizes":true}],"parsedSize":24849,"gzipSize":6580,"inaccurateSizes":true}],"parsedSize":27121,"gzipSize":7182,"inaccurateSizes":true}],"parsedSize":92444,"gzipSize":24480,"inaccurateSizes":true}]}],"parsedSize":219499,"gzipSize":58126}]}];
|
|
34
|
+
window.chartData = [{"label":"openapi-explorer.min.js","isAsset":true,"statSize":1903550,"parsedSize":882027,"gzipSize":229132,"groups":[{"label":"node_modules","path":"./node_modules","statSize":1459949,"groups":[{"label":"base64-js","path":"./node_modules/base64-js","statSize":3932,"groups":[{"id":9742,"label":"index.js","path":"./node_modules/base64-js/index.js","statSize":3932,"parsedSize":1394,"gzipSize":747}],"parsedSize":1394,"gzipSize":747},{"label":"base64url","path":"./node_modules/base64url","statSize":1836,"groups":[{"label":"dist","path":"./node_modules/base64url/dist","statSize":1741,"groups":[{"id":2240,"label":"base64url.js","path":"./node_modules/base64url/dist/base64url.js","statSize":1144,"parsedSize":540,"gzipSize":280},{"id":1518,"label":"pad-string.js","path":"./node_modules/base64url/dist/pad-string.js","statSize":597,"parsedSize":242,"gzipSize":209}],"parsedSize":782,"gzipSize":393},{"id":5772,"label":"index.js","path":"./node_modules/base64url/index.js","statSize":95,"parsedSize":64,"gzipSize":63}],"parsedSize":846,"gzipSize":419},{"label":"buffer","path":"./node_modules/buffer","statSize":58353,"groups":[{"id":8764,"label":"index.js","path":"./node_modules/buffer/index.js","statSize":58353,"parsedSize":25063,"gzipSize":7078}],"parsedSize":25063,"gzipSize":7078},{"label":"color-convert","path":"./node_modules/color-convert","statSize":21005,"groups":[{"id":8168,"label":"conversions.js","path":"./node_modules/color-convert/conversions.js","statSize":17040,"parsedSize":8474,"gzipSize":3006},{"id":2085,"label":"index.js","path":"./node_modules/color-convert/index.js","statSize":1708,"parsedSize":678,"gzipSize":334},{"id":4111,"label":"route.js","path":"./node_modules/color-convert/route.js","statSize":2257,"parsedSize":748,"gzipSize":372}],"parsedSize":9900,"gzipSize":3479},{"label":"color-name","path":"./node_modules/color-name","statSize":4617,"groups":[{"id":8874,"label":"index.js","path":"./node_modules/color-name/index.js","statSize":4617,"parsedSize":3423,"gzipSize":1422}],"parsedSize":3423,"gzipSize":1422},{"label":"color-string","path":"./node_modules/color-string","statSize":5716,"groups":[{"id":9818,"label":"index.js","path":"./node_modules/color-string/index.js","statSize":5716,"parsedSize":3170,"gzipSize":1078}],"parsedSize":3170,"gzipSize":1078},{"label":"color","path":"./node_modules/color","statSize":11169,"groups":[{"id":6767,"label":"index.js","path":"./node_modules/color/index.js","statSize":11169,"parsedSize":5865,"gzipSize":2157}],"parsedSize":5865,"gzipSize":2157},{"label":"escape-string-regexp","path":"./node_modules/escape-string-regexp","statSize":461,"groups":[{"id":3150,"label":"index.js","path":"./node_modules/escape-string-regexp/index.js","statSize":461,"parsedSize":164,"gzipSize":152}],"parsedSize":164,"gzipSize":152},{"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":"is-arrayish","path":"./node_modules/is-arrayish","statSize":318,"groups":[{"id":5171,"label":"index.js","path":"./node_modules/is-arrayish/index.js","statSize":318,"parsedSize":222,"gzipSize":182}],"parsedSize":222,"gzipSize":182},{"label":"lodash.clonedeep","path":"./node_modules/lodash.clonedeep","statSize":45025,"groups":[{"id":3465,"label":"index.js","path":"./node_modules/lodash.clonedeep/index.js","statSize":45025,"parsedSize":8486,"gzipSize":3138}],"parsedSize":8486,"gzipSize":3138},{"label":"mime-db","path":"./node_modules/mime-db","statSize":146372,"groups":[{"id":3765,"label":"db.json","path":"./node_modules/mime-db/db.json","statSize":146183,"parsedSize":146215,"gzipSize":20179},{"id":5234,"label":"index.js","path":"./node_modules/mime-db/index.js","statSize":189,"parsedSize":28,"gzipSize":48}],"parsedSize":146243,"gzipSize":20209},{"label":"openapi-resolver/dist","path":"./node_modules/openapi-resolver/dist","statSize":732548,"groups":[{"id":3735,"label":"openapi-resolver.browser.js","path":"./node_modules/openapi-resolver/dist/openapi-resolver.browser.js","statSize":732548,"parsedSize":250041,"gzipSize":77485}],"parsedSize":250041,"gzipSize":77485},{"label":"pandemonium","path":"./node_modules/pandemonium","statSize":6733,"groups":[{"id":8610,"label":"random.js","path":"./node_modules/pandemonium/random.js","statSize":682,"parsedSize":123,"gzipSize":119},{"id":6192,"label":"shuffle-in-place.js","path":"./node_modules/pandemonium/shuffle-in-place.js","statSize":1156,"parsedSize":216,"gzipSize":179},{"id":3815,"label":"shuffle.js","path":"./node_modules/pandemonium/shuffle.js","statSize":974,"parsedSize":171,"gzipSize":145},{"id":8551,"label":"weighted-random-index.js","path":"./node_modules/pandemonium/weighted-random-index.js","statSize":3921,"parsedSize":727,"gzipSize":395}],"parsedSize":1237,"gzipSize":558},{"label":"prismjs","path":"./node_modules/prismjs","statSize":97860,"groups":[{"label":"components","path":"./node_modules/prismjs/components","statSize":39786,"groups":[{"id":7874,"label":"prism-bash.js","path":"./node_modules/prismjs/components/prism-bash.js","statSize":8909,"parsedSize":5972,"gzipSize":2895},{"id":9016,"label":"prism-csharp.js","path":"./node_modules/prismjs/components/prism-csharp.js","statSize":13567,"parsedSize":6354,"gzipSize":2440},{"id":5251,"label":"prism-css.js","path":"./node_modules/prismjs/components/prism-css.js","statSize":1686,"parsedSize":1220,"gzipSize":604},{"id":7046,"label":"prism-go.js","path":"./node_modules/prismjs/components/prism-go.js","statSize":1159,"parsedSize":975,"gzipSize":610},{"id":57,"label":"prism-http.js","path":"./node_modules/prismjs/components/prism-http.js","statSize":4087,"parsedSize":1933,"gzipSize":875},{"id":2503,"label":"prism-java.js","path":"./node_modules/prismjs/components/prism-java.js","statSize":4094,"parsedSize":2783,"gzipSize":1193},{"id":4277,"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":2508,"parsedSize":2118,"gzipSize":1081},{"id":3358,"label":"prism-yaml.js","path":"./node_modules/prismjs/components/prism-yaml.js","statSize":3184,"parsedSize":1958,"gzipSize":854}],"parsedSize":23767,"gzipSize":9015},{"id":5660,"label":"prism.js","path":"./node_modules/prismjs/prism.js","statSize":58074,"parsedSize":18763,"gzipSize":6920}],"parsedSize":42530,"gzipSize":14963},{"label":"regex-to-strings/lib","path":"./node_modules/regex-to-strings/lib","statSize":61098,"groups":[{"id":8136,"label":"Expander.js","path":"./node_modules/regex-to-strings/lib/Expander.js","statSize":3871,"parsedSize":1569,"gzipSize":647},{"id":6248,"label":"Expansion.js","path":"./node_modules/regex-to-strings/lib/Expansion.js","statSize":3271,"parsedSize":1741,"gzipSize":852},{"label":"constants","path":"./node_modules/regex-to-strings/lib/constants","statSize":2481,"groups":[{"id":1373,"label":"index.js","path":"./node_modules/regex-to-strings/lib/constants/index.js","statSize":2481,"parsedSize":1076,"gzipSize":875}],"parsedSize":1076,"gzipSize":875},{"label":"expanders","path":"./node_modules/regex-to-strings/lib/expanders","statSize":20835,"groups":[{"id":4947,"label":"alternative-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/alternative-pattern.js","statSize":1470,"parsedSize":479,"gzipSize":297},{"id":2365,"label":"char-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/char-pattern.js","statSize":4078,"parsedSize":1565,"gzipSize":728},{"id":4939,"label":"character-class-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/character-class-pattern.js","statSize":3456,"parsedSize":1433,"gzipSize":649},{"id":8058,"label":"disjunction-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/disjunction-pattern.js","statSize":1194,"parsedSize":392,"gzipSize":259},{"id":4357,"label":"group-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/group-pattern.js","statSize":6624,"parsedSize":3030,"gzipSize":1310},{"id":56,"label":"repetition-pattern.js","path":"./node_modules/regex-to-strings/lib/expanders/repetition-pattern.js","statSize":4013,"parsedSize":1727,"gzipSize":839}],"parsedSize":8626,"gzipSize":2396},{"label":"helpers","path":"./node_modules/regex-to-strings/lib/helpers","statSize":9672,"groups":[{"id":7693,"label":"iterate-sorted.js","path":"./node_modules/regex-to-strings/lib/helpers/iterate-sorted.js","statSize":9131,"parsedSize":3310,"gzipSize":1398},{"id":5670,"label":"utils.js","path":"./node_modules/regex-to-strings/lib/helpers/utils.js","statSize":541,"parsedSize":131,"gzipSize":134}],"parsedSize":3441,"gzipSize":1455},{"id":6890,"label":"index.js","path":"./node_modules/regex-to-strings/lib/index.js","statSize":631,"parsedSize":387,"gzipSize":260},{"id":4200,"label":"pattern.js","path":"./node_modules/regex-to-strings/lib/pattern.js","statSize":4425,"parsedSize":1281,"gzipSize":683},{"label":"sorts","path":"./node_modules/regex-to-strings/lib/sorts","statSize":1634,"groups":[{"id":312,"label":"fisher-yates-random.js","path":"./node_modules/regex-to-strings/lib/sorts/fisher-yates-random.js","statSize":384,"parsedSize":189,"gzipSize":152},{"id":3426,"label":"number-random.js","path":"./node_modules/regex-to-strings/lib/sorts/number-random.js","statSize":516,"parsedSize":105,"gzipSize":116},{"id":3963,"label":"weighted-random.js","path":"./node_modules/regex-to-strings/lib/sorts/weighted-random.js","statSize":734,"parsedSize":189,"gzipSize":152}],"parsedSize":483,"gzipSize":204},{"label":"transforms","path":"./node_modules/regex-to-strings/lib/transforms","statSize":11982,"groups":[{"id":2670,"label":"decimal-char-to-simple-char-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/decimal-char-to-simple-char-transform.js","statSize":1385,"parsedSize":381,"gzipSize":270},{"id":9649,"label":"index.js","path":"./node_modules/regex-to-strings/lib/transforms/index.js","statSize":784,"parsedSize":217,"gzipSize":171},{"id":596,"label":"meta-to-char-class-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/meta-to-char-class-transform.js","statSize":6017,"parsedSize":2522,"gzipSize":1080},{"id":7577,"label":"simple-quantifier-to-range-quantifier-transform.js","path":"./node_modules/regex-to-strings/lib/transforms/simple-quantifier-to-range-quantifier-transform.js","statSize":2773,"parsedSize":1254,"gzipSize":650},{"id":1425,"label":"utils.js","path":"./node_modules/regex-to-strings/lib/transforms/utils.js","statSize":1023,"parsedSize":573,"gzipSize":353}],"parsedSize":4947,"gzipSize":1600},{"label":"types","path":"./node_modules/regex-to-strings/lib/types","statSize":2296,"groups":[{"id":1151,"label":"regexp-tree-guards.js","path":"./node_modules/regex-to-strings/lib/types/regexp-tree-guards.js","statSize":2296,"parsedSize":1208,"gzipSize":363}],"parsedSize":1208,"gzipSize":363}],"parsedSize":24759,"gzipSize":5503},{"label":"regexp-tree","path":"./node_modules/regexp-tree","statSize":256751,"groups":[{"label":"dist","path":"./node_modules/regexp-tree/dist","statSize":256579,"groups":[{"label":"compat-transpiler","path":"./node_modules/regexp-tree/dist/compat-transpiler","statSize":8017,"groups":[{"id":8355,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/index.js","statSize":1471,"parsedSize":460,"gzipSize":317},{"label":"runtime","path":"./node_modules/regexp-tree/dist/compat-transpiler/runtime","statSize":3238,"groups":[{"id":7460,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/runtime/index.js","statSize":3238,"parsedSize":1122,"gzipSize":545}],"parsedSize":1122,"gzipSize":545},{"label":"transforms","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms","statSize":3308,"groups":[{"id":8708,"label":"compat-dotall-s-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-dotall-s-transform.js","statSize":1354,"parsedSize":484,"gzipSize":306},{"id":305,"label":"compat-named-capturing-groups-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-named-capturing-groups-transform.js","statSize":1088,"parsedSize":351,"gzipSize":203},{"id":6437,"label":"compat-x-flag-transform.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/compat-x-flag-transform.js","statSize":478,"parsedSize":119,"gzipSize":120},{"id":1264,"label":"index.js","path":"./node_modules/regexp-tree/dist/compat-transpiler/transforms/index.js","statSize":388,"parsedSize":92,"gzipSize":109}],"parsedSize":1046,"gzipSize":500}],"parsedSize":2628,"gzipSize":1150},{"label":"generator","path":"./node_modules/regexp-tree/dist/generator","statSize":4032,"groups":[{"id":9702,"label":"index.js","path":"./node_modules/regexp-tree/dist/generator/index.js","statSize":4032,"parsedSize":1748,"gzipSize":711}],"parsedSize":1748,"gzipSize":711},{"label":"interpreter/finite-automaton","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton","statSize":50578,"groups":[{"label":"dfa","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa","statSize":23851,"groups":[{"id":1693,"label":"dfa-minimizer.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa-minimizer.js","statSize":12415,"parsedSize":3326,"gzipSize":1314},{"id":3158,"label":"dfa.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/dfa/dfa.js","statSize":11436,"parsedSize":3588,"gzipSize":1283}],"parsedSize":6914,"gzipSize":2259},{"id":2722,"label":"index.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/index.js","statSize":1150,"parsedSize":238,"gzipSize":181},{"label":"nfa","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa","statSize":22960,"groups":[{"id":2970,"label":"builders.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/builders.js","statSize":5218,"parsedSize":1490,"gzipSize":519},{"id":9761,"label":"nfa-from-regexp.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-from-regexp.js","statSize":2268,"parsedSize":1134,"gzipSize":584},{"id":1115,"label":"nfa-state.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa-state.js","statSize":7605,"parsedSize":2418,"gzipSize":1047},{"id":5050,"label":"nfa.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/nfa/nfa.js","statSize":7869,"parsedSize":2783,"gzipSize":1095}],"parsedSize":7825,"gzipSize":2480},{"id":3341,"label":"special-symbols.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/special-symbols.js","statSize":327,"parsedSize":62,"gzipSize":77},{"id":4128,"label":"state.js","path":"./node_modules/regexp-tree/dist/interpreter/finite-automaton/state.js","statSize":2290,"parsedSize":859,"gzipSize":448}],"parsedSize":15898,"gzipSize":4213},{"label":"optimizer","path":"./node_modules/regexp-tree/dist/optimizer","statSize":48396,"groups":[{"id":7393,"label":"index.js","path":"./node_modules/regexp-tree/dist/optimizer/index.js","statSize":2820,"parsedSize":768,"gzipSize":462},{"label":"transforms","path":"./node_modules/regexp-tree/dist/optimizer/transforms","statSize":45576,"groups":[{"id":8327,"label":"char-case-insensitive-lowercase-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-case-insensitive-lowercase-transform.js","statSize":3192,"parsedSize":1184,"gzipSize":574},{"id":2445,"label":"char-class-classranges-merge-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-merge-transform.js","statSize":10425,"parsedSize":2948,"gzipSize":1078},{"id":4122,"label":"char-class-classranges-to-chars-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-classranges-to-chars-transform.js","statSize":604,"parsedSize":219,"gzipSize":163},{"id":1216,"label":"char-class-remove-duplicates-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-remove-duplicates-transform.js","statSize":702,"parsedSize":195,"gzipSize":177},{"id":4126,"label":"char-class-to-meta-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-meta-transform.js","statSize":5474,"parsedSize":2151,"gzipSize":847},{"id":1949,"label":"char-class-to-single-char-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-class-to-single-char-transform.js","statSize":2124,"parsedSize":704,"gzipSize":389},{"id":7335,"label":"char-code-to-simple-char-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-code-to-simple-char-transform.js","statSize":2149,"parsedSize":789,"gzipSize":403},{"id":9141,"label":"char-escape-unescape-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-escape-unescape-transform.js","statSize":3733,"parsedSize":1298,"gzipSize":548},{"id":3843,"label":"char-surrogate-pair-to-single-unicode-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js","statSize":611,"parsedSize":243,"gzipSize":196},{"id":1143,"label":"combine-repeating-patterns-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/combine-repeating-patterns-transform.js","statSize":4991,"parsedSize":2080,"gzipSize":766},{"id":9895,"label":"disjunction-remove-duplicates-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/disjunction-remove-duplicates-transform.js","statSize":1024,"parsedSize":276,"gzipSize":221},{"id":623,"label":"group-single-chars-to-char-class.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/group-single-chars-to-char-class.js","statSize":1838,"parsedSize":631,"gzipSize":368},{"id":5319,"label":"index.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/index.js","statSize":1760,"parsedSize":611,"gzipSize":348},{"id":1280,"label":"quantifier-range-to-symbol-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/quantifier-range-to-symbol-transform.js","statSize":1147,"parsedSize":351,"gzipSize":189},{"id":8124,"label":"quantifiers-merge-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/quantifiers-merge-transform.js","statSize":2911,"parsedSize":919,"gzipSize":442},{"id":2223,"label":"remove-empty-group-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/remove-empty-group-transform.js","statSize":599,"parsedSize":182,"gzipSize":165},{"id":4952,"label":"ungroup-transform.js","path":"./node_modules/regexp-tree/dist/optimizer/transforms/ungroup-transform.js","statSize":2292,"parsedSize":838,"gzipSize":427}],"parsedSize":15619,"gzipSize":4642}],"parsedSize":16387,"gzipSize":4960},{"label":"parser","path":"./node_modules/regexp-tree/dist/parser","statSize":113423,"groups":[{"label":"generated","path":"./node_modules/regexp-tree/dist/parser/generated","statSize":103316,"groups":[{"id":2669,"label":"regexp-tree.js","path":"./node_modules/regexp-tree/dist/parser/generated/regexp-tree.js","statSize":103316,"parsedSize":73236,"gzipSize":15060}],"parsedSize":73236,"gzipSize":15060},{"id":7112,"label":"index.js","path":"./node_modules/regexp-tree/dist/parser/index.js","statSize":741,"parsedSize":143,"gzipSize":138},{"label":"unicode","path":"./node_modules/regexp-tree/dist/parser/unicode","statSize":9366,"groups":[{"id":4876,"label":"parser-unicode-properties.js","path":"./node_modules/regexp-tree/dist/parser/unicode/parser-unicode-properties.js","statSize":9366,"parsedSize":5835,"gzipSize":2597}],"parsedSize":5835,"gzipSize":2597}],"parsedSize":79214,"gzipSize":17843},{"id":1474,"label":"regexp-tree.js","path":"./node_modules/regexp-tree/dist/regexp-tree.js","statSize":4415,"parsedSize":904,"gzipSize":457},{"label":"transform","path":"./node_modules/regexp-tree/dist/transform","statSize":5468,"groups":[{"id":45,"label":"index.js","path":"./node_modules/regexp-tree/dist/transform/index.js","statSize":3550,"parsedSize":1343,"gzipSize":623},{"id":6554,"label":"utils.js","path":"./node_modules/regexp-tree/dist/transform/utils.js","statSize":1918,"parsedSize":709,"gzipSize":395}],"parsedSize":2052,"gzipSize":920},{"label":"traverse","path":"./node_modules/regexp-tree/dist/traverse","statSize":21726,"groups":[{"id":8785,"label":"index.js","path":"./node_modules/regexp-tree/dist/traverse/index.js","statSize":9761,"parsedSize":1945,"gzipSize":791},{"id":7762,"label":"node-path.js","path":"./node_modules/regexp-tree/dist/traverse/node-path.js","statSize":11965,"parsedSize":4359,"gzipSize":1279}],"parsedSize":6304,"gzipSize":1899},{"label":"utils","path":"./node_modules/regexp-tree/dist/utils","statSize":524,"groups":[{"id":689,"label":"clone.js","path":"./node_modules/regexp-tree/dist/utils/clone.js","statSize":524,"parsedSize":158,"gzipSize":148}],"parsedSize":158,"gzipSize":148}],"parsedSize":125293,"gzipSize":29941},{"id":6262,"label":"index.js","path":"./node_modules/regexp-tree/index.js","statSize":172,"parsedSize":41,"gzipSize":61}],"parsedSize":125334,"gzipSize":29951},{"label":"repeat-string","path":"./node_modules/repeat-string","statSize":1213,"groups":[{"id":6464,"label":"index.js","path":"./node_modules/repeat-string/index.js","statSize":1213,"parsedSize":315,"gzipSize":225}],"parsedSize":315,"gzipSize":225},{"label":"simple-swizzle","path":"./node_modules/simple-swizzle","statSize":571,"groups":[{"id":6851,"label":"index.js","path":"./node_modules/simple-swizzle/index.js","statSize":571,"parsedSize":267,"gzipSize":200}],"parsedSize":267,"gzipSize":200},{"label":"xml-but-prettier/dist","path":"./node_modules/xml-but-prettier/dist","statSize":2217,"groups":[{"id":3131,"label":"index.js","path":"./node_modules/xml-but-prettier/dist/index.js","statSize":2217,"parsedSize":914,"gzipSize":472}],"parsedSize":914,"gzipSize":472}],"parsedSize":651048,"gzipSize":167629},{"label":"src","path":"./src","statSize":443601,"groups":[{"id":4054,"label":"openapi-explorer.js + 56 modules (concatenated)","path":"./src/openapi-explorer.js + 56 modules (concatenated)","statSize":443601,"parsedSize":219353,"gzipSize":57998,"concatenated":true,"groups":[{"label":"src","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src","statSize":257019,"groups":[{"id":null,"label":"openapi-explorer.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/openapi-explorer.js","statSize":26130,"parsedSize":12920,"gzipSize":3416,"inaccurateSizes":true},{"label":"styles","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles","statSize":25344,"groups":[{"id":null,"label":"font-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/font-styles.js","statSize":4923,"parsedSize":2434,"gzipSize":643,"inaccurateSizes":true},{"id":null,"label":"input-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/input-styles.js","statSize":4537,"parsedSize":2243,"gzipSize":593,"inaccurateSizes":true},{"id":null,"label":"flex-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/flex-styles.js","statSize":169,"parsedSize":83,"gzipSize":22,"inaccurateSizes":true},{"id":null,"label":"table-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/table-styles.js","statSize":859,"parsedSize":424,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"endpoint-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/endpoint-styles.js","statSize":4404,"parsedSize":2177,"gzipSize":575,"inaccurateSizes":true},{"id":null,"label":"prism-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/prism-styles.js","statSize":1256,"parsedSize":621,"gzipSize":164,"inaccurateSizes":true},{"id":null,"label":"tab-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/tab-styles.js","statSize":733,"parsedSize":362,"gzipSize":95,"inaccurateSizes":true},{"id":null,"label":"nav-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/nav-styles.js","statSize":2819,"parsedSize":1393,"gzipSize":368,"inaccurateSizes":true},{"id":null,"label":"info-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/info-styles.js","statSize":295,"parsedSize":145,"gzipSize":38,"inaccurateSizes":true},{"id":null,"label":"advanced-search-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/advanced-search-styles.js","statSize":1168,"parsedSize":577,"gzipSize":152,"inaccurateSizes":true},{"id":null,"label":"api-request-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/api-request-styles.js","statSize":1973,"parsedSize":975,"gzipSize":257,"inaccurateSizes":true},{"id":null,"label":"border-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/border-styles.js","statSize":361,"parsedSize":178,"gzipSize":47,"inaccurateSizes":true},{"id":null,"label":"schema-styles.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/styles/schema-styles.js","statSize":1847,"parsedSize":913,"gzipSize":241,"inaccurateSizes":true}],"parsedSize":12532,"gzipSize":3313,"inaccurateSizes":true},{"label":"utils","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils","statSize":56954,"groups":[{"id":null,"label":"spec-parser.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/spec-parser.js","statSize":12762,"parsedSize":6310,"gzipSize":1668,"inaccurateSizes":true},{"id":null,"label":"common-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/common-utils.js","statSize":4623,"parsedSize":2285,"gzipSize":604,"inaccurateSizes":true},{"id":null,"label":"theme.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/theme.js","statSize":6475,"parsedSize":3201,"gzipSize":846,"inaccurateSizes":true},{"id":null,"label":"color-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/color-utils.js","statSize":2557,"parsedSize":1264,"gzipSize":334,"inaccurateSizes":true},{"id":null,"label":"schema-utils.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/schema-utils.js","statSize":25473,"parsedSize":12595,"gzipSize":3330,"inaccurateSizes":true},{"label":"xml","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/xml","statSize":5064,"groups":[{"id":null,"label":"xml.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/utils/xml/xml.js","statSize":5064,"parsedSize":2504,"gzipSize":662,"inaccurateSizes":true}],"parsedSize":2504,"gzipSize":662,"inaccurateSizes":true}],"parsedSize":28162,"gzipSize":7446,"inaccurateSizes":true},{"label":"templates","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates","statSize":56825,"groups":[{"id":null,"label":"responsiveViewMainBodyTemplate.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/responsiveViewMainBodyTemplate.js","statSize":2792,"parsedSize":1380,"gzipSize":365,"inaccurateSizes":true},{"id":null,"label":"security-scheme-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/security-scheme-template.js","statSize":19858,"parsedSize":9819,"gzipSize":2596,"inaccurateSizes":true},{"id":null,"label":"focused-endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/focused-endpoint-template.js","statSize":3272,"parsedSize":1617,"gzipSize":427,"inaccurateSizes":true},{"id":null,"label":"overview-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/overview-template.js","statSize":2083,"parsedSize":1030,"gzipSize":272,"inaccurateSizes":true},{"id":null,"label":"server-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/server-template.js","statSize":3054,"parsedSize":1510,"gzipSize":399,"inaccurateSizes":true},{"id":null,"label":"endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/endpoint-template.js","statSize":6691,"parsedSize":3308,"gzipSize":874,"inaccurateSizes":true},{"id":null,"label":"navbar-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/navbar-template.js","statSize":5727,"parsedSize":2831,"gzipSize":748,"inaccurateSizes":true},{"id":null,"label":"advance-search-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/advance-search-template.js","statSize":3540,"parsedSize":1750,"gzipSize":462,"inaccurateSizes":true},{"id":null,"label":"expanded-endpoint-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/expanded-endpoint-template.js","statSize":4464,"parsedSize":2207,"gzipSize":583,"inaccurateSizes":true},{"id":null,"label":"code-samples-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/code-samples-template.js","statSize":1670,"parsedSize":825,"gzipSize":218,"inaccurateSizes":true},{"id":null,"label":"callback-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/callback-template.js","statSize":2091,"parsedSize":1033,"gzipSize":273,"inaccurateSizes":true},{"id":null,"label":"components-template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/templates/components-template.js","statSize":1583,"parsedSize":782,"gzipSize":206,"inaccurateSizes":true}],"parsedSize":28098,"gzipSize":7429,"inaccurateSizes":true},{"id":null,"label":"openapi-explorer-oauth-handler.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/openapi-explorer-oauth-handler.js","statSize":356,"parsedSize":176,"gzipSize":46,"inaccurateSizes":true},{"label":"components","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components","statSize":91410,"groups":[{"id":null,"label":"api-request.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/api-request.js","statSize":49711,"parsedSize":24581,"gzipSize":6499,"inaccurateSizes":true},{"id":null,"label":"api-response.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/api-response.js","statSize":12125,"parsedSize":5995,"gzipSize":1585,"inaccurateSizes":true},{"id":null,"label":"mime-types.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/mime-types.js","statSize":1532,"parsedSize":757,"gzipSize":200,"inaccurateSizes":true},{"id":null,"label":"json-tree.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/json-tree.js","statSize":3459,"parsedSize":1710,"gzipSize":452,"inaccurateSizes":true},{"id":null,"label":"schema-tree.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/schema-tree.js","statSize":11693,"parsedSize":5781,"gzipSize":1528,"inaccurateSizes":true},{"id":null,"label":"tag-input.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/tag-input.js","statSize":2562,"parsedSize":1266,"gzipSize":334,"inaccurateSizes":true},{"id":null,"label":"schema-table.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/src/components/schema-table.js","statSize":10328,"parsedSize":5107,"gzipSize":1350,"inaccurateSizes":true}],"parsedSize":45200,"gzipSize":11951,"inaccurateSizes":true}],"parsedSize":127091,"gzipSize":33603,"inaccurateSizes":true},{"label":"node_modules","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules","statSize":186582,"groups":[{"label":"lit-element","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element","statSize":55470,"groups":[{"id":null,"label":"lit-element.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lit-element.js","statSize":11717,"parsedSize":5793,"gzipSize":1531,"inaccurateSizes":true},{"label":"lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib","statSize":43753,"groups":[{"id":null,"label":"updating-element.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/updating-element.js","statSize":27448,"parsedSize":13572,"gzipSize":3588,"inaccurateSizes":true},{"id":null,"label":"decorators.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/decorators.js","statSize":13198,"parsedSize":6526,"gzipSize":1725,"inaccurateSizes":true},{"id":null,"label":"css-tag.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-element/lib/css-tag.js","statSize":3107,"parsedSize":1536,"gzipSize":406,"inaccurateSizes":true}],"parsedSize":21635,"gzipSize":5720,"inaccurateSizes":true}],"parsedSize":27428,"gzipSize":7252,"inaccurateSizes":true},{"label":"marked/lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/marked/lib","statSize":76372,"groups":[{"id":null,"label":"marked.esm.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/marked/lib/marked.esm.js","statSize":76372,"parsedSize":37764,"gzipSize":9985,"inaccurateSizes":true}],"parsedSize":37764,"gzipSize":9985,"inaccurateSizes":true},{"label":"lit-html","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html","statSize":54740,"groups":[{"id":null,"label":"lit-html.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lit-html.js","statSize":2624,"parsedSize":1297,"gzipSize":343,"inaccurateSizes":true},{"label":"directives","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/directives","statSize":1962,"groups":[{"id":null,"label":"unsafe-html.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/directives/unsafe-html.js","statSize":1962,"parsedSize":970,"gzipSize":256,"inaccurateSizes":true}],"parsedSize":970,"gzipSize":256,"inaccurateSizes":true},{"label":"lib","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib","statSize":50154,"groups":[{"id":null,"label":"default-template-processor.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/default-template-processor.js","statSize":2059,"parsedSize":1018,"gzipSize":269,"inaccurateSizes":true},{"id":null,"label":"parts.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/parts.js","statSize":17302,"parsedSize":8555,"gzipSize":2262,"inaccurateSizes":true},{"id":null,"label":"directive.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/directive.js","statSize":2396,"parsedSize":1184,"gzipSize":313,"inaccurateSizes":true},{"id":null,"label":"dom.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/dom.js","statSize":1546,"parsedSize":764,"gzipSize":202,"inaccurateSizes":true},{"id":null,"label":"part.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/part.js","statSize":834,"parsedSize":412,"gzipSize":109,"inaccurateSizes":true},{"id":null,"label":"template-instance.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-instance.js","statSize":6006,"parsedSize":2969,"gzipSize":785,"inaccurateSizes":true},{"id":null,"label":"template.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template.js","statSize":10304,"parsedSize":5095,"gzipSize":1347,"inaccurateSizes":true},{"id":null,"label":"template-result.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-result.js","statSize":5901,"parsedSize":2917,"gzipSize":771,"inaccurateSizes":true},{"id":null,"label":"render.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/render.js","statSize":1859,"parsedSize":919,"gzipSize":243,"inaccurateSizes":true},{"id":null,"label":"template-factory.js","path":"./src/openapi-explorer.js + 56 modules (concatenated)/node_modules/lit-html/lib/template-factory.js","statSize":1947,"parsedSize":962,"gzipSize":254,"inaccurateSizes":true}],"parsedSize":24800,"gzipSize":6557,"inaccurateSizes":true}],"parsedSize":27067,"gzipSize":7156,"inaccurateSizes":true}],"parsedSize":92261,"gzipSize":24394,"inaccurateSizes":true}]}],"parsedSize":219353,"gzipSize":57998}]}];
|
|
35
35
|
window.defaultSizes = "parsed";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-explorer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.310",
|
|
4
4
|
"description": "OpenAPI Explorer - API viewer with dynamically generated components, documentation, and interaction console",
|
|
5
5
|
"author": "Rhosys Developers <developers@rhosys.ch>",
|
|
6
6
|
"repository": {
|
|
@@ -255,7 +255,7 @@ export default class ApiResponse extends LitElement {
|
|
|
255
255
|
mimeExampleTemplate(mimeRespDetails) {
|
|
256
256
|
if (!mimeRespDetails) {
|
|
257
257
|
return html`
|
|
258
|
-
<pre style='color:var(--red)' class = '
|
|
258
|
+
<pre style='color:var(--red)' class = 'example-panel border-top'> No example provided </pre>
|
|
259
259
|
`;
|
|
260
260
|
}
|
|
261
261
|
return html`
|
|
@@ -268,10 +268,10 @@ export default class ApiResponse extends LitElement {
|
|
|
268
268
|
<json-tree
|
|
269
269
|
render-style = '${this.renderStyle}'
|
|
270
270
|
.data="${mimeRespDetails.examples[0].exampleValue}"
|
|
271
|
-
class = 'example-panel
|
|
271
|
+
class = 'example-panel pad-top-8'
|
|
272
272
|
></json-tree>`
|
|
273
273
|
: html`
|
|
274
|
-
<pre class = 'example-panel generic-tree
|
|
274
|
+
<pre class = 'example-panel generic-tree border-top pad-top-8'>${mimeRespDetails.examples[0].exampleValue}</pre>
|
|
275
275
|
`
|
|
276
276
|
}`
|
|
277
277
|
: html`
|
package/src/openapi-explorer.js
CHANGED
|
@@ -25,7 +25,7 @@ import NavStyles from './styles/nav-styles';
|
|
|
25
25
|
import InfoStyles from './styles/info-styles';
|
|
26
26
|
import advancedSearchStyles from './styles/advanced-search-styles';
|
|
27
27
|
|
|
28
|
-
import { advancedSearch, getCurrentElement, pathIsInSearch, replaceState, sleep } from './utils/common-utils';
|
|
28
|
+
import { advancedSearch, getCurrentElement, pathIsInSearch, replaceState, sleep, componentIsInSearch } from './utils/common-utils';
|
|
29
29
|
import ProcessSpec from './utils/spec-parser';
|
|
30
30
|
import responsiveViewMainBodyTemplate from './templates/responsiveViewMainBodyTemplate';
|
|
31
31
|
import apiRequestStyles from './styles/api-request-styles';
|
|
@@ -391,7 +391,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
391
391
|
if (!this.allowServerSelection || !'true, false,'.includes(`${this.allowServerSelection},`)) { this.allowServerSelection = 'true'; }
|
|
392
392
|
if (!this.allowAuthentication || !'true, false,'.includes(`${this.allowAuthentication},`)) { this.allowAuthentication = 'true'; }
|
|
393
393
|
|
|
394
|
-
if (!this.showComponents || !'true false'.includes(this.showComponents)) { this.showComponents = '
|
|
394
|
+
if (!this.showComponents || !'true false'.includes(this.showComponents)) { this.showComponents = 'true'; }
|
|
395
395
|
if (!this.fetchCredentials || !'omit, same-origin, include,'.includes(`${this.fetchCredentials},`)) { this.fetchCredentials = ''; }
|
|
396
396
|
|
|
397
397
|
if (!this.showAdvancedSearchDialog) { this.showAdvancedSearchDialog = false; }
|
|
@@ -470,6 +470,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
onSearchChange(e) {
|
|
473
|
+
this.operationsCollapsed = false;
|
|
473
474
|
this.matchPaths = e.target.value;
|
|
474
475
|
this.resolvedSpec.tags.forEach((tag) => tag.paths.filter((v) => {
|
|
475
476
|
if (this.matchPaths) {
|
|
@@ -479,6 +480,14 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
479
480
|
}
|
|
480
481
|
}
|
|
481
482
|
}));
|
|
483
|
+
this.resolvedSpec.components.forEach((component) => {
|
|
484
|
+
component.subComponents.forEach((subComponent) => {
|
|
485
|
+
subComponent.expanded = false;
|
|
486
|
+
if (!this.matchPaths || componentIsInSearch(this.matchPaths, subComponent)) {
|
|
487
|
+
subComponent.expanded = true;
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
});
|
|
482
491
|
this.requestUpdate();
|
|
483
492
|
}
|
|
484
493
|
|
|
@@ -486,6 +495,11 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
486
495
|
const searchEl = this.shadowRoot.getElementById('nav-bar-search');
|
|
487
496
|
searchEl.value = '';
|
|
488
497
|
this.matchPaths = '';
|
|
498
|
+
this.resolvedSpec.components.forEach((component) => {
|
|
499
|
+
component.subComponents.forEach((v) => {
|
|
500
|
+
v.expanded = true;
|
|
501
|
+
});
|
|
502
|
+
});
|
|
489
503
|
}
|
|
490
504
|
|
|
491
505
|
async onShowSearchModalClicked() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable no-console */
|
|
2
|
+
import { schemaInObjectNotation } from '../utils/schema-utils';
|
|
2
3
|
import { html } from 'lit-element';
|
|
3
4
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
4
5
|
import { marked } from 'marked';
|
|
@@ -6,18 +7,19 @@ import '../components/json-tree';
|
|
|
6
7
|
import '../components/schema-tree';
|
|
7
8
|
|
|
8
9
|
function componentBodyTemplate(sComponent) {
|
|
10
|
+
const formdataPartSchema = schemaInObjectNotation(sComponent.component, {});
|
|
11
|
+
|
|
9
12
|
return html`
|
|
10
|
-
<div class='divider'></div>
|
|
11
13
|
<div class='expanded-endpoint-body observe-me ${sComponent.name}' id='cmp--${sComponent.id}' >
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
<h2>${sComponent.name}</h2>
|
|
15
|
+
<div class='mono-font regular-font-size' style='padding: 8px 0; color:var(--fg2)'>
|
|
16
|
+
<schema-tree
|
|
17
|
+
.data = '${formdataPartSchema}'
|
|
18
|
+
schema-expand-level = "${this.schemaExpandLevel}"
|
|
19
|
+
schema-description-expanded = "${this.schemaDescriptionExpanded}"
|
|
20
|
+
schema-hide-read-only=false
|
|
21
|
+
schema-hide-write-only=false> </schema-tree>
|
|
22
|
+
</div>
|
|
21
23
|
</div>
|
|
22
24
|
`;
|
|
23
25
|
}
|
|
@@ -32,7 +34,7 @@ export default function componentsTemplate() {
|
|
|
32
34
|
</div>
|
|
33
35
|
</div>
|
|
34
36
|
<div class='regular-font section-gap--read-mode'>
|
|
35
|
-
${component.subComponents.map((sComponent) => componentBodyTemplate.call(this, sComponent))}
|
|
37
|
+
${component.subComponents.filter(c => c.expanded).map((sComponent) => componentBodyTemplate.call(this, sComponent))}
|
|
36
38
|
</div>
|
|
37
39
|
`)
|
|
38
40
|
}
|
|
@@ -150,7 +150,7 @@ export default function navbarTemplate() {
|
|
|
150
150
|
<div class='nav-bar-section-title'>COMPONENTS</div>
|
|
151
151
|
</div>
|
|
152
152
|
</div>
|
|
153
|
-
${this.resolvedSpec.components.map((component) => (component.subComponents.length
|
|
153
|
+
${this.resolvedSpec.components.map((component) => (component.subComponents.filter(s => s.expanded).length
|
|
154
154
|
? html`
|
|
155
155
|
<div class='nav-bar-tag'
|
|
156
156
|
data-content-id='cmp--${component.name.toLowerCase()}'
|
|
@@ -158,7 +158,7 @@ export default function navbarTemplate() {
|
|
|
158
158
|
@click='${(e) => this.scrollToEventTarget(e, false)}'>
|
|
159
159
|
${component.name}
|
|
160
160
|
</div>
|
|
161
|
-
${component.subComponents.map((p) => html`
|
|
161
|
+
${component.subComponents.filter(s => s.expanded).map((p) => html`
|
|
162
162
|
<div class='nav-bar-path' data-content-id='cmp--${p.id}' id='link-cmp--${p.id}' @click='${(e) => this.scrollToEventTarget(e, false)}'>
|
|
163
163
|
<span> ${p.name} </span>
|
|
164
164
|
</div>`)
|
|
@@ -41,6 +41,10 @@ export function getBaseUrlFromUrl(url) {
|
|
|
41
41
|
return `${pathArray[0]}//${pathArray[2]}`;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
export function componentIsInSearch(searchVal, component) {
|
|
45
|
+
return component.name.toLowerCase().includes(searchVal.toLowerCase());
|
|
46
|
+
}
|
|
47
|
+
|
|
44
48
|
export function pathIsInSearch(searchVal, path) {
|
|
45
49
|
const stringToSearch = `${path.method} ${path.path} ${path.summary || path.description || ''} ${path.operationId || ''}`.toLowerCase();
|
|
46
50
|
return stringToSearch.includes(searchVal.toLowerCase());
|
|
@@ -2,6 +2,9 @@ import cloneDeep from 'lodash.clonedeep';
|
|
|
2
2
|
import { expandN } from 'regex-to-strings';
|
|
3
3
|
import xmlFormatter from './xml/xml';
|
|
4
4
|
|
|
5
|
+
// When the type is not known for a property set the displayed type to be this:
|
|
6
|
+
const IS_MISSING_TYPE_INFO_TYPE = '';
|
|
7
|
+
|
|
5
8
|
/* Generates an schema object containing type and constraint info */
|
|
6
9
|
export function getTypeInfo(schema) {
|
|
7
10
|
if (!schema) {
|
|
@@ -21,7 +24,7 @@ export function getTypeInfo(schema) {
|
|
|
21
24
|
dataType = dataType.replace('string', schema.enum ? 'enum' : schema.format);
|
|
22
25
|
}
|
|
23
26
|
} else {
|
|
24
|
-
dataType =
|
|
27
|
+
dataType = IS_MISSING_TYPE_INFO_TYPE;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
const info = {
|
|
@@ -42,7 +45,7 @@ export function getTypeInfo(schema) {
|
|
|
42
45
|
|
|
43
46
|
if (info.type === '{recursive}') {
|
|
44
47
|
info.description = schema.$ref.substring(schema.$ref.lastIndexOf('/') + 1);
|
|
45
|
-
} else if (info.type ===
|
|
48
|
+
} else if (info.type === IS_MISSING_TYPE_INFO_TYPE) {
|
|
46
49
|
info.description = info.description || '';
|
|
47
50
|
}
|
|
48
51
|
|
|
@@ -50,7 +53,7 @@ export function getTypeInfo(schema) {
|
|
|
50
53
|
info.allowedValues = Array.isArray(schema.enum) ? schema.enum.join('┃') : '';
|
|
51
54
|
if (dataType === 'array' && schema.items) {
|
|
52
55
|
const arrayItemType = schema.items.type;
|
|
53
|
-
const arrayItemDefault = schema.items.default
|
|
56
|
+
const arrayItemDefault = schema.items.default ?? '';
|
|
54
57
|
|
|
55
58
|
info.arrayType = `${schema.type} of ${Array.isArray(arrayItemType) ? arrayItemType.join('') : arrayItemType}`;
|
|
56
59
|
info.default = arrayItemDefault;
|
|
@@ -58,12 +61,12 @@ export function getTypeInfo(schema) {
|
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
if (dataType.match(/integer|number/g)) {
|
|
61
|
-
const minimum = schema.minimum
|
|
62
|
-
const maximum = schema.maximum
|
|
64
|
+
const minimum = schema.minimum ?? schema.exclusiveMinimum;
|
|
65
|
+
const maximum = schema.maximum ?? schema.exclusiveMaximum;
|
|
63
66
|
const leftBound = schema.minimum !== undefined ? '[' : '(';
|
|
64
67
|
const rightBound = schema.maximum !== undefined ? ']' : ')';
|
|
65
68
|
if (typeof minimum === 'number' || typeof maximum === 'number') {
|
|
66
|
-
constraint = `Range: ${leftBound}${minimum
|
|
69
|
+
constraint = `Range: ${leftBound}${minimum ?? ''},${maximum ?? ''}${rightBound}`;
|
|
67
70
|
}
|
|
68
71
|
if (schema.multipleOf !== undefined) {
|
|
69
72
|
constraint += `${constraint ? ', ' : ''}Multiples: ${schema.multipleOf}`;
|
|
@@ -110,7 +113,7 @@ export function getSampleValueByType(schemaObj, fallbackPropertyName, skipExampl
|
|
|
110
113
|
// Indicates a Circular ref
|
|
111
114
|
return schemaObj.$ref;
|
|
112
115
|
}
|
|
113
|
-
const typeValue = Array.isArray(schemaObj.type) ? schemaObj.type.filter((t) => t !== 'null')[0] : schemaObj.type;
|
|
116
|
+
const typeValue = Array.isArray(schemaObj.type) ? schemaObj.type.filter((t) => t !== 'null')[0] : schemaObj.type ?? '';
|
|
114
117
|
|
|
115
118
|
if (typeValue.match(/^integer|^number/g)) {
|
|
116
119
|
const multipleOf = Number.isNaN(Number(schemaObj.multipleOf)) ? undefined : Number(schemaObj.multipleOf);
|
package/src/utils/spec-parser.js
CHANGED
|
@@ -119,24 +119,20 @@ function getComponents(openApiSpec) {
|
|
|
119
119
|
}
|
|
120
120
|
const components = [];
|
|
121
121
|
for (const component in openApiSpec.components) {
|
|
122
|
-
const subComponents = []
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
component: openApiSpec.components[component][sComponent],
|
|
129
|
-
};
|
|
130
|
-
subComponents.push(scmp);
|
|
131
|
-
}
|
|
122
|
+
const subComponents = Object.keys(openApiSpec.components[component]).map(sComponent => ({
|
|
123
|
+
expanded: true,
|
|
124
|
+
id: `${component.toLowerCase()}-${sComponent.toLowerCase()}`.replace(invalidCharsRegEx, '-'),
|
|
125
|
+
name: sComponent,
|
|
126
|
+
component: openApiSpec.components[component][sComponent],
|
|
127
|
+
})).sort((a, b) => a.name.toLowerCase().localeCompare(b.name.toLowerCase()));
|
|
132
128
|
|
|
133
|
-
let cmpDescription
|
|
134
|
-
let cmpName
|
|
129
|
+
let cmpDescription;
|
|
130
|
+
let cmpName;
|
|
135
131
|
|
|
136
132
|
switch (component) {
|
|
137
133
|
case 'schemas':
|
|
138
134
|
cmpName = 'Schemas';
|
|
139
|
-
cmpDescription = '
|
|
135
|
+
cmpDescription = '';
|
|
140
136
|
break;
|
|
141
137
|
case 'responses':
|
|
142
138
|
cmpName = 'Responses';
|
|
@@ -151,17 +147,12 @@ function getComponents(openApiSpec) {
|
|
|
151
147
|
cmpDescription = 'List of Examples for operations, can be requests, responses and objects examples.';
|
|
152
148
|
break;
|
|
153
149
|
case 'requestBodies':
|
|
154
|
-
cmpName = 'Request Bodies';
|
|
155
|
-
cmpDescription = 'Describes common request bodies that are used across the API operations.';
|
|
156
150
|
break;
|
|
157
151
|
case 'headers':
|
|
158
152
|
cmpName = 'Headers';
|
|
159
153
|
cmpDescription = 'Headers follows the structure of the Parameters but they are explicitly in "header"';
|
|
160
154
|
break;
|
|
161
155
|
case 'securitySchemes':
|
|
162
|
-
cmpName = 'Security Schemes';
|
|
163
|
-
// eslint-disable-next-line max-len
|
|
164
|
-
cmpDescription = 'Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), OAuth2\'s common flows(client credentials and authorization code) as defined in RFC6749, and OpenID Connect Discovery.';
|
|
165
156
|
break;
|
|
166
157
|
case 'links':
|
|
167
158
|
cmpName = 'Links';
|
|
@@ -178,16 +169,17 @@ function getComponents(openApiSpec) {
|
|
|
178
169
|
break;
|
|
179
170
|
}
|
|
180
171
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
172
|
+
if (cmpName) {
|
|
173
|
+
components.push({
|
|
174
|
+
show: true,
|
|
175
|
+
name: cmpName,
|
|
176
|
+
description: cmpDescription,
|
|
177
|
+
subComponents,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
188
180
|
}
|
|
189
181
|
|
|
190
|
-
return components
|
|
182
|
+
return components;
|
|
191
183
|
}
|
|
192
184
|
|
|
193
185
|
function groupByTags(openApiSpec) {
|