@scalar/api-reference 1.43.4 → 1.43.7

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 (128) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +7 -7
  3. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +5 -5
  4. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  5. package/dist/blocks/scalar-info-block/components/DownloadLink.vue2.js +5 -5
  6. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js +11 -11
  7. package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +2 -2
  8. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js +7 -7
  9. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +2 -2
  10. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue2.js +1 -1
  11. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +16 -16
  12. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +2 -2
  13. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +1 -1
  14. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +7 -7
  15. package/dist/browser/standalone.js +18486 -18113
  16. package/dist/browser/webpack-stats.json +1 -1
  17. package/dist/components/Anchor/WithBreadcrumb.vue.js +3 -3
  18. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  19. package/dist/components/ApiReference.vue.js +1 -1
  20. package/dist/components/ApiReference.vue2.js +16 -11
  21. package/dist/components/Content/Auth/Auth.vue.js +7 -7
  22. package/dist/components/Content/Content.vue.js +28 -28
  23. package/dist/components/Content/Models/Model.vue.js +14 -14
  24. package/dist/components/Content/Models/ModelTag.vue.js +8 -8
  25. package/dist/components/Content/Models/components/ClassicLayout.vue2.js +15 -15
  26. package/dist/components/Content/Models/components/ModernLayout.vue.js +11 -11
  27. package/dist/components/Content/Operations/TraversedEntry.vue.js +51 -51
  28. package/dist/components/Content/Schema/Schema.vue2.js +40 -40
  29. package/dist/components/Content/Schema/SchemaComposition.vue.js +17 -17
  30. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +3 -3
  31. package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -7
  32. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +31 -31
  33. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +2 -2
  34. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  36. package/dist/components/Content/Schema/SchemaProperty.vue2.js +88 -147
  37. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +2 -2
  38. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +6 -6
  39. package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts +14 -0
  40. package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts.map +1 -0
  41. package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +31 -0
  42. package/dist/components/Content/Schema/helpers/get-enum-values.d.ts +9 -0
  43. package/dist/components/Content/Schema/helpers/get-enum-values.d.ts.map +1 -0
  44. package/dist/components/Content/Schema/helpers/get-enum-values.js +20 -0
  45. package/dist/components/Content/Schema/helpers/get-property-description.d.ts +9 -0
  46. package/dist/components/Content/Schema/helpers/get-property-description.d.ts.map +1 -0
  47. package/dist/components/Content/Schema/helpers/get-property-description.js +34 -0
  48. package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts +10 -0
  49. package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts.map +1 -0
  50. package/dist/components/Content/Schema/helpers/has-complex-array-items.js +48 -0
  51. package/dist/components/Content/Schema/helpers/should-display-description.d.ts +10 -0
  52. package/dist/components/Content/Schema/helpers/should-display-description.d.ts.map +1 -0
  53. package/dist/components/Content/Schema/helpers/should-display-description.js +12 -0
  54. package/dist/components/Content/Schema/helpers/should-display-heading.d.ts +11 -0
  55. package/dist/components/Content/Schema/helpers/should-display-heading.d.ts.map +1 -0
  56. package/dist/components/Content/Schema/helpers/should-display-heading.js +12 -0
  57. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts +10 -0
  58. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts.map +1 -0
  59. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js +15 -0
  60. package/dist/components/Content/Tags/Tag.vue.js +11 -11
  61. package/dist/components/Content/Tags/components/ClassicLayout.vue2.js +6 -6
  62. package/dist/components/Content/Tags/components/ModernLayout.vue2.js +10 -10
  63. package/dist/components/Content/Tags/components/TagSection.vue.js +14 -14
  64. package/dist/components/Content/index.d.ts +1 -0
  65. package/dist/components/Content/index.d.ts.map +1 -1
  66. package/dist/components/GettingStarted.vue2.js +1 -1
  67. package/dist/components/HttpMethod/HttpMethod.vue.js +3 -3
  68. package/dist/components/IntersectionObserver.vue.js +2 -2
  69. package/dist/components/LoadingSkeleton.vue2.js +2 -2
  70. package/dist/components/MobileHeader.vue.js +6 -6
  71. package/dist/components/OperationPath.vue2.js +1 -1
  72. package/dist/components/OperationsList/OperationsList.vue2.js +5 -5
  73. package/dist/components/OperationsList/OperationsListItem.vue2.js +8 -8
  74. package/dist/components/RenderPlugins/RenderPlugins.vue.js +2 -2
  75. package/dist/components/Section/CompactSection.vue2.js +9 -9
  76. package/dist/components/Section/SectionAccordion.vue2.js +5 -5
  77. package/dist/components/Section/SectionContainer.vue2.js +1 -1
  78. package/dist/components/Section/SectionContainerAccordion.vue2.js +3 -3
  79. package/dist/components/Section/SectionContent.vue2.js +1 -1
  80. package/dist/components/Section/SectionHeader.vue2.js +2 -2
  81. package/dist/components/Section/SectionHeaderTag.vue2.js +1 -1
  82. package/dist/components/index.d.ts +1 -0
  83. package/dist/components/index.d.ts.map +1 -1
  84. package/dist/components/index.js +18 -16
  85. package/dist/features/Operation/Operation.vue.js +18 -18
  86. package/dist/features/Operation/components/Header.vue.js +8 -8
  87. package/dist/features/Operation/components/Headers.vue2.js +5 -5
  88. package/dist/features/Operation/components/OperationParameters.vue.js +17 -17
  89. package/dist/features/Operation/components/OperationResponses.vue.js +6 -6
  90. package/dist/features/Operation/components/ParameterList.vue.js +6 -6
  91. package/dist/features/Operation/components/ParameterListItem.vue2.js +16 -16
  92. package/dist/features/Operation/components/RequestBody.vue2.js +17 -17
  93. package/dist/features/Operation/components/callbacks/Callback.vue2.js +10 -10
  94. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +3 -3
  95. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +49 -49
  96. package/dist/features/Operation/layouts/ModernLayout.vue2.js +50 -50
  97. package/dist/features/Search/components/SearchButton.vue.js +5 -5
  98. package/dist/features/Search/components/SearchModal.vue2.js +1 -1
  99. package/dist/features/Search/components/SearchResult.vue.js +14 -14
  100. package/dist/features/example-responses/ExampleResponse.vue2.js +3 -3
  101. package/dist/features/external-docs/ExternalDocs.vue.js +3 -3
  102. package/dist/features/info-object/Contact.vue.js +6 -6
  103. package/dist/features/info-object/License.vue.js +4 -4
  104. package/dist/features/info-object/TermsOfService.vue.js +2 -2
  105. package/dist/features/multiple-documents/DocumentSelector.vue.js +1 -1
  106. package/dist/features/specification-extension/SpecificationExtension.vue2.js +3 -3
  107. package/dist/features/test-request-button/TestRequestButton.vue2.js +2 -2
  108. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +4 -4
  109. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +1 -1
  110. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +1 -1
  111. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +2 -2
  112. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +1 -1
  113. package/dist/helpers/id-routing.d.ts.map +1 -1
  114. package/dist/helpers/id-routing.js +7 -1
  115. package/dist/helpers/load-from-perssistance.d.ts +32 -0
  116. package/dist/helpers/load-from-perssistance.d.ts.map +1 -0
  117. package/dist/helpers/load-from-perssistance.js +74 -0
  118. package/dist/helpers/map-config-plugins.d.ts +17 -2
  119. package/dist/helpers/map-config-plugins.d.ts.map +1 -1
  120. package/dist/helpers/map-config-plugins.js +20 -22
  121. package/dist/helpers/map-config-to-workspace-store.d.ts.map +1 -1
  122. package/dist/helpers/map-config-to-workspace-store.js +1 -8
  123. package/dist/helpers/storage.d.ts +6 -6
  124. package/dist/helpers/storage.d.ts.map +1 -1
  125. package/dist/helpers/storage.js +15 -10
  126. package/dist/plugins/hooks/usePluginManager.js +1 -1
  127. package/dist/style.css +133 -116
  128. package/package.json +31 -31
