@digi-frontend/dgate-api-documentation 1.0.1 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/.editorconfig +12 -12
  2. package/.prettierignore +7 -7
  3. package/.prettierrc +15 -15
  4. package/dist/{2e10bbdb265df50e.svg → 43595976d1fdccbf.svg} +4 -4
  5. package/dist/{8789eb84283ea95b.svg → 56dc416b683db280.svg} +5 -5
  6. package/dist/{bb8b87cace25e052.svg → 64efc2716808c4a4.svg} +3 -3
  7. package/dist/{d32ce84bbd78babd.svg → 72db3b05a96dd600.svg} +3 -3
  8. package/dist/{d501922060662842.svg → 844eba3f2e42a9eb.svg} +3 -3
  9. package/dist/_virtual/index10.js +1 -1
  10. package/dist/_virtual/index21.js +2 -0
  11. package/dist/_virtual/index21.js.map +1 -0
  12. package/dist/_virtual/index3.js +1 -1
  13. package/dist/_virtual/index5.js +1 -1
  14. package/dist/_virtual/index6.js +1 -1
  15. package/dist/_virtual/index7.js +1 -1
  16. package/dist/_virtual/index8.js +1 -1
  17. package/dist/_virtual/index9.js +1 -1
  18. package/dist/_virtual/node2.js +2 -0
  19. package/dist/_virtual/node2.js.map +1 -0
  20. package/dist/_virtual/node3.js +2 -0
  21. package/dist/_virtual/node3.js.map +1 -0
  22. package/dist/{070dc6ecd197bc80.svg → a7568b270e175038.svg} +8 -8
  23. package/dist/{9bdff13f8d8fa48a.svg → af16a554be8c4d69.svg} +3 -3
  24. package/dist/{7f54eeb0bb2d1150.svg → b82c7612e73342f3.svg} +3 -3
  25. package/dist/node_modules/digitinary-ui/dist/index.js +1 -1
  26. package/dist/node_modules/digitinary-ui/dist/index.js.map +1 -1
  27. package/dist/node_modules/domelementtype/lib/index.js +1 -1
  28. package/dist/node_modules/formik/dist/formik.esm.js +1 -1
  29. package/dist/node_modules/html-dom-parser/lib/index.js +1 -1
  30. package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js +1 -1
  31. package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -1
  32. package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js +2 -0
  33. package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js.map +1 -0
  34. package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js +2 -0
  35. package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js.map +1 -0
  36. package/dist/node_modules/html-react-parser/esm/index.mjs.js +1 -1
  37. package/dist/node_modules/html-react-parser/esm/index.mjs.js.map +1 -1
  38. package/dist/node_modules/html-react-parser/lib/index.js +1 -1
  39. package/dist/node_modules/html-react-parser/lib/index.js.map +1 -1
  40. package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js +2 -0
  41. package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js.map +1 -0
  42. package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js +2 -0
  43. package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js.map +1 -0
  44. package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js +1 -1
  45. package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -1
  46. package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +1 -1
  47. package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -1
  48. package/dist/node_modules/htmlparser2/dist/commonjs/index.js +1 -1
  49. package/dist/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -1
  50. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +2 -0
  51. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
  52. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +2 -0
  53. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +1 -0
  54. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js +2 -0
  55. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +1 -0
  56. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +2 -0
  57. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  58. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js +2 -0
  59. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +1 -0
  60. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js +2 -0
  61. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +1 -0
  62. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +2 -0
  63. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  64. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +2 -0
  65. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  66. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +2 -0
  67. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  68. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js +2 -0
  69. package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +1 -0
  70. package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +2 -0
  71. package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +1 -0
  72. package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +2 -0
  73. package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +1 -0
  74. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +2 -0
  75. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +1 -0
  76. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +2 -0
  77. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +1 -0
  78. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js +2 -0
  79. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +1 -0
  80. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +2 -0
  81. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +1 -0
  82. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +2 -0
  83. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +1 -0
  84. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +2 -0
  85. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +1 -0
  86. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +2 -0
  87. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +1 -0
  88. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +2 -0
  89. package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +1 -0
  90. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +2 -0
  91. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  92. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +2 -0
  93. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  94. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +2 -0
  95. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  96. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +2 -0
  97. package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  98. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
  99. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
  100. package/dist/node_modules/react-fast-compare/index.js +1 -1
  101. package/dist/node_modules/react-fast-compare/index.js.map +1 -1
  102. package/dist/node_modules/react-is/index.js +1 -1
  103. package/dist/node_modules/react-property/lib/index.js +1 -1
  104. package/dist/node_modules/react-property/lib/index.js.map +1 -1
  105. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  106. package/dist/node_modules/toposort/index.js +1 -1
  107. package/dist/node_modules/yup/index.esm.js +1 -1
  108. package/dist/node_modules/yup/index.esm.js.map +1 -1
  109. package/dist/src/assets/icons/AddRow.svg.js +1 -1
  110. package/dist/src/assets/icons/AddRow.svg.js.map +1 -1
  111. package/dist/src/assets/icons/CheckMarkSquare.svg.js +2 -0
  112. package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +1 -0
  113. package/dist/src/assets/icons/CloseIcon.svg.js +1 -1
  114. package/dist/src/assets/icons/CloseIcon.svg.js.map +1 -1
  115. package/dist/src/assets/icons/DeleteIcon.svg.js +1 -1
  116. package/dist/src/assets/icons/DeleteIcon.svg.js.map +1 -1
  117. package/dist/src/assets/icons/DownArrow.svg.js +1 -1
  118. package/dist/src/assets/icons/DownArrow.svg.js.map +1 -1
  119. package/dist/src/assets/icons/EditIcon.svg.js +1 -1
  120. package/dist/src/assets/icons/EditIcon.svg.js.map +1 -1
  121. package/dist/src/assets/icons/UpArrow.svg.js +1 -1
  122. package/dist/src/assets/icons/UpArrow.svg.js.map +1 -1
  123. package/dist/src/assets/icons/deleteOutlinedIcon.svg.js +2 -0
  124. package/dist/src/assets/icons/deleteOutlinedIcon.svg.js.map +1 -0
  125. package/dist/src/components/Chips/Chips.js +2 -0
  126. package/dist/src/components/Chips/Chips.js.map +1 -0
  127. package/dist/src/components/InfoForm/InfoForm.js +1 -1
  128. package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
  129. package/dist/src/components/JsonInput/JsonInput.js +1 -1
  130. package/dist/src/components/JsonInput/JsonInput.js.map +1 -1
  131. package/dist/src/components/LivePreview/LivePreview.js +1 -1
  132. package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
  133. package/dist/src/components/MethodAccordion/MethodAccordion.js +1 -1
  134. package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
  135. package/dist/src/components/SVGLoader/SVGLoader.js.map +1 -1
  136. package/dist/src/components/SectionHead/SectionHead.js.map +1 -1
  137. package/dist/src/components/SimpleLabelValue/SimpleLabelValue.js.map +1 -1
  138. package/dist/src/components/Tooltip/Tooltip.js.map +1 -1
  139. package/dist/src/components/dialog/index.js +1 -1
  140. package/dist/src/components/dialog/index.js.map +1 -1
  141. package/dist/src/components/table/table.js +1 -1
  142. package/dist/src/components/table/table.js.map +1 -1
  143. package/dist/src/constants/index.js +1 -1
  144. package/dist/src/constants/index.js.map +1 -1
  145. package/dist/src/constants/regex.js +1 -1
  146. package/dist/src/constants/regex.js.map +1 -1
  147. package/dist/src/helpers/layout.helper.js +1 -1
  148. package/dist/src/helpers/layout.helper.js.map +1 -1
  149. package/dist/src/helpers/methodAccordion.helper.js.map +1 -1
  150. package/dist/src/index.js +1 -1
  151. package/dist/src/layout/layout.js +1 -1
  152. package/dist/src/layout/layout.js.map +1 -1
  153. package/dist/src/layout/layout.module.css.js +1 -1
  154. package/dist/src/validator/form.scheme.js +1 -1
  155. package/dist/src/validator/form.scheme.js.map +1 -1
  156. package/dist/styles.css +430 -1863
  157. package/dist/types/assets/icons/index.d.ts +1 -17
  158. package/dist/types/components/InfoForm/InfoForm.d.ts +1 -3
  159. package/dist/types/components/JsonInput/JsonInput.d.ts +1 -2
  160. package/dist/types/components/LivePreview/LivePreview.d.ts +0 -1
  161. package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +2 -7
  162. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -2
  163. package/dist/types/components/dialog/dialog.d.ts +0 -6
  164. package/dist/types/components/dialog/index.d.ts +1 -1
  165. package/dist/types/components/table/table.d.ts +1 -2
  166. package/dist/types/constants/index.d.ts +0 -11
  167. package/dist/types/constants/regex.d.ts +0 -2
  168. package/dist/types/index.d.ts +0 -1
  169. package/dist/types/layout/layout.d.ts +1 -4
  170. package/dist/types/types/layout.type.d.ts +1 -3
  171. package/dist/types/types/openApi.d.ts +4 -17
  172. package/dist/types/validator/form.scheme.d.ts +3 -12
  173. package/package.json +43 -47
  174. package/rollup.config.js +35 -37
  175. package/src/assets/icons/AddRow.svg +3 -3
  176. package/src/assets/icons/CheckMarkSquare.svg +5 -5
  177. package/src/assets/icons/CloseIcon.svg +4 -4
  178. package/src/assets/icons/DeleteIcon.svg +3 -3
  179. package/src/assets/icons/DownArrow.svg +3 -3
  180. package/src/assets/icons/EditIcon.svg +3 -3
  181. package/src/assets/icons/UpArrow.svg +3 -3
  182. package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
  183. package/src/assets/icons/index.ts +8 -24
  184. package/src/components/Chips/Chips.tsx +87 -87
  185. package/src/components/Chips/style.scss +147 -147
  186. package/src/components/InfoForm/InfoForm.module.scss +15 -165
  187. package/src/components/InfoForm/InfoForm.tsx +124 -424
  188. package/src/components/JsonInput/JsonInput.tsx +124 -149
  189. package/src/components/JsonInput/style.module.scss +123 -133
  190. package/src/components/LivePreview/LivePreview.module.scss +5 -181
  191. package/src/components/LivePreview/LivePreview.tsx +80 -224
  192. package/src/components/MethodAccordion/MethodAccordion.module.scss +294 -399
  193. package/src/components/MethodAccordion/MethodAccordion.tsx +401 -1063
  194. package/src/components/SVGLoader/SVGLoader.tsx +94 -96
  195. package/src/components/SectionHead/SectionHead.scss +29 -29
  196. package/src/components/SectionHead/SectionHead.tsx +22 -22
  197. package/src/components/SimpleLabelValue/SimpleLabelValue.tsx +31 -31
  198. package/src/components/SimpleLabelValue/index.ts +1 -1
  199. package/src/components/SimpleLabelValue/style.scss +30 -30
  200. package/src/components/Tooltip/Tooltip.scss +130 -133
  201. package/src/components/Tooltip/Tooltip.tsx +86 -85
  202. package/src/components/_global.scss +337 -337
  203. package/src/components/dialog/dialog.ts +54 -61
  204. package/src/components/dialog/index.tsx +85 -88
  205. package/src/components/dialog/style.scss +104 -188
  206. package/src/components/table/style.scss +179 -223
  207. package/src/components/table/table.tsx +307 -490
  208. package/src/constants/index.ts +74 -95
  209. package/src/constants/regex.ts +5 -7
  210. package/src/global.d.ts +13 -13
  211. package/src/helpers/layout.helper.ts +147 -187
  212. package/src/helpers/methodAccordion.helper.ts +19 -19
  213. package/src/index.ts +1 -2
  214. package/src/layout/layout.module.css +56 -65
  215. package/src/layout/layout.tsx +99 -181
  216. package/src/types/index.ts +0 -28
  217. package/src/types/layout.type.ts +30 -32
  218. package/src/types/openApi.ts +95 -109
  219. package/src/types/transformedOpenApi.ts +52 -52
  220. package/src/validator/form.scheme.ts +70 -96
  221. package/tsconfig.json +33 -33
  222. package/dist/16702d92fd6d1730.svg +0 -6
  223. package/dist/2b546d6e9fdf604a.svg +0 -3
  224. package/dist/2c3c6c2c3b835504.svg +0 -5
  225. package/dist/55b5994c5781482b.svg +0 -5
  226. package/dist/60bef8083c55f46b.svg +0 -6
  227. package/dist/68c710e0583e19e6.svg +0 -5
  228. package/dist/731221b3f242672d.svg +0 -4
  229. package/dist/8520b6792278d9df.svg +0 -6
  230. package/dist/9506ef7a26a74147.svg +0 -12
  231. package/dist/9b7aee27757b5036.svg +0 -3
  232. package/dist/_virtual/core.js +0 -2
  233. package/dist/_virtual/core.js.map +0 -1
  234. package/dist/_virtual/core2.js +0 -2
  235. package/dist/_virtual/core2.js.map +0 -1
  236. package/dist/_virtual/format.js +0 -2
  237. package/dist/_virtual/format.js.map +0 -1
  238. package/dist/_virtual/json.js +0 -2
  239. package/dist/_virtual/json.js.map +0 -1
  240. package/dist/cceb1e5dc06b0b85.svg +0 -4
  241. package/dist/d140a601c85bac25.svg +0 -3
  242. package/dist/d6d0a98ec38e6b77.svg +0 -3
  243. package/dist/e04479ad425e7d58.svg +0 -4
  244. package/dist/f4452c3ebcf0d5da.svg +0 -4
  245. package/dist/f4a32992f02af522.svg +0 -5
  246. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -2
  247. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
  248. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -2
  249. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
  250. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
  251. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
  252. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
  253. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  254. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -2
  255. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
  256. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -2
  257. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
  258. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -2
  259. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
  260. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
  261. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  262. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -2
  263. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
  264. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -2
  265. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
  266. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -2
  267. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
  268. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -2
  269. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
  270. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -2
  271. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
  272. package/dist/node_modules/dom-serializer/lib/foreignNames.js +0 -2
  273. package/dist/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
  274. package/dist/node_modules/dom-serializer/lib/index.js +0 -2
  275. package/dist/node_modules/dom-serializer/lib/index.js.map +0 -1
  276. package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js +0 -2
  277. package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +0 -1
  278. package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +0 -2
  279. package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  280. package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js +0 -2
  281. package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +0 -1
  282. package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js +0 -2
  283. package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +0 -1
  284. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +0 -2
  285. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  286. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
  287. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  288. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +0 -2
  289. package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  290. package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js +0 -2
  291. package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +0 -1
  292. package/dist/node_modules/domhandler/lib/index.js +0 -2
  293. package/dist/node_modules/domhandler/lib/index.js.map +0 -1
  294. package/dist/node_modules/domhandler/lib/node.js +0 -2
  295. package/dist/node_modules/domhandler/lib/node.js.map +0 -1
  296. package/dist/node_modules/domutils/lib/feeds.js +0 -2
  297. package/dist/node_modules/domutils/lib/feeds.js.map +0 -1
  298. package/dist/node_modules/domutils/lib/helpers.js +0 -2
  299. package/dist/node_modules/domutils/lib/helpers.js.map +0 -1
  300. package/dist/node_modules/domutils/lib/index.js +0 -2
  301. package/dist/node_modules/domutils/lib/index.js.map +0 -1
  302. package/dist/node_modules/domutils/lib/legacy.js +0 -2
  303. package/dist/node_modules/domutils/lib/legacy.js.map +0 -1
  304. package/dist/node_modules/domutils/lib/manipulation.js +0 -2
  305. package/dist/node_modules/domutils/lib/manipulation.js.map +0 -1
  306. package/dist/node_modules/domutils/lib/querying.js +0 -2
  307. package/dist/node_modules/domutils/lib/querying.js.map +0 -1
  308. package/dist/node_modules/domutils/lib/stringify.js +0 -2
  309. package/dist/node_modules/domutils/lib/stringify.js.map +0 -1
  310. package/dist/node_modules/domutils/lib/traversal.js +0 -2
  311. package/dist/node_modules/domutils/lib/traversal.js.map +0 -1
  312. package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -2
  313. package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  314. package/dist/node_modules/entities/dist/commonjs/decode.js +0 -2
  315. package/dist/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  316. package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -2
  317. package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  318. package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -2
  319. package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  320. package/dist/node_modules/fast-json-stable-stringify/index.js +0 -2
  321. package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
  322. package/dist/node_modules/fault/index.js +0 -2
  323. package/dist/node_modules/fault/index.js.map +0 -1
  324. package/dist/node_modules/format/format.js +0 -2
  325. package/dist/node_modules/format/format.js.map +0 -1
  326. package/dist/node_modules/highlight.js/lib/core.js +0 -2
  327. package/dist/node_modules/highlight.js/lib/core.js.map +0 -1
  328. package/dist/node_modules/highlight.js/lib/languages/json.js +0 -2
  329. package/dist/node_modules/highlight.js/lib/languages/json.js.map +0 -1
  330. package/dist/node_modules/lowlight/lib/core.js +0 -2
  331. package/dist/node_modules/lowlight/lib/core.js.map +0 -1
  332. package/dist/node_modules/nanoid/index.js +0 -2
  333. package/dist/node_modules/nanoid/index.js.map +0 -1
  334. package/dist/node_modules/nanoid/url-alphabet/index.js +0 -2
  335. package/dist/node_modules/nanoid/url-alphabet/index.js.map +0 -1
  336. package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +0 -2
  337. package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js.map +0 -1
  338. package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +0 -2
  339. package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js.map +0 -1
  340. package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +0 -2
  341. package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js.map +0 -1
  342. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js +0 -2
  343. package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js.map +0 -1
  344. package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js +0 -2
  345. package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js.map +0 -1
  346. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js +0 -2
  347. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js.map +0 -1
  348. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js +0 -2
  349. package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js.map +0 -1
  350. package/dist/src/assets/icons/ApiIcon.svg.js +0 -2
  351. package/dist/src/assets/icons/ApiIcon.svg.js.map +0 -1
  352. package/dist/src/assets/icons/ArrowBack.svg.js +0 -2
  353. package/dist/src/assets/icons/ArrowBack.svg.js.map +0 -1
  354. package/dist/src/assets/icons/BookIcon.svg.js +0 -2
  355. package/dist/src/assets/icons/BookIcon.svg.js.map +0 -1
  356. package/dist/src/assets/icons/CopySticker.svg.js +0 -2
  357. package/dist/src/assets/icons/CopySticker.svg.js.map +0 -1
  358. package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js +0 -2
  359. package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js.map +0 -1
  360. package/dist/src/assets/icons/FilterIcon.svg.js +0 -2
  361. package/dist/src/assets/icons/FilterIcon.svg.js.map +0 -1
  362. package/dist/src/assets/icons/Plus.svg.js +0 -2
  363. package/dist/src/assets/icons/Plus.svg.js.map +0 -1
  364. package/dist/src/assets/icons/PlusSquare.svg.js +0 -2
  365. package/dist/src/assets/icons/PlusSquare.svg.js.map +0 -1
  366. package/dist/src/assets/icons/RequestOption.svg.js +0 -2
  367. package/dist/src/assets/icons/RequestOption.svg.js.map +0 -1
  368. package/dist/src/assets/icons/arrowDownGray.svg.js +0 -2
  369. package/dist/src/assets/icons/arrowDownGray.svg.js.map +0 -1
  370. package/dist/src/assets/icons/arrowRightGray.svg.js +0 -2
  371. package/dist/src/assets/icons/arrowRightGray.svg.js.map +0 -1
  372. package/dist/src/assets/icons/close-circle.svg.js +0 -2
  373. package/dist/src/assets/icons/close-circle.svg.js.map +0 -1
  374. package/dist/src/assets/icons/copy.svg.js +0 -2
  375. package/dist/src/assets/icons/copy.svg.js.map +0 -1
  376. package/dist/src/assets/icons/document.svg.js +0 -2
  377. package/dist/src/assets/icons/document.svg.js.map +0 -1
  378. package/dist/src/assets/icons/eye.svg.js +0 -2
  379. package/dist/src/assets/icons/eye.svg.js.map +0 -1
  380. package/dist/src/assets/icons/infoIcon.svg.js +0 -2
  381. package/dist/src/assets/icons/infoIcon.svg.js.map +0 -1
  382. package/dist/src/assets/icons/searchIcon.svg.js +0 -2
  383. package/dist/src/assets/icons/searchIcon.svg.js.map +0 -1
  384. package/dist/src/components/table/tags-table.js +0 -2
  385. package/dist/src/components/table/tags-table.js.map +0 -1
  386. package/dist/src/constants/methods.constant.js +0 -2
  387. package/dist/src/constants/methods.constant.js.map +0 -1
  388. package/dist/src/context/SectionToggleContext.js +0 -2
  389. package/dist/src/context/SectionToggleContext.js.map +0 -1
  390. package/dist/src/helpers/docs.helper.js +0 -2
  391. package/dist/src/helpers/docs.helper.js.map +0 -1
  392. package/dist/src/layout/docsComponents/Codebox/Codebox.js +0 -2
  393. package/dist/src/layout/docsComponents/Codebox/Codebox.js.map +0 -1
  394. package/dist/src/layout/docsComponents/Codebox/style.module.scss.js +0 -2
  395. package/dist/src/layout/docsComponents/Codebox/style.module.scss.js.map +0 -1
  396. package/dist/src/layout/docsComponents/DocsAside/DocsAside.js +0 -2
  397. package/dist/src/layout/docsComponents/DocsAside/DocsAside.js.map +0 -1
  398. package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js +0 -2
  399. package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js.map +0 -1
  400. package/dist/src/layout/docsComponents/DocsContent/DocsContent.js +0 -2
  401. package/dist/src/layout/docsComponents/DocsContent/DocsContent.js.map +0 -1
  402. package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js +0 -2
  403. package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js.map +0 -1
  404. package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js +0 -2
  405. package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js.map +0 -1
  406. package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js +0 -2
  407. package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js.map +0 -1
  408. package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js +0 -2
  409. package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js.map +0 -1
  410. package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js +0 -2
  411. package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js.map +0 -1
  412. package/dist/src/layout/docsComponents/index.js +0 -2
  413. package/dist/src/layout/docsComponents/index.js.map +0 -1
  414. package/dist/src/layout/docsLayout.js +0 -2
  415. package/dist/src/layout/docsLayout.js.map +0 -1
  416. package/dist/src/utils/index.js +0 -2
  417. package/dist/src/utils/index.js.map +0 -1
  418. package/dist/types/components/table/tags-table.d.ts +0 -11
  419. package/dist/types/constants/methods.constant.d.ts +0 -16
  420. package/dist/types/context/SectionToggleContext.d.ts +0 -37
  421. package/dist/types/helpers/docs.helper.d.ts +0 -3
  422. package/dist/types/layout/docsComponents/Codebox/Codebox.d.ts +0 -4
  423. package/dist/types/layout/docsComponents/DocsAside/DocsAside.d.ts +0 -5
  424. package/dist/types/layout/docsComponents/DocsContent/DocsContent.d.ts +0 -12
  425. package/dist/types/layout/docsComponents/DocsContent/EndpointPage/index.d.ts +0 -7
  426. package/dist/types/layout/docsComponents/DocsContent/OverviewPage/index.d.ts +0 -9
  427. package/dist/types/layout/docsComponents/DocsHeader/DocsHeader.d.ts +0 -6
  428. package/dist/types/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.d.ts +0 -18
  429. package/dist/types/layout/docsComponents/index.d.ts +0 -17
  430. package/dist/types/layout/docsLayout.d.ts +0 -31
  431. package/dist/types/types/docsLayout.type.d.ts +0 -7
  432. package/dist/types/types/index.d.ts +0 -27
  433. package/dist/types/utils/index.d.ts +0 -2
  434. package/src/assets/icons/ApiIcon.svg +0 -12
  435. package/src/assets/icons/ArrowBack.svg +0 -3
  436. package/src/assets/icons/BookIcon.svg +0 -6
  437. package/src/assets/icons/CopySticker.svg +0 -6
  438. package/src/assets/icons/DeleteOutlinedIcon.svg +0 -8
  439. package/src/assets/icons/FilterIcon.svg +0 -4
  440. package/src/assets/icons/Plus.svg +0 -5
  441. package/src/assets/icons/PlusSquare.svg +0 -3
  442. package/src/assets/icons/RequestOption.svg +0 -5
  443. package/src/assets/icons/arrowDownGray.svg +0 -3
  444. package/src/assets/icons/arrowRightGray.svg +0 -3
  445. package/src/assets/icons/close-circle.svg +0 -5
  446. package/src/assets/icons/copy.svg +0 -4
  447. package/src/assets/icons/document.svg +0 -6
  448. package/src/assets/icons/eye.svg +0 -4
  449. package/src/assets/icons/infoIcon.svg +0 -5
  450. package/src/assets/icons/searchIcon.svg +0 -4
  451. package/src/components/table/tags-table.tsx +0 -348
  452. package/src/constants/methods.constant.ts +0 -26
  453. package/src/context/SectionToggleContext.tsx +0 -121
  454. package/src/helpers/docs.helper.ts +0 -42
  455. package/src/layout/docsComponents/Codebox/Codebox.tsx +0 -61
  456. package/src/layout/docsComponents/Codebox/style.module.scss +0 -43
  457. package/src/layout/docsComponents/DocsAside/DocsAside.tsx +0 -93
  458. package/src/layout/docsComponents/DocsAside/style.module.scss +0 -113
  459. package/src/layout/docsComponents/DocsContent/DocsContent.tsx +0 -51
  460. package/src/layout/docsComponents/DocsContent/EndpointPage/index.tsx +0 -236
  461. package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +0 -309
  462. package/src/layout/docsComponents/DocsContent/OverviewPage/index.tsx +0 -192
  463. package/src/layout/docsComponents/DocsContent/OverviewPage/style.scss +0 -284
  464. package/src/layout/docsComponents/DocsContent/style.scss +0 -0
  465. package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +0 -270
  466. package/src/layout/docsComponents/DocsHeader/DocsHeader.tsx +0 -187
  467. package/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.tsx +0 -229
  468. package/src/layout/docsComponents/DocsSideMenuTree/style.scss +0 -195
  469. package/src/layout/docsComponents/index.scss +0 -49
  470. package/src/layout/docsComponents/index.tsx +0 -28
  471. package/src/layout/docsLayout.tsx +0 -120
  472. package/src/types/docsLayout.type.ts +0 -7
  473. package/src/utils/index.ts +0 -12
  474. package/the_npm_commands.sh +0 -12
  475. package/variables.txt +0 -4
