@scalar/api-reference 1.32.10 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/CHANGELOG.md +99 -0
  2. package/dist/browser/standalone.js +16194 -15784
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  5. package/dist/components/Anchor/Anchor.vue.js +50 -5
  6. package/dist/components/Anchor/Anchor.vue2.js +2 -42
  7. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +24 -0
  8. package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -0
  9. package/dist/components/Anchor/WithBreadcrumb.vue.js +4 -0
  10. package/dist/components/Anchor/WithBreadcrumb.vue2.js +46 -0
  11. package/dist/components/Anchor/index.d.ts +1 -0
  12. package/dist/components/Anchor/index.d.ts.map +1 -1
  13. package/dist/components/ApiReference.vue.js +6 -6
  14. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  15. package/dist/components/ApiReferenceLayout.vue.js +6 -6
  16. package/dist/components/ApiReferenceLayout.vue2.js +179 -193
  17. package/dist/components/ApiReferenceLayout.vue3.js +4 -0
  18. package/dist/components/ApiReferenceLayout.vue4.js +4 -0
  19. package/dist/components/ApiReferenceLayout.vue5.js +4 -0
  20. package/dist/components/ApiReferenceLayout.vue6.js +4 -0
  21. package/dist/components/Badge/Badge.vue.js +1 -1
  22. package/dist/components/Badge/Badge.vue2.js +4 -0
  23. package/dist/components/ClassicHeader.vue.js +1 -1
  24. package/dist/components/ClassicHeader.vue2.js +4 -0
  25. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +14 -1
  26. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  27. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +3 -3
  28. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +74 -84
  29. package/dist/components/Content/ClientLibraries/ClientLibraries.vue3.js +4 -0
  30. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +8 -0
  31. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  32. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  33. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +81 -80
  34. package/dist/components/Content/ClientLibraries/ClientSelector.vue3.js +4 -0
  35. package/dist/components/Content/ClientLibraries/featured-clients.d.ts +11 -0
  36. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -0
  37. package/dist/components/Content/ClientLibraries/featured-clients.js +17 -0
  38. package/dist/components/Content/Content.vue.d.ts +5 -6
  39. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Content.vue.js +49 -6
  41. package/dist/components/Content/Content.vue2.js +2 -160
  42. package/dist/components/Content/Content.vue3.js +5 -0
  43. package/dist/components/Content/Introduction/Description.vue.js +1 -1
  44. package/dist/components/Content/Introduction/Description.vue3.js +4 -0
  45. package/dist/components/Content/Introduction/Introduction.vue.d.ts +7 -17
  46. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  47. package/dist/components/Content/Introduction/Introduction.vue.js +3 -3
  48. package/dist/components/Content/Introduction/Introduction.vue2.js +104 -150
  49. package/dist/components/Content/Introduction/Introduction.vue3.js +4 -0
  50. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts +25 -0
  51. package/dist/components/Content/Introduction/IntroductionSection.vue.d.ts.map +1 -0
  52. package/dist/components/Content/Introduction/IntroductionSection.vue.js +7 -0
  53. package/dist/components/Content/Introduction/IntroductionSection.vue2.js +159 -0
  54. package/dist/components/Content/Introduction/IntroductionSection.vue3.js +4 -0
  55. package/dist/components/Content/Models/{ModelsAccordion.vue.d.ts → ClassicLayout.vue.d.ts} +2 -2
  56. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -0
  57. package/dist/components/Content/Models/ClassicLayout.vue.js +7 -0
  58. package/dist/components/Content/Models/{ModelsAccordion.vue2.js → ClassicLayout.vue2.js} +30 -30
  59. package/dist/components/Content/Models/ClassicLayout.vue3.js +4 -0
  60. package/dist/components/Content/Models/Models.vue.d.ts +3 -1
  61. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Models/Models.vue.js +38 -5
  63. package/dist/components/Content/Models/Models.vue2.js +2 -114
  64. package/dist/components/Content/Models/ModernLayout.vue.d.ts +7 -0
  65. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -0
  66. package/dist/components/Content/Models/ModernLayout.vue.js +7 -0
  67. package/dist/components/Content/Models/ModernLayout.vue2.js +100 -0
  68. package/dist/components/Content/Models/ModernLayout.vue3.js +4 -0
  69. package/dist/components/Content/Models/index.d.ts +0 -1
  70. package/dist/components/Content/Models/index.d.ts.map +1 -1
  71. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +22 -0
  72. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -0
  73. package/dist/components/Content/Operations/TraversedEntry.vue.js +97 -0
  74. package/dist/components/Content/Operations/TraversedEntry.vue2.js +4 -0
  75. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +17 -0
  76. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -0
  77. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +60 -0
  78. package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +4 -0
  79. package/dist/components/Content/Operations/get-current-index.d.ts +4 -0
  80. package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -0
  81. package/dist/components/Content/Operations/get-current-index.js +16 -0
  82. package/dist/components/Content/Operations/index.d.ts +2 -0
  83. package/dist/components/Content/Operations/index.d.ts.map +1 -0
  84. package/dist/components/Content/Schema/Schema.preview.d.ts +28 -0
  85. package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
  86. package/dist/components/Content/Schema/Schema.vue.d.ts +2 -0
  87. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  88. package/dist/components/Content/Schema/Schema.vue.js +3 -3
  89. package/dist/components/Content/Schema/Schema.vue2.js +164 -157
  90. package/dist/components/Content/Schema/Schema.vue3.js +4 -0
  91. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -0
  92. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  93. package/dist/components/Content/Schema/SchemaComposition.vue.js +58 -53
  94. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  95. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +3 -3
  96. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +4 -0
  97. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  98. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +3 -3
  99. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +63 -68
  100. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +4 -0
  101. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  102. package/dist/components/Content/Schema/SchemaHeading.vue.js +4 -4
  103. package/dist/components/Content/Schema/SchemaHeading.vue2.js +23 -22
  104. package/dist/components/Content/Schema/SchemaHeading.vue3.js +4 -0
  105. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +1 -0
  106. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  107. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +52 -40
  108. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -0
  109. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  110. package/dist/components/Content/Schema/SchemaProperty.vue.js +3 -3
  111. package/dist/components/Content/Schema/SchemaProperty.vue2.js +103 -89
  112. package/dist/components/Content/Schema/SchemaProperty.vue3.js +4 -0
  113. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  114. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +2 -2
  115. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +4 -0
  116. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +3 -3
  117. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +4 -0
  118. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  119. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
  120. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +30 -24
  121. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +4 -0
  122. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -1
  123. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  124. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +59 -52
  125. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  126. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +24 -20
  127. package/dist/components/Content/Schema/helpers/schema-name.d.ts +1 -1
  128. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  129. package/dist/components/Content/{Tag/TagAccordion.vue.d.ts → Tags/ClassicLayout.vue.d.ts} +3 -3
  130. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -0
  131. package/dist/components/Content/Tags/ClassicLayout.vue.js +7 -0
  132. package/dist/components/Content/Tags/ClassicLayout.vue2.js +51 -0
  133. package/dist/components/Content/Tags/ClassicLayout.vue3.js +4 -0
  134. package/dist/components/Content/{Tag/TagSection.vue.d.ts → Tags/ModernLayout.vue.d.ts} +17 -13
  135. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -0
  136. package/dist/components/Content/Tags/ModernLayout.vue.js +7 -0
  137. package/dist/components/Content/Tags/ModernLayout.vue2.js +69 -0
  138. package/dist/components/Content/Tags/ModernLayout.vue3.js +4 -0
  139. package/dist/components/Content/Tags/Tag.vue.d.ts +25 -0
  140. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -0
  141. package/dist/components/Content/Tags/Tag.vue.js +27 -0
  142. package/dist/components/Content/{Tag/Tag.vue.d.ts → Tags/TagSection.vue.d.ts} +3 -6
  143. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -0
  144. package/dist/components/Content/Tags/TagSection.vue.js +104 -0
  145. package/dist/components/Content/Tags/TagSection.vue2.js +4 -0
  146. package/dist/components/Content/Tags/index.d.ts +2 -0
  147. package/dist/components/Content/Tags/index.d.ts.map +1 -0
  148. package/dist/components/GettingStarted.vue.js +1 -1
  149. package/dist/components/GettingStarted.vue3.js +4 -0
  150. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  151. package/dist/components/HttpMethod/HttpMethod.vue.js +8 -6
  152. package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.d.ts +2 -10
  153. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -0
  154. package/dist/components/Lazy/Lazy.vue2.js +26 -0
  155. package/dist/components/Lazy/index.d.ts +3 -0
  156. package/dist/components/Lazy/index.d.ts.map +1 -0
  157. package/dist/components/Lazy/lazyBus.d.ts +10 -0
  158. package/dist/components/Lazy/lazyBus.d.ts.map +1 -0
  159. package/dist/components/Lazy/lazyBus.js +7 -0
  160. package/dist/components/LinkList/LinkList.vue.d.ts +3 -1
  161. package/dist/components/LinkList/LinkList.vue.d.ts.map +1 -1
  162. package/dist/components/LinkList/LinkList.vue.js +5 -10
  163. package/dist/components/LinkList/LinkList.vue2.js +32 -0
  164. package/dist/components/LinkList/LinkList.vue3.js +4 -0
  165. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  166. package/dist/components/LoadingSkeleton.vue.js +3 -3
  167. package/dist/components/LoadingSkeleton.vue3.js +4 -0
  168. package/dist/components/MobileHeader.vue.js +1 -1
  169. package/dist/components/MobileHeader.vue3.js +4 -0
  170. package/dist/components/OperationPath.vue.js +1 -1
  171. package/dist/components/OperationPath.vue3.js +4 -0
  172. package/dist/components/{Content/Tag → OperationsList}/OperationsList.vue.d.ts +2 -5
  173. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -0
  174. package/dist/components/OperationsList/OperationsList.vue.js +7 -0
  175. package/dist/components/OperationsList/OperationsList.vue2.js +60 -0
  176. package/dist/components/OperationsList/OperationsList.vue3.js +4 -0
  177. package/dist/components/{Content/Tag → OperationsList}/OperationsListItem.vue.d.ts +2 -4
  178. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -0
  179. package/dist/components/OperationsList/OperationsListItem.vue.js +7 -0
  180. package/dist/components/OperationsList/OperationsListItem.vue2.js +63 -0
  181. package/dist/components/OperationsList/OperationsListItem.vue3.js +4 -0
  182. package/dist/components/OperationsList/index.d.ts +2 -0
  183. package/dist/components/OperationsList/index.d.ts.map +1 -0
  184. package/dist/components/ScreenReader.vue.js +1 -1
  185. package/dist/components/ScreenReader.vue3.js +4 -0
  186. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  187. package/dist/components/Section/CompactSection.vue.js +3 -3
  188. package/dist/components/Section/CompactSection.vue2.js +35 -36
  189. package/dist/components/Section/CompactSection.vue3.js +4 -0
  190. package/dist/components/Section/Section.vue.js +1 -1
  191. package/dist/components/Section/Section.vue3.js +4 -0
  192. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  193. package/dist/components/Section/SectionAccordion.vue.js +3 -3
  194. package/dist/components/Section/SectionAccordion.vue2.js +42 -36
  195. package/dist/components/Section/SectionAccordion.vue3.js +4 -0
  196. package/dist/components/Section/SectionColumn.vue.js +1 -1
  197. package/dist/components/Section/SectionColumn.vue2.js +4 -0
  198. package/dist/components/Section/SectionColumns.vue.js +1 -1
  199. package/dist/components/Section/SectionColumns.vue2.js +4 -0
  200. package/dist/components/Section/SectionContainer.vue.d.ts +9 -2
  201. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  202. package/dist/components/Section/SectionContainer.vue.js +5 -11
  203. package/dist/components/Section/SectionContainer.vue2.js +18 -0
  204. package/dist/components/Section/SectionContainer.vue3.js +4 -0
  205. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  206. package/dist/components/Section/SectionContainerAccordion.vue.js +3 -3
  207. package/dist/components/Section/SectionContainerAccordion.vue3.js +4 -0
  208. package/dist/components/Section/SectionContent.vue.js +1 -1
  209. package/dist/components/Section/SectionContent.vue3.js +4 -0
  210. package/dist/components/Section/SectionHeader.vue.js +1 -1
  211. package/dist/components/Section/SectionHeader.vue3.js +4 -0
  212. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  213. package/dist/components/Section/SectionHeaderTag.vue3.js +4 -0
  214. package/dist/components/SectionFlare/SectionFlare.vue.d.ts +3 -0
  215. package/dist/components/SectionFlare/SectionFlare.vue.d.ts.map +1 -0
  216. package/dist/components/SectionFlare/SectionFlare.vue.js +13 -0
  217. package/dist/components/SectionFlare/SectionFlare.vue2.js +4 -0
  218. package/dist/components/SectionFlare/index.d.ts +2 -0
  219. package/dist/components/SectionFlare/index.d.ts.map +1 -0
  220. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  221. package/dist/components/ShowMoreButton.vue.js +3 -3
  222. package/dist/components/ShowMoreButton.vue2.js +12 -12
  223. package/dist/components/ShowMoreButton.vue3.js +4 -0
  224. package/dist/features/Operation/Operation.vue.d.ts +5 -1
  225. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  226. package/dist/features/Operation/Operation.vue.js +55 -38
  227. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +4 -4
  228. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
  229. package/dist/features/Operation/components/ContentTypeSelect.vue.js +28 -30
  230. package/dist/features/Operation/components/OperationParameters.vue.d.ts +1 -0
  231. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  232. package/dist/features/Operation/components/OperationParameters.vue.js +49 -43
  233. package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -0
  234. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  235. package/dist/features/Operation/components/OperationResponses.vue.js +4 -3
  236. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts +1 -0
  237. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  238. package/dist/features/Operation/components/ParameterHeaders.vue.js +3 -3
  239. package/dist/features/Operation/components/ParameterHeaders.vue2.js +28 -26
  240. package/dist/features/Operation/components/ParameterHeaders.vue3.js +4 -0
  241. package/dist/features/Operation/components/ParameterList.vue.d.ts +1 -0
  242. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  243. package/dist/features/Operation/components/ParameterList.vue.js +3 -3
  244. package/dist/features/Operation/components/ParameterList.vue2.js +17 -15
  245. package/dist/features/Operation/components/ParameterList.vue3.js +4 -0
  246. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +1 -0
  247. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  248. package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
  249. package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -33
  250. package/dist/features/Operation/components/ParameterListItem.vue3.js +4 -0
  251. package/dist/features/Operation/components/RequestBody.vue.d.ts +2 -2
  252. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  253. package/dist/features/Operation/components/RequestBody.vue.js +3 -3
  254. package/dist/features/Operation/components/RequestBody.vue2.js +47 -39
  255. package/dist/features/Operation/components/RequestBody.vue3.js +4 -0
  256. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +1 -0
  257. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  258. package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
  259. package/dist/features/Operation/components/callbacks/Callback.vue2.js +10 -9
  260. package/dist/features/Operation/components/callbacks/Callback.vue3.js +4 -0
  261. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  262. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +20 -28
  263. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +6 -0
  264. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  265. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  266. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +77 -62
  267. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +4 -0
  268. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +6 -0
  269. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  270. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  271. package/dist/features/Operation/layouts/ModernLayout.vue2.js +72 -57
  272. package/dist/features/Operation/layouts/ModernLayout.vue3.js +4 -0
  273. package/dist/features/Search/{SearchButton.vue.d.ts → components/SearchButton.vue.d.ts} +0 -2
  274. package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -0
  275. package/dist/features/Search/components/SearchButton.vue.js +65 -0
  276. package/dist/features/Search/{SearchModal.vue.d.ts → components/SearchModal.vue.d.ts} +0 -2
  277. package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -0
  278. package/dist/features/Search/components/SearchModal.vue.js +7 -0
  279. package/dist/features/Search/components/SearchModal.vue2.js +199 -0
  280. package/dist/features/Search/components/SearchModal.vue3.js +4 -0
  281. package/dist/features/Search/helpers/create-fuse-instance.d.ts +9 -0
  282. package/dist/features/Search/helpers/create-fuse-instance.d.ts.map +1 -0
  283. package/dist/features/Search/helpers/create-fuse-instance.js +46 -0
  284. package/dist/features/Search/helpers/create-search-index.d.ts +7 -0
  285. package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -0
  286. package/dist/features/Search/helpers/create-search-index.js +109 -0
  287. package/dist/features/Search/hooks/useSearchIndex.d.ts +14 -0
  288. package/dist/features/Search/hooks/useSearchIndex.d.ts.map +1 -0
  289. package/dist/features/Search/hooks/useSearchIndex.js +46 -0
  290. package/dist/features/Search/index.d.ts +2 -2
  291. package/dist/features/Search/index.d.ts.map +1 -1
  292. package/dist/features/Search/types.d.ts +15 -0
  293. package/dist/features/Search/types.d.ts.map +1 -0
  294. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  295. package/dist/features/api-client-modal/useApiClient.d.ts +414 -354
  296. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  297. package/dist/features/download-link/DownloadLink.vue.js +2 -2
  298. package/dist/features/download-link/DownloadLink.vue3.js +4 -0
  299. package/dist/features/example-responses/ExampleResponse.vue.d.ts +4 -2
  300. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  301. package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
  302. package/dist/features/example-responses/ExampleResponse.vue2.js +15 -14
  303. package/dist/features/example-responses/ExampleResponse.vue3.js +4 -0
  304. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  305. package/dist/features/example-responses/ExampleResponseTab.vue3.js +4 -0
  306. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  307. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +4 -0
  308. package/dist/features/example-responses/ExampleResponses.vue.d.ts +3 -2
  309. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  310. package/dist/features/example-responses/ExampleResponses.vue.js +4 -4
  311. package/dist/features/example-responses/ExampleResponses.vue2.js +107 -104
  312. package/dist/features/example-responses/ExampleResponses.vue3.js +4 -0
  313. package/dist/features/info-object/License.vue.d.ts.map +1 -1
  314. package/dist/features/info-object/License.vue.js +18 -15
  315. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  316. package/dist/features/sidebar/components/Sidebar.vue3.js +4 -0
  317. package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
  318. package/dist/features/sidebar/components/SidebarElement.vue3.js +4 -0
  319. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  320. package/dist/features/sidebar/components/SidebarGroup.vue3.js +4 -0
  321. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  322. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +4 -0
  323. package/dist/features/sidebar/helpers/create-sidebar.js +12 -12
  324. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  325. package/dist/features/test-request-button/TestRequestButton.vue3.js +4 -0
  326. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +3 -1
  327. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
  328. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
  329. package/dist/features/traverse-schema/helpers/traverse-schemas.js +18 -18
  330. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
  331. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
  332. package/dist/features/traverse-schema/index.d.ts +2 -1
  333. package/dist/features/traverse-schema/index.d.ts.map +1 -1
  334. package/dist/features/traverse-schema/types.d.ts +10 -6
  335. package/dist/features/traverse-schema/types.d.ts.map +1 -1
  336. package/dist/helpers/test-utils.d.ts +60 -0
  337. package/dist/helpers/test-utils.d.ts.map +1 -0
  338. package/dist/hooks/useNavState.d.ts +4 -1
  339. package/dist/hooks/useNavState.d.ts.map +1 -1
  340. package/dist/index.d.ts +1 -1
  341. package/dist/index.d.ts.map +1 -1
  342. package/dist/index.js +24 -23
  343. package/dist/libs/openapi.d.ts +11 -8
  344. package/dist/libs/openapi.d.ts.map +1 -1
  345. package/dist/libs/openapi.js +34 -55
  346. package/dist/style.css +1 -1
  347. package/dist/types.d.ts +6 -6
  348. package/dist/types.d.ts.map +1 -1
  349. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +1 -1
  350. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  351. package/dist/v2/ApiReferenceWorkspace.vue.js +128 -129
  352. package/dist/v2/ApiReferenceWorkspace.vue2.js +4 -0
  353. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  354. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +2 -2
  355. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -1
  356. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +32 -29
  357. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +4 -13
  358. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  359. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +3 -3
  360. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +185 -181
  361. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +4 -0
  362. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +1 -0
  363. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  364. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +1 -0
  365. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +12 -13
  366. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +1 -1
  367. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +28 -30
  368. package/dist/v2/blocks/scalar-request-example-block/types.d.ts +11 -3
  369. package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +1 -1
  370. package/dist/v2/helpers/get-document-name.d.ts +13 -0
  371. package/dist/v2/helpers/get-document-name.d.ts.map +1 -0
  372. package/dist/v2/helpers/get-document-name.js +15 -0
  373. package/dist/v2/helpers/normalize-content.d.ts +3 -0
  374. package/dist/v2/helpers/normalize-content.d.ts.map +1 -0
  375. package/dist/v2/helpers/normalize-content.js +8 -0
  376. package/package.json +25 -19
  377. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts +0 -16
  378. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.d.ts.map +0 -1
  379. package/dist/components/Content/ClientLibraries/useFeaturedHttpClients.js +0 -36
  380. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +0 -1
  381. package/dist/components/Content/Lazy/Lazy.vue2.js +0 -22
  382. package/dist/components/Content/Lazy/Loading.vue.d.ts +0 -18
  383. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +0 -1
  384. package/dist/components/Content/Lazy/Loading.vue.js +0 -163
  385. package/dist/components/Content/Lazy/Loading.vue3.js +0 -5
  386. package/dist/components/Content/Lazy/index.d.ts +0 -3
  387. package/dist/components/Content/Lazy/index.d.ts.map +0 -1
  388. package/dist/components/Content/Lazy/lazyBus.d.ts +0 -4
  389. package/dist/components/Content/Lazy/lazyBus.d.ts.map +0 -1
  390. package/dist/components/Content/Lazy/lazyBus.js +0 -5
  391. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +0 -1
  392. package/dist/components/Content/Models/ModelsAccordion.vue.js +0 -7
  393. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +0 -1
  394. package/dist/components/Content/Tag/OperationsList.vue.js +0 -7
  395. package/dist/components/Content/Tag/OperationsList.vue2.js +0 -58
  396. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +0 -1
  397. package/dist/components/Content/Tag/OperationsListItem.vue.js +0 -7
  398. package/dist/components/Content/Tag/OperationsListItem.vue2.js +0 -67
  399. package/dist/components/Content/Tag/Tag.vue.d.ts.map +0 -1
  400. package/dist/components/Content/Tag/Tag.vue.js +0 -99
  401. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +0 -1
  402. package/dist/components/Content/Tag/TagAccordion.vue.js +0 -7
  403. package/dist/components/Content/Tag/TagAccordion.vue2.js +0 -50
  404. package/dist/components/Content/Tag/TagList.vue.d.ts +0 -22
  405. package/dist/components/Content/Tag/TagList.vue.d.ts.map +0 -1
  406. package/dist/components/Content/Tag/TagList.vue.js +0 -73
  407. package/dist/components/Content/Tag/TagList.vue2.js +0 -4
  408. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +0 -1
  409. package/dist/components/Content/Tag/TagSection.vue.js +0 -7
  410. package/dist/components/Content/Tag/TagSection.vue2.js +0 -67
  411. package/dist/components/Content/Tag/index.d.ts +0 -3
  412. package/dist/components/Content/Tag/index.d.ts.map +0 -1
  413. package/dist/features/Search/SearchButton.vue.d.ts.map +0 -1
  414. package/dist/features/Search/SearchButton.vue.js +0 -66
  415. package/dist/features/Search/SearchModal.vue.d.ts.map +0 -1
  416. package/dist/features/Search/SearchModal.vue.js +0 -7
  417. package/dist/features/Search/SearchModal.vue2.js +0 -207
  418. package/dist/features/Search/useSearchIndex.d.ts +0 -32
  419. package/dist/features/Search/useSearchIndex.d.ts.map +0 -1
  420. package/dist/features/Search/useSearchIndex.js +0 -170
  421. package/dist/helpers/parse.d.ts +0 -10
  422. package/dist/helpers/parse.d.ts.map +0 -1
  423. package/dist/helpers/parse.js +0 -81
  424. package/dist/stores/useHttpClientStore.d.ts +0 -43
  425. package/dist/stores/useHttpClientStore.d.ts.map +0 -1
  426. package/dist/stores/useHttpClientStore.js +0 -70
  427. package/dist/v2/hooks/useStore.d.ts +0 -9
  428. package/dist/v2/hooks/useStore.d.ts.map +0 -1
  429. package/dist/v2/hooks/useStore.js +0 -14
  430. /package/dist/components/Content/{Tag → Tags}/Tag.vue2.js +0 -0
  431. /package/dist/components/{Content/Lazy → Lazy}/Lazy.vue.js +0 -0
  432. /package/dist/features/Search/{SearchButton.vue2.js → components/SearchButton.vue2.js} +0 -0