@@ -9,32 +9,34 @@ import { default as default9 } from "./Content/Models/ModelTag.vue.js";
9
9
  import { default as default10 } from "./Content/Schema/SchemaObjectExampleCodeBlock.vue.js";
10
10
  import { default as default11 } from "./Content/Tags/Tag.vue.js";
11
11
  import { default as default12 } from "./Content/Operations/TraversedEntry.vue.js";
12
- import { default as default13 } from "./HttpMethod/HttpMethod.vue.js";
13
- import { default as default14 } from "./RenderPlugins/RenderPlugins.vue.js";
14
- import { default as default15 } from "./Content/Schema/Schema.vue.js";
15
- import { default as default16 } from "./Content/Schema/SchemaHeading.vue.js";
16
- import { default as default17 } from "./Content/Schema/SchemaProperty.vue.js";
17
- import { default as default18 } from "./OperationsList/OperationsList.vue.js";
18
- import { default as default19 } from "./Section/SectionContainer.vue.js";
19
- import { default as default20 } from "./SectionFlare/SectionFlare.vue.js";
12
+ import { default as default13 } from "./Content/Auth/Auth.vue.js";
13
+ import { default as default14 } from "./HttpMethod/HttpMethod.vue.js";
14
+ import { default as default15 } from "./RenderPlugins/RenderPlugins.vue.js";
15
+ import { default as default16 } from "./Content/Schema/Schema.vue.js";
16
+ import { default as default17 } from "./Content/Schema/SchemaHeading.vue.js";
17
+ import { default as default18 } from "./Content/Schema/SchemaProperty.vue.js";
18
+ import { default as default19 } from "./OperationsList/OperationsList.vue.js";
19
+ import { default as default20 } from "./Section/SectionContainer.vue.js";
20
+ import { default as default21 } from "./SectionFlare/SectionFlare.vue.js";
20
21
  export {
21
22
  default3 as ApiReferenceContent,
23
+ default13 as Auth,
22
24
  default2 as ClassicHeader,
23
25
  default4 as Content,
24
- default13 as HttpMethod,
26
+ default14 as HttpMethod,
25
27
  default5 as IntersectionObserver,
26
28
  default6 as Lazy,
27
29
  default7 as MobileHeader,
28
30
  default8 as Model,
29
31
  default9 as Models,
30
- default18 as OperationsList,
31
- default14 as RenderPlugins,
32
- default15 as Schema,
33
- default16 as SchemaHeading,
32
+ default19 as OperationsList,
33
+ default15 as RenderPlugins,
34
+ default16 as Schema,
35
+ default17 as SchemaHeading,
34
36
  default10 as SchemaObjectExampleCodeBlock,
35
- default17 as SchemaProperty,
36
- default19 as SectionContainer,
37
- default20 as SectionFlare,
37
+ default18 as SchemaProperty,
38
+ default20 as SectionContainer,
39
+ default21 as SectionFlare,
38
40
  default11 as Tag,
39
41
  default12 as TraversedEntry
40
42
  };