@@ -1,8 +0,0 @@
1
- <svg width="67" height="67" viewBox="0 0 67 67" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M33.5 66C51.4493 66 66 51.4493 66 33.5C66 15.5507 51.4493 1 33.5 1C15.5507 1 1 15.5507 1 33.5C1 51.4493 15.5507 66 33.5 66Z" stroke="#DA3F3F" stroke-width="1.5"/>
3
- <path d="M43 27.98C39.67 27.65 36.32 27.48 32.98 27.48C31 27.48 29.02 27.58 27.04 27.78L25 27.98" stroke="#DA3F3F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M30.5 26.97L30.72 25.66C30.88 24.71 31 24 32.69 24H35.31C37 24 37.13 24.75 37.28 25.67L37.5 26.97" stroke="#DA3F3F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M40.85 31.1401L40.2 41.2101C40.09 42.7801 40 44.0001 37.21 44.0001H30.79C28 44.0001 27.91 42.7801 27.8 41.2101L27.15 31.1401" stroke="#DA3F3F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M32.33 38.5H35.66" stroke="#DA3F3F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7
- <path d="M31.5 34.5H36.5" stroke="#DA3F3F" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
8
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M9.11536 18.875C8.71536 18.875 8.3237 18.775 7.95703 18.575C7.2237 18.1667 6.78203 17.425 6.78203 16.5917V12.175C6.78203 11.7583 6.50703 11.1333 6.2487 10.8167L3.13203 7.51667C2.60703 6.99167 2.20703 6.09167 2.20703 5.41667V3.5C2.20703 2.16667 3.21536 1.125 4.4987 1.125H15.4987C16.7654 1.125 17.7904 2.15 17.7904 3.41667V5.25C17.7904 6.125 17.2654 7.11667 16.7737 7.60833L13.1654 10.8C12.8154 11.0917 12.5404 11.7333 12.5404 12.25V15.8333C12.5404 16.575 12.0737 17.4333 11.4904 17.7833L10.3404 18.525C9.96536 18.7583 9.54036 18.875 9.11536 18.875ZM4.4987 2.375C3.91536 2.375 3.45703 2.86667 3.45703 3.5V5.41667C3.45703 5.725 3.70703 6.325 4.0237 6.64167L7.1987 9.98333C7.6237 10.5083 8.04036 11.3833 8.04036 12.1667V16.5833C8.04036 17.125 8.41536 17.3917 8.5737 17.475C8.9237 17.6667 9.3487 17.6667 9.6737 17.4667L10.832 16.725C11.0654 16.5833 11.2987 16.1333 11.2987 15.8333V12.25C11.2987 11.3583 11.732 10.375 12.357 9.85L15.9237 6.69167C16.207 6.40833 16.5487 5.73333 16.5487 5.24167V3.41667C16.5487 2.84167 16.082 2.375 15.507 2.375H4.4987Z" fill="black"/>
3
- <path d="M4.99908 8.95741C4.88241 8.95741 4.77408 8.92408 4.66575 8.86575C4.37408 8.68241 4.28241 8.29075 4.46575 7.99908L8.57408 1.41575C8.75741 1.12408 9.14075 1.03241 9.43241 1.21575C9.72408 1.39908 9.81575 1.78241 9.63241 2.07408L5.52408 8.65741C5.40741 8.84908 5.20741 8.95741 4.99908 8.95741Z" fill="black"/>
4
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 1.875C4.39319 1.875 1.875 4.39317 1.875 7.5C1.875 10.6062 4.39319 13.125 7.5 13.125C10.6068 13.125 13.125 10.6062 13.125 7.5C13.125 4.39317 10.6068 1.875 7.5 1.875Z" stroke="#12131A" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M5.43819 7.5L9.56299 7.5" stroke="#12131A" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M7.50049 5.4377L7.50049 9.5625" stroke="#12131A" stroke-linecap="round" stroke-linejoin="round"/>
5
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.9058 1.33594C13.1666 1.33594 14.6665 2.94701 14.6665 5.26465V10.7402C14.6665 13.0579 13.1666 14.6689 10.9058 14.6689H5.09424C2.83342 14.6689 1.3335 13.0579 1.3335 10.7402V5.26465C1.33353 2.94919 2.8374 1.33596 5.09424 1.33594H10.9058ZM5.09424 2.2666C3.36631 2.26663 2.26419 3.44892 2.26416 5.26465V10.7402C2.26416 12.5584 3.36262 13.7392 5.09424 13.7393H10.9058C12.6374 13.7393 13.7368 12.5584 13.7368 10.7402V5.26465C13.7368 3.44649 12.6374 2.2666 10.9058 2.2666H5.09424ZM8.00049 5.25977C8.23581 5.25993 8.43064 5.43519 8.46143 5.66211L8.46533 5.72461V7.53125H10.2739C10.5308 7.53125 10.7388 7.74019 10.7388 7.99707C10.7386 8.23232 10.5642 8.42716 10.3374 8.45801L10.2739 8.46191H8.46533V10.2686C8.46527 10.5253 8.25718 10.7332 8.00049 10.7334C7.76519 10.7334 7.57057 10.5588 7.53955 10.332L7.53467 10.2686V8.46191H5.72607C5.46941 8.46181 5.26143 8.25372 5.26123 7.99707C5.26123 7.7616 5.43655 7.56693 5.66357 7.53613L5.72607 7.53125H7.53467V5.72461C7.53486 5.4679 7.74373 5.25977 8.00049 5.25977Z" fill="#4D75D8"/>
3
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="17" height="18" viewBox="0 0 17 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.6909 16.3087H6.61387C2.92412 16.3087 1.34766 14.7323 1.34766 11.0425V6.96543C1.34766 3.27569 2.92412 1.69922 6.61387 1.69922H10.6909C14.3807 1.69922 15.9572 3.27569 15.9572 6.96543V11.0425C15.9572 14.7323 14.3807 16.3087 10.6909 16.3087ZM6.61387 2.71849C3.48132 2.71849 2.36692 3.83288 2.36692 6.96543V11.0425C2.36692 14.1751 3.48132 15.2894 6.61387 15.2894H10.6909C13.8235 15.2894 14.9379 14.1751 14.9379 11.0425V6.96543C14.9379 3.83288 13.8235 2.71849 10.6909 2.71849H6.61387Z" fill="black"/>
3
- <path d="M7.01687 11.57C6.88776 11.57 6.75866 11.5225 6.65673 11.4205L4.96475 9.72854C4.56383 9.32763 4.56383 8.6821 4.96475 8.28118L6.65673 6.5892C6.85379 6.39214 7.17995 6.39214 7.37701 6.5892C7.57407 6.78626 7.57407 7.11242 7.37701 7.30948L5.68503 9.00147L7.37701 10.7002C7.57407 10.8973 7.57407 11.2235 7.37701 11.4205C7.27509 11.5157 7.14598 11.57 7.01687 11.57Z" fill="black"/>
4
- <path d="M10.2814 11.569C10.1523 11.569 10.0232 11.5214 9.92123 11.4195C9.72417 11.2225 9.72417 10.8963 9.92123 10.6992L11.6132 9.00045L9.92123 7.30167C9.72417 7.10461 9.72417 6.77845 9.92123 6.58139C10.1183 6.38433 10.4445 6.38433 10.6415 6.58139L12.3335 8.27337C12.7344 8.67428 12.7344 9.31982 12.3335 9.72073L10.6415 11.4127C10.5464 11.5146 10.4105 11.569 10.2814 11.569Z" fill="#292D32"/>
5
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M13.2787 5.96484L8.93208 10.3115C8.41875 10.8248 7.57875 10.8248 7.06542 10.3115L2.71875 5.96484" stroke="#BBBEC5" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5.94141 13.2787L10.2881 8.93208C10.8014 8.41875 10.8014 7.57875 10.2881 7.06542L5.94141 2.71875" stroke="#BBBEC5" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M9.17188 14.8319L14.8319 9.17188" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M14.8319 14.8319L9.17188 9.17188" stroke="#6B7280" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8 6.45V8.55C8 10.3 7.3 11 5.55 11H3.45C1.7 11 1 10.3 1 8.55V6.45C1 4.7 1.7 4 3.45 4H5.55C7.3 4 8 4.7 8 6.45Z" stroke="#6B7280" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M11 3.45V5.55C11 7.3 10.3 8 8.55 8H8V6.45C8 4.7 7.3 4 5.55 4H4V3.45C4 1.7 4.7 1 6.45 1H8.55C10.3 1 11 1.7 11 3.45Z" stroke="#6B7280" stroke-width="0.6" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>
@@ -1,6 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M14 4.66536V11.332C14 13.332 13 14.6654 10.6667 14.6654H5.33333C3 14.6654 2 13.332 2 11.332V4.66536C2 2.66536 3 1.33203 5.33333 1.33203H10.6667C13 1.33203 14 2.66536 14 4.66536Z" stroke="#898E99" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M9.66797 3V4.33333C9.66797 5.06667 10.268 5.66667 11.0013 5.66667H12.3346" stroke="#898E99" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M5.33203 8.66797H7.9987" stroke="#898E99" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M5.33203 11.332H10.6654" stroke="#898E99" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M10.3866 7.99995C10.3866 9.31995 9.31995 10.3866 7.99995 10.3866C6.67995 10.3866 5.61328 9.31995 5.61328 7.99995C5.61328 6.67995 6.67995 5.61328 7.99995 5.61328C9.31995 5.61328 10.3866 6.67995 10.3866 7.99995Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M7.9999 13.5138C10.3532 13.5138 12.5466 12.1271 14.0732 9.72714C14.6732 8.78714 14.6732 7.20714 14.0732 6.26714C12.5466 3.86714 10.3532 2.48047 7.9999 2.48047C5.64656 2.48047 3.45323 3.86714 1.92656 6.26714C1.32656 7.20714 1.32656 8.78714 1.92656 9.72714C3.45323 12.1271 5.64656 13.5138 7.9999 13.5138Z" stroke="#292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="67" height="67" viewBox="0 0 67 67" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M33.5 66C51.4493 66 66 51.4493 66 33.5C66 15.5507 51.4493 1 33.5 1C15.5507 1 1 15.5507 1 33.5C1 51.4493 15.5507 66 33.5 66Z" stroke="#FAAD14" stroke-width="1.5"/>
3
- <line x1="33.5" y1="30" x2="33.5" y2="42" stroke="#FAAD14" stroke-width="2" stroke-linecap="round"/>
4
- <path d="M35 25.5C35 26.3284 34.3284 27 33.5 27C32.6716 27 32 26.3284 32 25.5C32 24.6716 32.6716 24 33.5 24C34.3284 24 35 24.6716 35 25.5Z" fill="#FAAD14"/>
5
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M7.66536 14.4987C3.8987 14.4987 0.832031 11.432 0.832031 7.66536C0.832031 3.8987 3.8987 0.832031 7.66536 0.832031C11.432 0.832031 14.4987 3.8987 14.4987 7.66536C14.4987 11.432 11.432 14.4987 7.66536 14.4987ZM7.66536 1.83203C4.44536 1.83203 1.83203 4.45203 1.83203 7.66536C1.83203 10.8787 4.44536 13.4987 7.66536 13.4987C10.8854 13.4987 13.4987 10.8787 13.4987 7.66536C13.4987 4.45203 10.8854 1.83203 7.66536 1.83203Z" fill="#8390A2"/>
3
- <path d="M14.6676 15.1676C14.5409 15.1676 14.4143 15.1209 14.3143 15.0209L12.9809 13.6876C12.7876 13.4943 12.7876 13.1743 12.9809 12.9809C13.1743 12.7876 13.4943 12.7876 13.6876 12.9809L15.0209 14.3143C15.2143 14.5076 15.2143 14.8276 15.0209 15.0209C14.9209 15.1209 14.7943 15.1676 14.6676 15.1676Z" fill="#8390A2"/>
4
- </svg>
@@ -1,348 +0,0 @@
1
- import { useEffect, useState } from 'react'
2
- import './style.scss'
3
- import _styles from '../InfoForm/InfoForm.module.scss'
4
- import { Button, Input, TextArea } from 'digitinary-ui'
5
- import Tooltip from '../Tooltip/Tooltip'
6
- import SVGLoader from '../SVGLoader/SVGLoader'
7
- import { AddRow, EditIcon, DeleteIcon } from '../../assets/icons'
8
- import styles from '../MethodAccordion/MethodAccordion.module.scss'
9
- import { useFormik } from 'formik'
10
- import * as yup from 'yup'
11
- import regex from '../../constants/regex'
12
-
13
- const TagsTable = ({ id, headCells, data, isFormOpen, setIsFormOpen, saveNewRow, readOnly }) => {
14
- const [text, setText] = useState('')
15
- const [externalDesc, setExternalDesc] = useState('')
16
- const [externalUrl, setExternalUrl] = useState('')
17
- const [tooltipRef, setTooltipRef] = useState(null)
18
- const [externalTooltipRefs, setExternalTooltipRefs] = useState(null)
19
- const { values, errors, setFieldValue, isValid, submitForm, resetForm,dirty } = useFormik({
20
- validateOnMount: true,
21
- initialValues: {
22
- name: '',
23
- description: '',
24
- externalDocs: {
25
- url: '',
26
- description: '',
27
- },
28
- },
29
- validationSchema: yup.object().shape({
30
- name: yup.string().trim().required('Tag name is required'),
31
- description: yup.string().optional(),
32
- externalDocs: yup
33
- .object()
34
- .shape({
35
- url: yup
36
- .string()
37
- .trim()
38
- .matches(regex.urlRegex, 'Invalid URL')
39
- .when('description', (description, schema) => {
40
- return description?.at(0)
41
- ? schema.required('URL is required when description is provided')
42
- : schema.optional()
43
- }),
44
- description: yup.string().trim().optional(),
45
- })
46
- .optional(),
47
- }),
48
- onSubmit: (values) => {
49
- saveNewRow(values)
50
- setText('')
51
- resetForm()
52
- setIsFormOpen(false)
53
- },
54
- validateOnChange: true,
55
- })
56
-
57
- return (
58
- <div className="tableSectionContainer">
59
- <div className="tableContainer">
60
- <table id={id || ''} className={`table borderRadiusTop borderRadiusBottom`}>
61
- <thead className="tableHead">
62
- <tr>
63
- {headCells?.map((headCell) => (
64
- <th
65
- key={headCell.id}
66
- className={`tableHeadCell ${headCell.classes || ''}`}
67
- style={{ width: headCell.width, minWidth: headCell.minWidth }}
68
- >
69
- <div
70
- className="headContainer"
71
- data-id={`${
72
- typeof headCell.label === 'string'
73
- ? headCell.label.toUpperCase().replace(/[^a-zA-Z0-9]+/g, '_')
74
- : 'UNKNOWN_LABEL'
75
- }_COLUMN`}
76
- >
77
- {headCell.label}
78
- </div>
79
- </th>
80
- ))}
81
- </tr>
82
- </thead>
83
- <tbody className="tableBody" data-id="TABLE_BODY">
84
- {data?.map((row, rowIndex) => {
85
- return (
86
- <tr key={rowIndex} data-i={rowIndex} className={`row`}>
87
- {headCells?.map((headCell) => {
88
- const cellContent = row[headCell.id] !== '_' && (
89
- <div
90
- data-id="TEXT_DESCRIPTION"
91
- className="tableData"
92
- style={{
93
- width: headCell.width,
94
- minWidth: headCell.minWidth,
95
- }}
96
- >
97
- {row[headCell.id]}
98
- </div>
99
- )
100
-
101
- return (
102
- <td
103
- key={headCell.id}
104
- style={{
105
- width: headCell.width,
106
- minWidth: headCell.minWidth,
107
- }}
108
- >
109
- {cellContent}
110
- </td>
111
- )
112
- })}
113
- </tr>
114
- )
115
- })}
116
- {isFormOpen ? (
117
- <tr key={''} data-i={''} className={`row`}>
118
- <td key={'tag name'}>
119
- <div data-id="TEXT_DESCRIPTION" className="tableData">
120
- <Input
121
- placeholder="Tag name"
122
- size="large"
123
- type="text"
124
- maxLength={25}
125
- onChange={(value) => {
126
- !regex.basic.test(value) && setFieldValue('name', value)
127
- }} // Pass the value directly
128
- value={values.name} // Bind value to the state
129
- disabled={readOnly}
130
- />
131
- </div>
132
- </td>
133
-
134
- <td key={'tagDescRequired'}>
135
- <div data-id="TEXT_DESCRIPTION" className="tableData">
136
- <div className={styles.paramDescContainer}>
137
- <Tooltip
138
- arrowWithBorder
139
- placement="bottom-end"
140
- type="function"
141
- trigger="click"
142
- delay={[0, 0]}
143
- onCreate={(instance) => setTooltipRef(instance)}
144
- onShow={() => {
145
- setText(values.description || '') // Reset to current value when shown
146
- }}
147
- onHidden={() => {
148
- setText(values.description || '') // Reset on close
149
- }}
150
- content={
151
- <div className={_styles.editDescTooltipContent}>
152
- <p className={_styles.editDescTooltipContent_header}>Description</p>
153
- <TextArea
154
- value={text || values.description}
155
- disabled={readOnly}
156
- maxLength={25}
157
- placeholder="Describe Tag..."
158
- onChange={(value) => {
159
- if (value === '' || regex.ASCII.test(value)) setText(value)
160
- }}
161
- />
162
- {!readOnly && (
163
- <Button
164
- className={_styles.editDescTooltipContent_btn}
165
- variant="outlined"
166
- size="small"
167
- onClick={() => {
168
- setFieldValue('description', text?.trim())
169
- tooltipRef?.hide()
170
- }}
171
- disabled={!(text || values.description)?.trim()}
172
- >
173
- Apply
174
- </Button>
175
- )}
176
- </div>
177
- }
178
- >
179
- <Button
180
- className={_styles.editDescBtn}
181
- style={{ paddingLeft: 0 }}
182
- variant="link"
183
- color="action"
184
- endIcon={<SVGLoader src={EditIcon} width="1.5rem" height="1.5rem" />}
185
- >
186
- {readOnly ? 'View ' : 'Add '} Description
187
- </Button>
188
- </Tooltip>
189
- </div>{' '}
190
- </div>
191
- </td>
192
- <td key={'tagExternal'}>
193
- <div className="tableData">
194
- <div className={_styles.paramDescContainer}>
195
- <Tooltip
196
- arrowWithBorder
197
- placement="bottom-end"
198
- type="function"
199
- trigger="click"
200
- delay={[0, 0]}
201
- onCreate={(instance) => setExternalTooltipRefs(instance)}
202
- onShow={() => {
203
- setExternalDesc(values.externalDocs.description || '')
204
- setExternalUrl(values.externalDocs.url || '')
205
- }}
206
- onHidden={() => {
207
- setExternalDesc(values.externalDocs.description || '')
208
- setExternalUrl(values.externalDocs.url || '')
209
- }}
210
- content={
211
- <div className={_styles.editDescTooltipContent}>
212
- <p className={_styles.editDescTooltipContent_header}>
213
- External Docs Description
214
- </p>
215
- <TextArea
216
- placeholder="Describe External Doc..."
217
- value={externalDesc || values.externalDocs.description}
218
- disabled={readOnly}
219
- maxLength={25}
220
- onChange={(value) => {
221
- if (value === '' || regex.ASCII.test(value)) setExternalDesc(value)
222
- }}
223
- />
224
- <p className={_styles.editDescTooltipContent_header}>
225
- External Docs Link
226
- </p>
227
- <TextArea
228
- placeholder="External Docs Link..."
229
- restrictedCharsRegex={regex.urlRegex}
230
- value={externalUrl || values.externalDocs.url}
231
- disabled={readOnly}
232
- maxLength={200}
233
- onChange={(value) => {
234
- if (value === '' || regex.ASCII.test(value)) setExternalUrl(value)
235
- }}
236
- />
237
- {!readOnly && (
238
- <Button
239
- className={_styles.editDescTooltipContent_btn}
240
- variant="outlined"
241
- size="small"
242
- onClick={() => {
243
- setFieldValue(`externalDocs`, {
244
- description: externalDesc,
245
- url: externalUrl,
246
- })
247
-
248
- externalTooltipRefs?.hide()
249
- }}
250
- disabled={
251
- !(externalUrl || values.externalDocs.url)?.trim() ||
252
- !regex.urlRegex.test(externalUrl || values.externalDocs.url)
253
- }
254
- >
255
- Apply
256
- </Button>
257
- )}
258
- </div>
259
- }
260
- >
261
- {readOnly ? (
262
- <a
263
- className={_styles.editDescBtn}
264
- variant="link"
265
- color="action"
266
- href={values.externalDocs?.url}
267
- target="_blank"
268
- >
269
- {values?.externalDocs?.description
270
- ? values?.externalDocs?.description?.substring(0, 12)
271
- : '-'}
272
- {values?.externalDocs?.description &&
273
- values?.externalDocs?.description?.length > 12
274
- ? '...'
275
- : ''}
276
- </a>
277
- ) : (
278
- <Button
279
- className={_styles.editDescBtn}
280
- variant="link"
281
- color="action"
282
- endIcon={<SVGLoader src={EditIcon} width="1.5rem" height="1.5rem" />}
283
- >
284
- {readOnly ? 'View ' : 'Add '} External Docs Link
285
- </Button>
286
- )}
287
- </Tooltip>
288
- <div className={_styles.paramDescContainer_separator}></div>
289
- {!readOnly && (
290
- <Button
291
- className={_styles.deleteParamBtn}
292
- variant="link"
293
- color="error"
294
- endIcon={
295
- <SVGLoader src={DeleteIcon} width="1.125rem" height="1.125rem" />
296
- }
297
- onClick={() => {
298
- resetForm()
299
- setText('')
300
- setIsFormOpen(false)
301
- }} // Correctly delete the new row
302
- />
303
- )}
304
-
305
- {!readOnly && (
306
- <Button
307
- className={_styles.deleteParamBtn}
308
- variant="link"
309
- color="success"
310
- disabled={!isValid || !dirty}
311
- endIcon={<SVGLoader src={AddRow} width="0.125rem" height="0.125rem" />}
312
- onClick={() => {
313
- setText('')
314
- submitForm()
315
- }} // Save the new row when clicked
316
- />
317
- )}
318
- </div>
319
- </div>
320
- </td>
321
- </tr>
322
- ) : (
323
- <>
324
- {!readOnly && (
325
- <tr key={'addNew'} data-i={'addNew'} className={`row`}>
326
- <td colSpan={5}>
327
- <Button
328
- variant="link"
329
- color="primary"
330
- onClick={() => {
331
- setIsFormOpen((prev) => !prev)
332
- }}
333
- >
334
- + Add Tag
335
- </Button>
336
- </td>
337
- </tr>
338
- )}
339
- </>
340
- )}
341
- </tbody>
342
- </table>
343
- </div>
344
- </div>
345
- )
346
- }
347
-
348
- export default TagsTable
@@ -1,26 +0,0 @@
1
- export type MethodOption = {
2
- label: string
3
- value: string
4
- color: string
5
- }
6
-
7
- export const METHOD_OPTIONS: MethodOption[] = [
8
- { label: 'Post', value: 'POST', color: '#10b981' },
9
- { label: 'GET', value: 'GET', color: '#3b82f6' },
10
- { label: 'Delete', value: 'DELETE', color: '#ef4444' },
11
- { label: 'Put', value: 'PUT', color: '#f59e0b' },
12
- { label: 'PATCH', value: 'PATCH', color: '#C0F4E8' },
13
- { label: 'OPTIONS', value: 'OPTIONS', color: '#6b7280' },
14
- { label: 'HEAD', value: 'HEAD', color: '#8b5cf6' },
15
- { label: 'TRACE', value: 'TRACE', color: '#ec4899' },
16
- ]
17
-
18
- export const METHOD_OPTIONS_CONFIG = [
19
- {
20
- list: METHOD_OPTIONS.map((method) => ({
21
- labelConfig: { color: method.color, text: method.label },
22
- value: method.value,
23
- data: method,
24
- })),
25
- },
26
- ]
@@ -1,121 +0,0 @@
1
- import React, { createContext, useContext, useState, ReactNode, useMemo, useCallback } from 'react'
2
-
3
- export enum SectionEnum {
4
- OVERVIEW = 'overview',
5
- RESOURCE = 'resource',
6
- API_SECTION = 'apiSection',
7
- TAG_SECTION = 'tagSection',
8
- ENDPOINTS_SECTION = 'endpointsSection',
9
- }
10
-
11
- type SectionKey =
12
- | `api_${string}_${SectionEnum}`
13
- | `api_${string}_${SectionEnum}_${string | number}`
14
- | `api_${string}_${SectionEnum}_${string | number}_${string | number}`
15
- type ExpandedSections = Record<SectionKey, boolean>
16
-
17
- interface SectionToggleContextType {
18
- expandedSections: ExpandedSections
19
- toggleSection: (
20
- apiId: string,
21
- sections: ToggleSectionDescriptor[],
22
- options?: ToggleOptions
23
- ) => void
24
- generateSectionKey: ({ apiId, type, index, id }: GenerateSectionKeyParams) => SectionKey
25
- }
26
-
27
- interface SectionToggleProviderProps {
28
- children: ReactNode
29
- }
30
-
31
- export interface ToggleSectionDescriptor {
32
- type: SectionEnum
33
- index?: string | number
34
- setTo?: boolean
35
- id?: string
36
- }
37
-
38
- export interface ToggleOptions {
39
- resetOthers?: boolean
40
- filterKeys?: SectionEnum[]
41
- }
42
-
43
- interface GenerateSectionKeyParams {
44
- apiId: string
45
- type: SectionEnum
46
- index?: string | number
47
- id?: string | number
48
- }
49
-
50
- const SectionToggleContext = createContext<SectionToggleContextType | null>(null)
51
-
52
- export const useSectionToggle = () => {
53
- const context = useContext(SectionToggleContext)
54
- if (!context) {
55
- throw new Error('useSectionToggle must be used within SectionToggleProvider')
56
- }
57
- return context
58
- }
59
-
60
- export const SectionToggleProvider = ({ children }: SectionToggleProviderProps) => {
61
- const [expandedSections, setExpandedSections] = useState<ExpandedSections>({})
62
-
63
- const generateSectionKey = ({ apiId, type, index, id }: GenerateSectionKeyParams): SectionKey => {
64
- let key = `api_${apiId}_${type}`
65
-
66
- if (index !== undefined) key += `_${index}`
67
- if (id !== undefined) key += `_${id}`
68
-
69
- return key as SectionKey
70
- }
71
-
72
- const toggleSection = useCallback(
73
- (apiId: string, sections: ToggleSectionDescriptor[], options: ToggleOptions = {}) => {
74
- const { resetOthers = false, filterKeys = [] } = options
75
-
76
- const sectionIds = sections.map(({ type, index, id }) =>
77
- generateSectionKey({ apiId, type, index, id })
78
- )
79
-
80
- const sectionToggles = Object.fromEntries(
81
- sections.map(({ type, index, setTo, id }) => {
82
- const sectionId = generateSectionKey({ apiId, type, index, id })
83
- const currentValue = expandedSections[sectionId]
84
-
85
- return [sectionId, setTo !== undefined ? setTo : !currentValue]
86
- })
87
- )
88
-
89
- if (resetOthers && filterKeys.length > 0) {
90
- const filtered = Object.fromEntries(
91
- Object.entries(expandedSections).filter(([key]) => {
92
- const shouldKeep = key.includes(apiId) && !filterKeys.some((k) => key.includes(k))
93
- return shouldKeep || sectionIds.includes(key as SectionKey)
94
- })
95
- )
96
- const newState = { ...filtered, ...sectionToggles }
97
- setExpandedSections(newState)
98
- } else {
99
- setExpandedSections((prev) => {
100
- const next = { ...prev, ...sectionToggles }
101
-
102
- return next
103
- })
104
- }
105
- },
106
- [expandedSections]
107
- )
108
-
109
- const contextValue = useMemo(
110
- () => ({
111
- expandedSections,
112
- toggleSection,
113
- generateSectionKey,
114
- }),
115
- [expandedSections, toggleSection]
116
- )
117
-
118
- return (
119
- <SectionToggleContext.Provider value={contextValue}>{children}</SectionToggleContext.Provider>
120
- )
121
- }
@@ -1,42 +0,0 @@
1
- import { ApiSpecModel } from '@entities/index'
2
- import { HTTPMethod, OpenAPIFile } from '@entities/openApi'
3
- import { nanoid } from 'nanoid'
4
- import { OverviewData, TagData } from 'src/layout/docsLayout'
5
-
6
- export const transformOpenApiToDocs = (api: ApiSpecModel): OverviewData => {
7
- const parsedOpenApi: OpenAPIFile =
8
- typeof api.metaData.openApiJson === 'string'
9
- ? JSON.parse(api.metaData.openApiJson)
10
- : api.metaData.openApiJson
11
-
12
- const groupedPathsByTags: Record<string, TagData[]> = { default: [] }
13
- const validTags = new Set(parsedOpenApi?.tags?.map(({ name }) => name) || [])
14
-
15
- for (const [path, methods] of Object.entries(parsedOpenApi.paths)) {
16
- for (const [method, methodData] of Object.entries(methods)) {
17
- const entry = { ...methodData, method: method as HTTPMethod, path }
18
- const resourceTags = methodData.tags ?? []
19
-
20
- const matchedTags = resourceTags.filter((tag) => validTags.has(tag))
21
-
22
- if (matchedTags.length > 0) {
23
- matchedTags.forEach((tag) => {
24
- if (!groupedPathsByTags[tag]) groupedPathsByTags[tag] = []
25
- groupedPathsByTags[tag].push({ ...entry, id: nanoid(8) } as TagData)
26
- })
27
- } else {
28
- groupedPathsByTags.default.push({ ...entry, id: nanoid(8) } as TagData)
29
- }
30
- }
31
- }
32
-
33
- return {
34
- ...parsedOpenApi.info,
35
- apiSpecId: api.apiSpecId,
36
- contextPath: api.contextPath,
37
- associatedProduct: api.associatedProduct,
38
- apiVersions: api.apiVersions,
39
- tags: groupedPathsByTags,
40
- servers: parsedOpenApi.servers,
41
- }
42
- }