@@ -1,32 +1,34 @@
1
- import { defineComponent as $, computed as p, inject as z, createBlock as c, openBlock as r, resolveDynamicComponent as Z, normalizeClass as L, withCtx as v, createCommentVNode as l, createElementBlock as t, createVNode as d, createSlots as X, toDisplayString as y, Fragment as f, createTextVNode as V, unref as h, renderList as G } from "vue";
1
+ import { defineComponent as z, computed as m, inject as Z, createBlock as u, openBlock as a, resolveDynamicComponent as L, normalizeClass as X, withCtx as b, createCommentVNode as l, createElementBlock as o, createVNode as d, createSlots as G, unref as y, toDisplayString as f, Fragment as h, createTextVNode as V, renderList as J } from "vue";
2
2
  import { ScalarMarkdown as D } from "@scalar/components";
3
- import { optimizeValueForDisplay as J, compositions as K } from "./helpers/optimize-value-for-display.js";
4
- import Q from "./SchemaEnumValues.vue.js";
5
- import { DISCRIMINATOR_CONTEXT as W } from "../../../hooks/useDiscriminator.js";
6
- import C from "./Schema.vue.js";
7
- import H from "./SchemaComposition.vue.js";
8
- import Y from "./SchemaDiscriminator.vue.js";
9
- import _ from "./SchemaPropertyHeading.vue.js";
10
- import x from "../../../features/specification-extension/SpecificationExtension.vue.js";
11
- const ee = {
3
+ import { isTypeObject as K } from "./helpers/is-type-object.js";
4
+ import { DISCRIMINATOR_CONTEXT as Q } from "../../../hooks/useDiscriminator.js";
5
+ import { optimizeValueForDisplay as W, compositions as Y } from "./helpers/optimize-value-for-display.js";
6
+ import H from "./Schema.vue.js";
7
+ import C from "./SchemaComposition.vue.js";
8
+ import _ from "./SchemaDiscriminator.vue.js";
9
+ import x from "./SchemaEnumValues.vue.js";
10
+ import ee from "./SchemaPropertyHeading.vue.js";
11
+ import re from "../../Anchor/WithBreadcrumb.vue2.js";
12
+ import ie from "../../../features/specification-extension/SpecificationExtension.vue.js";
13
+ const ae = {
12
14
  key: 0,
13
15
  class: "property-name-pattern-properties"
14
- }, ie = {
16
+ }, ne = {
15
17
  key: 1,
16
18
  class: "property-name-additional-properties"
17
- }, ne = {
19
+ }, oe = {
18
20
  key: 1,
19
21
  class: "property-description"
20
- }, re = {
22
+ }, te = {
21
23
  key: 2,
22
24
  class: "property-description"
23
- }, ae = {
25
+ }, se = {
24
26
  key: 3,
25
27
  class: "children"
26
- }, te = {
28
+ }, me = {
27
29
  key: 0,
28
30
  class: "children"
29
- }, he = /* @__PURE__ */ $({
31
+ }, Ne = /* @__PURE__ */ z({
30
32
  __name: "SchemaProperty",
31
33
  props: {
32
34
  is: {},
@@ -44,11 +46,12 @@ const ee = {
44
46
  discriminatorMapping: {},
45
47
  discriminatorPropertyName: {},
46
48
  isDiscriminator: { type: Boolean },
47
- variant: {}
49
+ variant: {},
50
+ breadcrumb: {}
48
51
  },
49
52
  emits: ["update:modelValue"],
50
- setup(R, { emit: T }) {
51
- const u = R, w = T, k = {
53
+ setup(T, { emit: R }) {
54
+ const c = T, w = R, k = {
52
55
  integer: {
53
56
  _default: "Integer numbers.",
54
57
  int32: "Signed 32-bit integers (commonly used integer type).",
@@ -62,117 +65,127 @@ const ee = {
62
65
  byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
63
66
  binary: "binary data, used to describe files"
64
67
  }
65
- }, g = (e, i) => i != null && i.properties || i != null && i.additionalProperties || i != null && i.patternProperties || i != null && i.allOf ? null : e || (i == null ? void 0 : i.description) || null, N = (e) => !e || !k[e.type] ? null : k[e.type][e.format || e.contentEncoding || "_default"], E = (e) => {
66
- var i;
67
- return (e == null ? void 0 : e.enum) || ((i = e == null ? void 0 : e.items) == null ? void 0 : i.enum) || [];
68
- }, n = p(() => J(u.value)), o = z(W, null), a = p(() => {
68
+ }, g = (e, r) => r != null && r.properties || r != null && r.additionalProperties || r != null && r.patternProperties || r != null && r.allOf ? null : e || (r == null ? void 0 : r.description) || null, N = (e) => !e || !k[e.type] ? null : k[e.type][e.format || e.contentEncoding || "_default"], E = (e) => {
69
+ var r;
70
+ return (e == null ? void 0 : e.enum) || ((r = e == null ? void 0 : e.items) == null ? void 0 : r.enum) || [];
71
+ }, i = m(() => W(c.value)), t = Z(Q, null), n = m(() => {
69
72
  var e;
70
- return u.level > 0 ? n.value : (e = o == null ? void 0 : o.value) != null && e.mergedSchema ? o.value.mergedSchema : n.value;
71
- }), I = p(() => {
73
+ return c.level > 0 ? i.value : (e = t == null ? void 0 : t.value) != null && e.mergedSchema ? t.value.mergedSchema : i.value;
74
+ }), I = m(() => {
72
75
  var e;
73
- return ((e = o == null ? void 0 : o.value) == null ? void 0 : e.selectedType) || (u.discriminatorMapping ? Object.keys(u.discriminatorMapping)[0] : "");
74
- }), A = (e, i, m) => i || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) !== void 0 || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || m, b = (e) => {
76
+ return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.selectedType) || (c.discriminatorMapping ? Object.keys(c.discriminatorMapping)[0] : "");
77
+ }), U = (e, r, p) => r || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) !== void 0 || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || p, v = (e) => {
75
78
  w("update:modelValue", e);
76
- }, P = p(() => {
77
- const e = n.value;
79
+ }, P = m(() => {
80
+ const e = i.value;
78
81
  if (!(e != null && e.items) || typeof e.items != "object")
79
82
  return !1;
80
- const i = e.items;
81
- return "type" in i && ["object"].includes(i.type) || "$ref" in i || "discriminator" in i || "allOf" in i || "oneOf" in i || "anyOf" in i;
82
- }), U = (e) => {
83
- const i = n.value;
84
- return !(i != null && i.items) || typeof i.items != "object" || !(e in i.items) ? !1 : !P.value;
85
- }, q = p(() => P.value), F = p(() => {
86
- if (!n.value)
83
+ const r = e.items;
84
+ return "type" in r && ["object"].includes(r.type) || "$ref" in r || "discriminator" in r || "allOf" in r || "oneOf" in r || "anyOf" in r;
85
+ }), $ = (e) => {
86
+ const r = i.value;
87
+ return !(r != null && r.items) || typeof r.items != "object" || !(e in r.items) ? !1 : !P.value;
88
+ }, q = m(() => P.value), F = m(() => {
89
+ if (!i.value)
87
90
  return !1;
88
- const e = n.value, i = e.type === "object" || Array.isArray(e.type) && e.type.includes("object"), m = e.properties || e.additionalProperties;
89
- return i && m;
90
- });
91
- return (e, i) => {
92
- var m;
93
- return r(), c(Z(e.is ?? "li"), {
94
- class: L(["property", [
95
- (g(e.description, n.value), ""),
91
+ const e = i.value, r = K(e), p = e.properties || e.additionalProperties;
92
+ return r && p;
93
+ }), A = m(() => c.level <= 1);
94
+ return (e, r) => {
95
+ var p;
96
+ return a(), u(L(e.is ?? "li"), {
97
+ class: X(["property", [
98
+ (g(e.description, i.value), ""),
96
99
  `property--level-${e.level}`,
97
100
  {
98
101
  "property--compact": e.compact,
99
- "property--deprecated": (m = n.value) == null ? void 0 : m.deprecated
102
+ "property--deprecated": (p = i.value) == null ? void 0 : p.deprecated
100
103
  }
101
104
  ]])
102
105
  }, {
103
- default: v(() => {
106
+ default: b(() => {
104
107
  var M, S;
105
108
  return [
106
- A(n.value, e.name, e.required) ? (r(), c(_, {
109
+ U(i.value, e.name, e.required) ? (a(), u(ee, {
107
110
  key: 0,
108
- enum: E(n.value).length > 0,
111
+ enum: E(i.value).length > 0,
109
112
  required: e.required,
110
- value: n.value,
113
+ value: i.value,
111
114
  schemas: e.schemas,
112
- hideModelNames: e.hideModelNames
113
- }, X({ _: 2 }, [
115
+ hideModelNames: e.hideModelNames,
116
+ class: "group"
117
+ }, G({ _: 2 }, [
114
118
  e.name ? {
115
119
  name: "name",
116
- fn: v(() => [
117
- e.variant === "patternProperties" ? (r(), t("span", ee, y(e.name), 1)) : e.variant === "additionalProperties" ? (r(), t("span", ie, y(e.name), 1)) : (r(), t(f, { key: 2 }, [
118
- V(y(e.name), 1)
119
- ], 64))
120
+ fn: b(() => [
121
+ d(y(re), {
122
+ breadcrumb: A.value && e.breadcrumb ? [...e.breadcrumb, e.name] : void 0
123
+ }, {
124
+ default: b(() => [
125
+ e.variant === "patternProperties" ? (a(), o("span", ae, f(e.name), 1)) : e.variant === "additionalProperties" ? (a(), o("span", ne, f(e.name), 1)) : (a(), o(h, { key: 2 }, [
126
+ V(f(e.name), 1)
127
+ ], 64))
128
+ ]),
129
+ _: 1
130
+ }, 8, ["breadcrumb"])
120
131
  ]),
121
132
  key: "0"
122
133
  } : void 0,
123
- (M = n.value) != null && M.example ? {
134
+ (M = i.value) != null && M.example ? {
124
135
  name: "example",
125
- fn: v(() => [
126
- V(" Example: " + y(n.value.example), 1)
136
+ fn: b(() => [
137
+ V(" Example: " + f(i.value.example), 1)
127
138
  ]),
128
139
  key: "1"
129
140
  } : void 0
130
141
  ]), 1032, ["enum", "required", "value", "schemas", "hideModelNames"])) : l("", !0),
131
- g(e.description, n.value) ? (r(), t("div", ne, [
132
- d(h(D), {
133
- value: g(e.description, n.value)
142
+ g(e.description, i.value) ? (a(), o("div", oe, [
143
+ d(y(D), {
144
+ value: g(e.description, i.value)
134
145
  }, null, 8, ["value"])
135
- ])) : N(n.value) ? (r(), t("div", re, [
136
- d(h(D), {
137
- value: N(n.value) || ""
146
+ ])) : N(i.value) ? (a(), o("div", te, [
147
+ d(y(D), {
148
+ value: N(i.value) || ""
138
149
  }, null, 8, ["value"])
139
150
  ])) : l("", !0),
140
- d(Q, { value: n.value }, null, 8, ["value"]),
141
- F.value ? (r(), t("div", ae, [
142
- d(C, {
151
+ d(x, { value: i.value }, null, 8, ["value"]),
152
+ F.value ? (a(), o("div", se, [
153
+ d(H, {
143
154
  compact: e.compact,
155
+ breadcrumb: e.breadcrumb && e.name ? [...e.breadcrumb, e.name] : void 0,
144
156
  level: e.level + 1,
145
157
  name: e.name,
146
158
  noncollapsible: e.noncollapsible,
147
- value: a.value,
148
- resolvedSchema: a.value,
159
+ value: n.value,
160
+ resolvedSchema: n.value,
149
161
  discriminatorMapping: e.discriminatorMapping,
150
162
  discriminatorPropertyName: e.discriminatorPropertyName,
151
163
  schemas: e.schemas,
152
- "onUpdate:modelValue": b
153
- }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
164
+ "onUpdate:modelValue": v
165
+ }, null, 8, ["compact", "breadcrumb", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
154
166
  ])) : l("", !0),
155
- (S = n.value) != null && S.items && typeof n.value.items == "object" ? (r(), t(f, { key: 4 }, [
156
- q.value ? (r(), t("div", te, [
157
- d(C, {
167
+ (S = i.value) != null && S.items && typeof i.value.items == "object" ? (a(), o(h, { key: 4 }, [
168
+ q.value ? (a(), o("div", me, [
169
+ d(H, {
158
170
  compact: e.compact,
159
171
  level: e.level + 1,
160
172
  name: e.name,
161
173
  noncollapsible: e.noncollapsible,
162
- value: a.value && typeof a.value == "object" && "items" in a.value ? a.value.items : n.value.items,
163
- resolvedSchema: a.value && typeof a.value == "object" && "items" in a.value ? a.value.items : n.value.items,
174
+ value: n.value && typeof n.value == "object" && "items" in n.value ? n.value.items : i.value.items,
175
+ resolvedSchema: n.value && typeof n.value == "object" && "items" in n.value ? n.value.items : i.value.items,
164
176
  discriminatorMapping: e.discriminatorMapping,
165
177
  discriminatorPropertyName: e.discriminatorPropertyName,
166
178
  schemas: e.schemas,
167
- "onUpdate:modelValue": b
179
+ "onUpdate:modelValue": v
168
180
  }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
169
181
  ])) : l("", !0)
170
182
  ], 64)) : l("", !0),
171
- (r(!0), t(f, null, G(h(K), (s) => {
172
- var j, O, B;
173
- return r(), t(f, { key: s }, [
174
- (j = n.value) != null && j[s] && !((O = n.value) != null && O.items && typeof s == "string" && typeof n.value.items == "object" && s in n.value.items) ? (r(), c(H, {
183
+ (a(!0), o(h, null, J(y(Y), (s) => {
184
+ var O, j, B;
185
+ return a(), o(h, { key: s }, [
186
+ (O = i.value) != null && O[s] && !((j = i.value) != null && j.items && typeof s == "string" && typeof i.value.items == "object" && s in i.value.items) ? (a(), u(C, {
175
187
  key: 0,
188
+ breadcrumb: e.breadcrumb,
176
189
  compact: e.compact,
177
190
  composition: s,
178
191
  hideHeading: e.hideHeading,
@@ -180,9 +193,10 @@ const ee = {
180
193
  name: e.name,
181
194
  noncollapsible: e.noncollapsible,
182
195
  schemas: e.schemas,
183
- value: n.value
184
- }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : U(s) ? (r(), c(H, {
196
+ value: i.value
197
+ }, null, 8, ["breadcrumb", "compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : $(s) ? (a(), u(C, {
185
198
  key: 1,
199
+ breadcrumb: e.breadcrumb,
186
200
  compact: e.compact,
187
201
  composition: s,
188
202
  hideHeading: e.hideHeading,
@@ -190,17 +204,17 @@ const ee = {
190
204
  name: e.name,
191
205
  noncollapsible: e.noncollapsible,
192
206
  schemas: e.schemas,
193
- value: (B = n.value) == null ? void 0 : B.items
194
- }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : l("", !0)
207
+ value: (B = i.value) == null ? void 0 : B.items
208
+ }, null, 8, ["breadcrumb", "compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : l("", !0)
195
209
  ], 64);
196
210
  }), 128)),
197
- e.isDiscriminator && e.discriminatorMapping && e.compact ? (r(), c(Y, {
211
+ e.isDiscriminator && e.discriminatorMapping && e.compact ? (a(), u(_, {
198
212
  key: 5,
199
213
  "discriminator-mapping": e.discriminatorMapping,
200
214
  discriminator: I.value,
201
- "onUpdate:modelValue": b
215
+ "onUpdate:modelValue": v
202
216
  }, null, 8, ["discriminator-mapping", "discriminator"])) : l("", !0),
203
- d(h(x), { value: n.value }, null, 8, ["value"])
217
+ d(y(ie), { value: i.value }, null, 8, ["value"])
204
218
  ];
205
219
  }),
206
220
  _: 1
@@ -209,5 +223,5 @@ const ee = {
209
223
  }
210
224
  });
211
225
  export {
212
- he as default
226
+ Ne as default
213
227
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAgET,OAAO,IAA6B;;wBAVtB,GAAG;yBACF,GAAG;yBACH,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,8SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyDetail.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyDetail.vue"],"names":[],"mappings":"AAgEA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAQF,iBAAS,cAAc;WAgET,OAAO,IAA6B;;wBAVtB,GAAG;yBACF,GAAG;yBACH,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,8SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyDetail.vue2.js";
2
- /* empty css */
2
+ import "./SchemaPropertyDetail.vue3.js";
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3ae98a1b"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-827ea49d"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyExamples.vue2.js";
2
- /* empty css */
2
+ import "./SchemaPropertyExamples.vue3.js";
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1c1ebd80"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3f177f42"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA2SA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAWjE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAuEF,iBAAS,cAAc;WA2UT,OAAO,IAA6B;;sBARxB,GAAG;;;;EAa5B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA8SA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAWjE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAuEF,iBAAS,cAAc;WA2UT,OAAO,IAA6B;;sBARxB,GAAG;;;;EAa5B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyHeading.vue2.js";
2
- /* empty css */
2
+ import "./SchemaPropertyHeading.vue3.js";
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-10b9288a"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fe194f0c"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -4,29 +4,29 @@ import S from "../../ScreenReader.vue.js";
4
4
  import { getDiscriminatorSchemaName as b } from "../../../hooks/useDiscriminator.js";
5
5
  import { getSchemaType as F } from "./helpers/get-schema-type.js";
6
6
  import { getModelName as J } from "./helpers/schema-name.js";
7
- import z from "./RenderString.vue.js";
7
+ import h from "./RenderString.vue.js";
8
8
  import n from "./SchemaPropertyDetail.vue.js";
9
- import H from "./SchemaPropertyExamples.vue.js";
10
- import R from "../../Badge/Badge.vue.js";
11
- const j = { class: "property-heading" }, G = {
9
+ import z from "./SchemaPropertyExamples.vue.js";
10
+ import H from "../../Badge/Badge.vue.js";
11
+ const R = { class: "property-heading" }, j = {
12
12
  key: 1,
13
13
  class: "property-discriminator"
14
- }, K = {
14
+ }, G = {
15
15
  key: 3,
16
16
  class: "property-additional"
17
- }, Q = {
17
+ }, K = {
18
18
  key: 4,
19
19
  class: "property-deprecated"
20
- }, U = {
20
+ }, Q = {
21
21
  key: 5,
22
22
  class: "property-const"
23
- }, W = {
23
+ }, U = {
24
24
  key: 7,
25
25
  class: "property-write-only"
26
- }, X = {
26
+ }, W = {
27
27
  key: 8,
28
28
  class: "property-read-only"
29
- }, Y = {
29
+ }, X = {
30
30
  key: 9,
31
31
  class: "property-required"
32
32
  }, ae = /* @__PURE__ */ L({
@@ -61,16 +61,19 @@ const j = { class: "property-heading" }, G = {
61
61
  ) : null);
62
62
  return (e, t) => {
63
63
  var v, k, g, N, M, q, w, O, P, I, V, A;
64
- return r(), m("div", j, [
64
+ return r(), m("div", R, [
65
65
  e.$slots.name ? (r(), m("div", {
66
66
  key: 0,
67
67
  class: $(["property-name", { deprecated: (v = e.value) == null ? void 0 : v.deprecated }])
68
68
  }, [
69
69
  T(e.$slots, "name", {}, void 0, !0)
70
70
  ], 2)) : a("", !0),
71
- (k = e.value) != null && k.isDiscriminator ? (r(), m("div", G, " Discriminator ")) : a("", !0),
71
+ (k = e.value) != null && k.isDiscriminator ? (r(), m("div", j, " Discriminator ")) : a("", !0),
72
72
  e.value ? (r(), m(f, { key: 2 }, [
73
- (g = e.value) != null && g.type ? (r(), i(n, { key: 0 }, {
73
+ (g = e.value) != null && g.type ? (r(), i(n, {
74
+ key: 0,
75
+ truncate: ""
76
+ }, {
74
77
  default: u(() => [
75
78
  y(S, null, {
76
79
  default: u(() => t[0] || (t[0] = [
@@ -95,7 +98,7 @@ const j = { class: "property-heading" }, G = {
95
98
  })) : a("", !0),
96
99
  e.value.minLength ? (r(), i(n, { key: 2 }, {
97
100
  prefix: u(() => t[1] || (t[1] = [
98
- l("min: ")
101
+ l("min length: ")
99
102
  ])),
100
103
  default: u(() => [
101
104
  l(" " + o(e.value.minLength), 1)
@@ -104,7 +107,7 @@ const j = { class: "property-heading" }, G = {
104
107
  })) : a("", !0),
105
108
  e.value.maxLength ? (r(), i(n, { key: 3 }, {
106
109
  prefix: u(() => t[2] || (t[2] = [
107
- l("max: ")
110
+ l("max length: ")
108
111
  ])),
109
112
  default: u(() => [
110
113
  l(" " + o(e.value.maxLength), 1)
@@ -118,7 +121,10 @@ const j = { class: "property-heading" }, G = {
118
121
  _: 1,
119
122
  __: [3]
120
123
  })) : a("", !0),
121
- e.value.format ? (r(), i(n, { key: 5 }, {
124
+ e.value.format ? (r(), i(n, {
125
+ key: 5,
126
+ truncate: ""
127
+ }, {
122
128
  default: u(() => [
123
129
  y(S, null, {
124
130
  default: u(() => t[4] || (t[4] = [
@@ -213,15 +219,15 @@ const j = { class: "property-heading" }, G = {
213
219
  _: 1
214
220
  })) : a("", !0)
215
221
  ], 64)) : a("", !0),
216
- e.additional ? (r(), m("div", K, [
222
+ e.additional ? (r(), m("div", G, [
217
223
  (N = e.value) != null && N["x-additionalPropertiesName"] ? (r(), m(f, { key: 0 }, [
218
224
  l(o(e.value["x-additionalPropertiesName"]), 1)
219
225
  ], 64)) : (r(), m(f, { key: 1 }, [
220
226
  l("additional properties")
221
227
  ], 64))
222
228
  ])) : a("", !0),
223
- (M = e.value) != null && M.deprecated ? (r(), m("div", Q, [
224
- y(s(R), null, {
229
+ (M = e.value) != null && M.deprecated ? (r(), m("div", K, [
230
+ y(s(H), null, {
225
231
  default: u(() => t[13] || (t[13] = [
226
232
  l("deprecated")
227
233
  ])),
@@ -229,13 +235,13 @@ const j = { class: "property-heading" }, G = {
229
235
  __: [13]
230
236
  })
231
237
  ])) : a("", !0),
232
- B.value !== void 0 ? (r(), m("div", U, [
238
+ B.value !== void 0 ? (r(), m("div", Q, [
233
239
  y(n, { truncate: "" }, {
234
240
  prefix: u(() => t[14] || (t[14] = [
235
241
  l("const: ")
236
242
  ])),
237
243
  default: u(() => [
238
- y(z, { value: B.value }, null, 8, ["value"])
244
+ y(h, { value: B.value }, null, 8, ["value"])
239
245
  ]),
240
246
  _: 1
241
247
  })
@@ -248,9 +254,9 @@ const j = { class: "property-heading" }, G = {
248
254
  __: [15]
249
255
  })) : a("", !0)
250
256
  ], 64)),
251
- (w = e.value) != null && w.writeOnly ? (r(), m("div", W, " write-only ")) : (O = e.value) != null && O.readOnly ? (r(), m("div", X, " read-only ")) : a("", !0),
252
- e.required ? (r(), m("div", Y, " required ")) : a("", !0),
253
- e.withExamples ? (r(), i(H, {
257
+ (w = e.value) != null && w.writeOnly ? (r(), m("div", U, " write-only ")) : (O = e.value) != null && O.readOnly ? (r(), m("div", W, " read-only ")) : a("", !0),
258
+ e.required ? (r(), m("div", X, " required ")) : a("", !0),
259
+ e.withExamples ? (r(), i(z, {
254
260
  key: 10,
255
261
  examples: (P = e.value) == null ? void 0 : P.examples,
256
262
  example: ((I = e.value) == null ? void 0 : I.example) || ((A = (V = e.value) == null ? void 0 : V.items) == null ? void 0 : A.example)
@@ -0,0 +1,4 @@
1
+ const e = "";
2
+ export {
3
+ e as default
4
+ };
@@ -5,8 +5,9 @@ type SchemaObject = OpenAPIV3_1.SchemaObject;
5
5
  * Handles nested allOf compositions and merges properties recursively.
6
6
  *
7
7
  * @param schemas - Array of OpenAPI schema objects to merge
8
+ * @param rootSchema - Optional root schema to merge with the result
8
9
  * @returns Merged schema object
9
10
  */
10
- export declare function mergeAllOfSchemas(schemas: SchemaObject[], depth?: number): SchemaObject;
11
+ export declare function mergeAllOfSchemas(schemas: SchemaObject[], rootSchema?: SchemaObject, depth?: number): SchemaObject;
11
12
  export {};
12
13
  //# sourceMappingURL=merge-all-of-schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"merge-all-of-schemas.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/merge-all-of-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,KAAK,YAAY,GAAG,WAAW,CAAC,YAAY,CAAA;AAQ5C;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,SAAI,GAAG,YAAY,CA4ClF"}
1
+ {"version":3,"file":"merge-all-of-schemas.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/merge-all-of-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,KAAK,YAAY,GAAG,WAAW,CAAC,YAAY,CAAA;AAQ5C;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,UAAU,CAAC,EAAE,YAAY,EAAE,KAAK,SAAI,GAAG,YAAY,CAmD7G"}