@@ -48,31 +48,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  );
49
49
  return (_ctx, _cache) => {
50
50
  return operation.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
51
- _ctx.options.layout === "classic" ? (openBlock(), createBlock(ClassicLayout, {
51
+ __props.options.layout === "classic" ? (openBlock(), createBlock(ClassicLayout, {
52
52
  key: 0,
53
- id: _ctx.id,
54
- clientOptions: _ctx.clientOptions,
55
- eventBus: _ctx.eventBus,
56
- isCollapsed: _ctx.isCollapsed,
57
- isWebhook: _ctx.isWebhook,
58
- method: _ctx.method,
53
+ id: __props.id,
54
+ clientOptions: __props.clientOptions,
55
+ eventBus: __props.eventBus,
56
+ isCollapsed: __props.isCollapsed,
57
+ isWebhook: __props.isWebhook,
58
+ method: __props.method,
59
59
  operation: operation.value,
60
- options: _ctx.options,
61
- path: _ctx.path,
62
- selectedClient: _ctx.selectedClient,
60
+ options: __props.options,
61
+ path: __props.path,
62
+ selectedClient: __props.selectedClient,
63
63
  selectedSecuritySchemes: selectedSecuritySchemes.value,
64
64
  selectedServer: selectedServer.value
65
65
  }, null, 8, ["id", "clientOptions", "eventBus", "isCollapsed", "isWebhook", "method", "operation", "options", "path", "selectedClient", "selectedSecuritySchemes", "selectedServer"])) : (openBlock(), createBlock(ModernLayout, {
66
66
  key: 1,
67
- id: _ctx.id,
68
- clientOptions: _ctx.clientOptions,
69
- eventBus: _ctx.eventBus,
70
- isWebhook: _ctx.isWebhook,
71
- method: _ctx.method,
67
+ id: __props.id,
68
+ clientOptions: __props.clientOptions,
69
+ eventBus: __props.eventBus,
70
+ isWebhook: __props.isWebhook,
71
+ method: __props.method,
72
72
  operation: operation.value,
73
- options: _ctx.options,
74
- path: _ctx.path,
75
- selectedClient: _ctx.selectedClient,
73
+ options: __props.options,
74
+ path: __props.path,
75
+ selectedClient: __props.selectedClient,
76
76
  selectedSecuritySchemes: selectedSecuritySchemes.value,
77
77
  selectedServer: selectedServer.value
78
78
  }, null, 8, ["id", "clientOptions", "eventBus", "isWebhook", "method", "operation", "options", "path", "selectedClient", "selectedSecuritySchemes", "selectedServer"]))
@@ -13,17 +13,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  },
14
14
  setup(__props) {
15
15
  return (_ctx, _cache) => {
16
- return "schema" in _ctx.header && _ctx.header.schema ? (openBlock(), createBlock(SchemaProperty, {
16
+ return "schema" in __props.header && __props.header.schema ? (openBlock(), createBlock(SchemaProperty, {
17
17
  key: 0,
18
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "headers"] : void 0,
19
- description: _ctx.header.description,
20
- eventBus: _ctx.eventBus,
21
- name: _ctx.name,
18
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "headers"] : void 0,
19
+ description: __props.header.description,
20
+ eventBus: __props.eventBus,
21
+ name: __props.name,
22
22
  options: {
23
- orderRequiredPropertiesFirst: _ctx.orderRequiredPropertiesFirst,
24
- orderSchemaPropertiesBy: _ctx.orderSchemaPropertiesBy
23
+ orderRequiredPropertiesFirst: __props.orderRequiredPropertiesFirst,
24
+ orderSchemaPropertiesBy: __props.orderSchemaPropertiesBy
25
25
  },
26
- schema: unref(getResolvedRef)(_ctx.header.schema)
26
+ schema: unref(getResolvedRef)(__props.header.schema)
27
27
  }, null, 8, ["breadcrumb", "description", "eventBus", "name", "options", "schema"])) : createCommentVNode("", true);
28
28
  };
29
29
  }
@@ -44,15 +44,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  }, 1024),
45
45
  createVNode(unref(DisclosurePanel), null, {
46
46
  default: withCtx(() => [
47
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headers, (header, key) => {
47
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headers, (header, key) => {
48
48
  return openBlock(), createBlock(_sfc_main$1, {
49
49
  key,
50
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "headers"] : void 0,
51
- eventBus: _ctx.eventBus,
50
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "headers"] : void 0,
51
+ eventBus: __props.eventBus,
52
52
  header: unref(getResolvedRef)(header),
53
53
  name: key,
54
- orderRequiredPropertiesFirst: _ctx.orderRequiredPropertiesFirst,
55
- orderSchemaPropertiesBy: _ctx.orderSchemaPropertiesBy
54
+ orderRequiredPropertiesFirst: __props.orderRequiredPropertiesFirst,
55
+ orderSchemaPropertiesBy: __props.orderSchemaPropertiesBy
56
56
  }, null, 8, ["breadcrumb", "eventBus", "header", "name", "orderRequiredPropertiesFirst", "orderSchemaPropertiesBy"]);
57
57
  }), 128))
58
58
  ]),
@@ -26,9 +26,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  return (_ctx, _cache) => {
27
27
  return openBlock(), createElementBlock(Fragment, null, [
28
28
  createVNode(_sfc_main$1, {
29
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "path"] : void 0,
30
- eventBus: _ctx.eventBus,
31
- options: _ctx.options,
29
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "path"] : void 0,
30
+ eventBus: __props.eventBus,
31
+ options: __props.options,
32
32
  parameters: splitParameters.value["path"]
33
33
  }, {
34
34
  title: withCtx(() => [..._cache[0] || (_cache[0] = [
@@ -37,9 +37,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  _: 1
38
38
  }, 8, ["breadcrumb", "eventBus", "options", "parameters"]),
39
39
  createVNode(_sfc_main$1, {
40
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "query"] : void 0,
41
- eventBus: _ctx.eventBus,
42
- options: _ctx.options,
40
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "query"] : void 0,
41
+ eventBus: __props.eventBus,
42
+ options: __props.options,
43
43
  parameters: splitParameters.value["query"]
44
44
  }, {
45
45
  title: withCtx(() => [..._cache[1] || (_cache[1] = [
@@ -48,9 +48,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  _: 1
49
49
  }, 8, ["breadcrumb", "eventBus", "options", "parameters"]),
50
50
  createVNode(_sfc_main$1, {
51
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "headers"] : void 0,
52
- eventBus: _ctx.eventBus,
53
- options: _ctx.options,
51
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "headers"] : void 0,
52
+ eventBus: __props.eventBus,
53
+ options: __props.options,
54
54
  parameters: splitParameters.value["header"]
55
55
  }, {
56
56
  title: withCtx(() => [..._cache[2] || (_cache[2] = [
@@ -59,9 +59,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
59
  _: 1
60
60
  }, 8, ["breadcrumb", "eventBus", "options", "parameters"]),
61
61
  createVNode(_sfc_main$1, {
62
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "cookies"] : void 0,
63
- eventBus: _ctx.eventBus,
64
- options: _ctx.options,
62
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "cookies"] : void 0,
63
+ eventBus: __props.eventBus,
64
+ options: __props.options,
65
65
  parameters: splitParameters.value["cookie"]
66
66
  }, {
67
67
  title: withCtx(() => [..._cache[3] || (_cache[3] = [
@@ -69,12 +69,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
69
  ])]),
70
70
  _: 1
71
71
  }, 8, ["breadcrumb", "eventBus", "options", "parameters"]),
72
- _ctx.requestBody ? (openBlock(), createBlock(RequestBody, {
72
+ __props.requestBody ? (openBlock(), createBlock(RequestBody, {
73
73
  key: 0,
74
- breadcrumb: _ctx.breadcrumb ? [..._ctx.breadcrumb, "body"] : void 0,
75
- eventBus: _ctx.eventBus,
76
- options: _ctx.options,
77
- requestBody: _ctx.requestBody
74
+ breadcrumb: __props.breadcrumb ? [...__props.breadcrumb, "body"] : void 0,
75
+ eventBus: __props.eventBus,
76
+ options: __props.options,
77
+ requestBody: __props.requestBody
78
78
  }, {
79
79
  title: withCtx(() => [..._cache[4] || (_cache[4] = [
80
80
  createTextVNode("Body", -1)
@@ -20,17 +20,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  },
21
21
  setup(__props) {
22
22
  return (_ctx, _cache) => {
23
- return Object.keys(_ctx.responses ?? {}).length ? (openBlock(), createElementBlock("div", _hoisted_1, [
23
+ return Object.keys(__props.responses ?? {}).length ? (openBlock(), createElementBlock("div", _hoisted_1, [
24
24
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "text-c-1 mt-3 mb-3 leading-[1.45] font-medium" }, "Responses", -1)),
25
25
  createElementVNode("ul", _hoisted_2, [
26
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.responses, (response, status) => {
26
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.responses, (response, status) => {
27
27
  return openBlock(), createBlock(ParameterListItem, {
28
28
  key: status,
29
- breadcrumb: _ctx.breadcrumb,
30
- collapsableItems: _ctx.collapsableItems,
31
- eventBus: _ctx.eventBus,
29
+ breadcrumb: __props.breadcrumb,
30
+ collapsableItems: __props.collapsableItems,
31
+ eventBus: __props.eventBus,
32
32
  name: status,
33
- options: _ctx.options,
33
+ options: __props.options,
34
34
  parameter: unref(getResolvedRef)(response)
35
35
  }, null, 8, ["breadcrumb", "collapsableItems", "eventBus", "name", "options", "parameter"]);
36
36
  }), 128))
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18
18
  setup(__props) {
19
19
  const id = useId();
20
20
  return (_ctx, _cache) => {
21
- return _ctx.parameters?.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
21
+ return __props.parameters?.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
22
22
  createElementVNode("div", {
23
23
  id: unref(id),
24
24
  class: "text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"
@@ -29,14 +29,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  "aria-labelledby": unref(id),
30
30
  class: "mb-3 list-none p-0 text-sm"
31
31
  }, [
32
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.parameters, (item) => {
32
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.parameters, (item) => {
33
33
  return openBlock(), createBlock(ParameterListItem, {
34
34
  key: item.name,
35
- breadcrumb: _ctx.breadcrumb,
36
- collapsableItems: _ctx.collapsableItems,
37
- eventBus: _ctx.eventBus,
35
+ breadcrumb: __props.breadcrumb,
36
+ collapsableItems: __props.collapsableItems,
37
+ eventBus: __props.eventBus,
38
38
  name: item.name,
39
- options: _ctx.options,
39
+ options: __props.options,
40
40
  parameter: item
41
41
  }, null, 8, ["breadcrumb", "collapsableItems", "eventBus", "name", "options", "parameter"]);
42
42
  }), 128))
@@ -73,15 +73,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
73
  createElementVNode("div", null, [
74
74
  createVNode(unref(ScalarWrappingText), {
75
75
  preset: "property",
76
- text: _ctx.name
76
+ text: __props.name
77
77
  }, null, 8, ["text"])
78
78
  ])
79
79
  ]),
80
- !open && _ctx.parameter.description ? (openBlock(), createBlock(unref(ScalarMarkdownSummary), {
80
+ !open && __props.parameter.description ? (openBlock(), createBlock(unref(ScalarMarkdownSummary), {
81
81
  key: 0,
82
82
  class: "parameter-item-description-summary min-w-0 flex-1",
83
83
  controlled: "",
84
- value: _ctx.parameter.description
84
+ value: __props.parameter.description
85
85
  }, null, 8, ["value"])) : (openBlock(), createElementBlock("div", _hoisted_3)),
86
86
  createElementVNode("div", {
87
87
  class: normalizeClass({
@@ -104,34 +104,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
104
  static: !shouldCollapse.value
105
105
  }, {
106
106
  default: withCtx(() => [
107
- shouldCollapse.value && _ctx.parameter.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
107
+ shouldCollapse.value && __props.parameter.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
108
108
  key: 0,
109
109
  class: "parameter-item-description",
110
- value: _ctx.parameter.description
110
+ value: __props.parameter.description
111
111
  }, null, 8, ["value"])) : createCommentVNode("", true),
112
112
  headers.value ? (openBlock(), createBlock(Headers, {
113
113
  key: 1,
114
- breadcrumb: _ctx.breadcrumb,
115
- eventBus: _ctx.eventBus,
114
+ breadcrumb: __props.breadcrumb,
115
+ eventBus: __props.eventBus,
116
116
  headers: headers.value,
117
- orderRequiredPropertiesFirst: _ctx.options.orderRequiredPropertiesFirst,
118
- orderSchemaPropertiesBy: _ctx.options.orderSchemaPropertiesBy
117
+ orderRequiredPropertiesFirst: __props.options.orderRequiredPropertiesFirst,
118
+ orderSchemaPropertiesBy: __props.options.orderSchemaPropertiesBy
119
119
  }, null, 8, ["breadcrumb", "eventBus", "headers", "orderRequiredPropertiesFirst", "orderSchemaPropertiesBy"])) : createCommentVNode("", true),
120
120
  createVNode(SchemaProperty, {
121
121
  is: "div",
122
- breadcrumb: _ctx.breadcrumb,
122
+ breadcrumb: __props.breadcrumb,
123
123
  compact: "",
124
- description: shouldCollapse.value ? "" : _ctx.parameter.description,
125
- eventBus: _ctx.eventBus,
124
+ description: shouldCollapse.value ? "" : __props.parameter.description,
125
+ eventBus: __props.eventBus,
126
126
  hideWriteOnly: true,
127
- name: shouldCollapse.value ? "" : _ctx.name,
127
+ name: shouldCollapse.value ? "" : __props.name,
128
128
  noncollapsible: true,
129
129
  options: {
130
130
  hideWriteOnly: true,
131
- orderRequiredPropertiesFirst: _ctx.options.orderRequiredPropertiesFirst,
132
- orderSchemaPropertiesBy: _ctx.options.orderSchemaPropertiesBy
131
+ orderRequiredPropertiesFirst: __props.options.orderRequiredPropertiesFirst,
132
+ orderSchemaPropertiesBy: __props.options.orderSchemaPropertiesBy
133
133
  },
134
- required: "required" in _ctx.parameter && _ctx.parameter.required,
134
+ required: "required" in __props.parameter && __props.parameter.required,
135
135
  schema: value.value
136
136
  }, null, 8, ["breadcrumb", "description", "eventBus", "name", "options", "required", "schema"])
137
137
  ]),
@@ -92,62 +92,62 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
92
92
  () => Object.keys(__props.requestBody?.content ?? {}).length > 0 || __props.requestBody?.description || __props.requestBody?.required
93
93
  );
94
94
  return (_ctx, _cache) => {
95
- return _ctx.requestBody && shouldRenderRequestBody.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
95
+ return __props.requestBody && shouldRenderRequestBody.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
96
96
  createElementVNode("div", _hoisted_2, [
97
97
  createElementVNode("div", _hoisted_3, [
98
98
  renderSlot(_ctx.$slots, "title", {}, void 0, true),
99
- _ctx.requestBody.required ? (openBlock(), createElementBlock("div", _hoisted_4, " required ")) : createCommentVNode("", true)
99
+ __props.requestBody.required ? (openBlock(), createElementBlock("div", _hoisted_4, " required ")) : createCommentVNode("", true)
100
100
  ]),
101
101
  createVNode(_sfc_main$1, {
102
102
  modelValue: selectedContentType.value,
103
103
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedContentType.value = $event),
104
- content: _ctx.requestBody.content
104
+ content: __props.requestBody.content
105
105
  }, null, 8, ["modelValue", "content"]),
106
- _ctx.requestBody.description ? (openBlock(), createElementBlock("div", _hoisted_5, [
106
+ __props.requestBody.description ? (openBlock(), createElementBlock("div", _hoisted_5, [
107
107
  createVNode(unref(ScalarMarkdown), {
108
- value: _ctx.requestBody.description
108
+ value: __props.requestBody.description
109
109
  }, null, 8, ["value"])
110
110
  ])) : createCommentVNode("", true)
111
111
  ]),
112
112
  partitionedSchema.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
113
113
  createVNode(unref(Schema), {
114
- breadcrumb: _ctx.breadcrumb,
114
+ breadcrumb: __props.breadcrumb,
115
115
  compact: "",
116
- eventBus: _ctx.eventBus,
116
+ eventBus: __props.eventBus,
117
117
  name: "Request Body",
118
118
  noncollapsible: "",
119
119
  options: {
120
120
  hideReadOnly: true,
121
- orderRequiredPropertiesFirst: _ctx.options.orderRequiredPropertiesFirst,
122
- orderSchemaPropertiesBy: _ctx.options.orderSchemaPropertiesBy
121
+ orderRequiredPropertiesFirst: __props.options.orderRequiredPropertiesFirst,
122
+ orderSchemaPropertiesBy: __props.options.orderSchemaPropertiesBy
123
123
  },
124
124
  schema: partitionedSchema.value.visibleProperties
125
125
  }, null, 8, ["breadcrumb", "eventBus", "options", "schema"]),
126
126
  createVNode(unref(Schema), {
127
127
  additionalProperties: "",
128
- breadcrumb: _ctx.breadcrumb,
128
+ breadcrumb: __props.breadcrumb,
129
129
  compact: "",
130
- eventBus: _ctx.eventBus,
130
+ eventBus: __props.eventBus,
131
131
  name: "Request Body",
132
132
  options: {
133
133
  hideReadOnly: true,
134
- orderRequiredPropertiesFirst: _ctx.options.orderRequiredPropertiesFirst,
135
- orderSchemaPropertiesBy: _ctx.options.orderSchemaPropertiesBy
134
+ orderRequiredPropertiesFirst: __props.options.orderRequiredPropertiesFirst,
135
+ orderSchemaPropertiesBy: __props.options.orderSchemaPropertiesBy
136
136
  },
137
137
  schema: partitionedSchema.value.collapsedProperties
138
138
  }, null, 8, ["breadcrumb", "eventBus", "options", "schema"])
139
139
  ])) : schema.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
140
140
  createVNode(unref(Schema), {
141
- breadcrumb: _ctx.breadcrumb,
141
+ breadcrumb: __props.breadcrumb,
142
142
  compact: "",
143
- eventBus: _ctx.eventBus,
143
+ eventBus: __props.eventBus,
144
144
  hideReadOnly: true,
145
145
  name: "Request Body",
146
146
  noncollapsible: "",
147
147
  options: {
148
148
  hideReadOnly: true,
149
- orderRequiredPropertiesFirst: _ctx.options.orderRequiredPropertiesFirst,
150
- orderSchemaPropertiesBy: _ctx.options.orderSchemaPropertiesBy
149
+ orderRequiredPropertiesFirst: __props.options.orderRequiredPropertiesFirst,
150
+ orderSchemaPropertiesBy: __props.options.orderSchemaPropertiesBy
151
151
  },
152
152
  schema: schema.value
153
153
  }, null, 8, ["breadcrumb", "eventBus", "options", "schema"])
@@ -27,25 +27,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  createVNode(unref(_sfc_main$1), {
28
28
  as: "span",
29
29
  class: "request-method py-0.75",
30
- method: _ctx.method
30
+ method: __props.method
31
31
  }, null, 8, ["method"]),
32
32
  createElementVNode("div", _hoisted_3, [
33
- createTextVNode(toDisplayString(_ctx.name) + " ", 1),
34
- createElementVNode("span", _hoisted_4, toDisplayString(_ctx.url), 1)
33
+ createTextVNode(toDisplayString(__props.name) + " ", 1),
34
+ createElementVNode("span", _hoisted_4, toDisplayString(__props.url), 1)
35
35
  ])
36
36
  ]),
37
37
  createElementVNode("div", _hoisted_5, [
38
38
  createVNode(_sfc_main$2, {
39
- eventBus: _ctx.eventBus,
40
- options: _ctx.options,
41
- parameters: _ctx.callback.parameters?.map((param) => unref(getResolvedRef)(param)) ?? [],
42
- requestBody: unref(getResolvedRef)(_ctx.callback.requestBody)
39
+ eventBus: __props.eventBus,
40
+ options: __props.options,
41
+ parameters: __props.callback.parameters?.map((param) => unref(getResolvedRef)(param)) ?? [],
42
+ requestBody: unref(getResolvedRef)(__props.callback.requestBody)
43
43
  }, null, 8, ["eventBus", "options", "parameters", "requestBody"]),
44
44
  createVNode(_sfc_main$3, {
45
45
  collapsableItems: false,
46
- eventBus: _ctx.eventBus,
47
- options: _ctx.options,
48
- responses: _ctx.callback.responses
46
+ eventBus: __props.eventBus,
47
+ options: __props.options,
48
+ responses: __props.callback.responses
49
49
  }, null, 8, ["eventBus", "options", "responses"])
50
50
  ])
51
51
  ]);
@@ -46,11 +46,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  return openBlock(), createBlock(Callback, {
47
47
  key: `${name}-${url}-${method}`,
48
48
  callback,
49
- eventBus: _ctx.eventBus,
49
+ eventBus: __props.eventBus,
50
50
  method,
51
51
  name,
52
- options: _ctx.options,
53
- path: _ctx.path,
52
+ options: __props.options,
53
+ path: __props.path,
54
54
  url
55
55
  }, null, 8, ["callback", "eventBus", "method", "name", "options", "path", "url"]);
56
56
  }), 128))