@scalar/api-reference 1.44.27 → 1.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +106 -0
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +8 -2
- package/dist/browser/standalone.js +5215 -5171
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Auth/Auth.vue.d.ts.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.js +2 -2
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +1 -1
- package/dist/features/Operation/helpers/filter-selected-security.d.ts.map +1 -1
- package/dist/features/Operation/helpers/filter-selected-security.js +6 -2
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +12 -9
- package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue2.js +17 -15
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue2.js +14 -7
- package/dist/features/example-responses/ExampleSchema.vue.d.ts +8 -0
- package/dist/features/example-responses/ExampleSchema.vue.d.ts.map +1 -0
- package/dist/features/example-responses/ExampleSchema.vue.js +34 -0
- package/dist/features/example-responses/ExampleSchema.vue2.js +4 -0
- package/dist/helpers/lazy-bus.d.ts.map +1 -1
- package/dist/helpers/lazy-bus.js +2 -1
- package/dist/style.css +200 -173
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.46.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#8294](https://github.com/scalar/scalar/pull/8294): default createAnySecurityScheme to false and fix index clamp issue
|
|
8
|
+
|
|
9
|
+
#### Updated Dependencies
|
|
10
|
+
|
|
11
|
+
- **@scalar/workspace-store@0.35.2**
|
|
12
|
+
- [#8310](https://github.com/scalar/scalar/pull/8310): refactor: move helpers to the helpers package to share primitive helpers
|
|
13
|
+
- [#8294](https://github.com/scalar/scalar/pull/8294): default createAnySecurityScheme to false and fix index clamp issue
|
|
14
|
+
- [#8287](https://github.com/scalar/scalar/pull/8287): consider path-level parameters in syncPathParameters instead of creating bare synthetic ones
|
|
15
|
+
|
|
16
|
+
- **@scalar/api-client@2.31.1**
|
|
17
|
+
- [#8310](https://github.com/scalar/scalar/pull/8310): refactor: move helpers to the helpers package to share primitive helpers
|
|
18
|
+
- [#8294](https://github.com/scalar/scalar/pull/8294): default createAnySecurityScheme to false and fix index clamp issue
|
|
19
|
+
|
|
20
|
+
- **@scalar/helpers@0.2.17**
|
|
21
|
+
- [#8310](https://github.com/scalar/scalar/pull/8310): refactor: move helpers to the helpers package to share primitive helpers
|
|
22
|
+
|
|
23
|
+
- **@scalar/oas-utils@0.8.1**
|
|
24
|
+
- [#8310](https://github.com/scalar/scalar/pull/8310): fix: correctly handle circular documents during the migration to indexdb
|
|
25
|
+
|
|
26
|
+
- **@scalar/agent-chat@0.7.1**
|
|
27
|
+
|
|
28
|
+
- **@scalar/sidebar@0.7.44**
|
|
29
|
+
|
|
30
|
+
- **@scalar/components@0.19.13**
|
|
31
|
+
|
|
32
|
+
- **@scalar/openapi-parser@0.24.16**
|
|
33
|
+
|
|
34
|
+
- **@scalar/types@0.6.9**
|
|
35
|
+
|
|
36
|
+
- **@scalar/snippetz@0.6.18**
|
|
37
|
+
|
|
38
|
+
## 1.46.0
|
|
39
|
+
|
|
40
|
+
### Minor Changes
|
|
41
|
+
|
|
42
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- [#8283](https://github.com/scalar/scalar/pull/8283): fix: scrollToLazy can not find id when the browser is busy
|
|
47
|
+
|
|
48
|
+
#### Updated Dependencies
|
|
49
|
+
|
|
50
|
+
- **@scalar/agent-chat@0.7.0**
|
|
51
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
52
|
+
|
|
53
|
+
- **@scalar/api-client@2.31.0**
|
|
54
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
55
|
+
|
|
56
|
+
- **@scalar/oas-utils@0.8.0**
|
|
57
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
58
|
+
|
|
59
|
+
- **@scalar/components@0.19.12**
|
|
60
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
61
|
+
|
|
62
|
+
- **@scalar/themes@0.14.2**
|
|
63
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
64
|
+
|
|
65
|
+
- **@scalar/workspace-store@0.35.1**
|
|
66
|
+
- [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
|
|
67
|
+
|
|
68
|
+
- **@scalar/sidebar@0.7.43**
|
|
69
|
+
|
|
70
|
+
- **@scalar/code-highlight@0.2.4**
|
|
71
|
+
|
|
72
|
+
## 1.45.0
|
|
73
|
+
|
|
74
|
+
### Minor Changes
|
|
75
|
+
|
|
76
|
+
- [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
|
|
81
|
+
- [#8279](https://github.com/scalar/scalar/pull/8279): fix(api-references): css collision on ask ai input
|
|
82
|
+
|
|
83
|
+
#### Updated Dependencies
|
|
84
|
+
|
|
85
|
+
- **@scalar/agent-chat@0.6.0**
|
|
86
|
+
- [#8203](https://github.com/scalar/scalar/pull/8203): feat: tweak the copy
|
|
87
|
+
- [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
|
|
88
|
+
|
|
89
|
+
- **@scalar/components@0.19.11**
|
|
90
|
+
- [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
|
|
91
|
+
|
|
92
|
+
- **@scalar/themes@0.14.1**
|
|
93
|
+
- [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
|
|
94
|
+
|
|
95
|
+
- **@scalar/api-client@2.30.0**
|
|
96
|
+
- [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
|
|
97
|
+
- [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
|
|
98
|
+
|
|
99
|
+
- **@scalar/workspace-store@0.35.0**
|
|
100
|
+
- [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
|
|
101
|
+
|
|
102
|
+
- **@scalar/oas-utils@0.7.0**
|
|
103
|
+
- [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
|
|
104
|
+
|
|
105
|
+
- **@scalar/sidebar@0.7.42**
|
|
106
|
+
|
|
107
|
+
- **@scalar/code-highlight@0.2.4**
|
|
108
|
+
|
|
3
109
|
## 1.44.27
|
|
4
110
|
|
|
5
111
|
### Patch Changes
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
}, {
|
|
50
50
|
default: withCtx(() => [
|
|
51
51
|
createVNode(unref(ScalarButton), {
|
|
52
|
-
class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
|
|
52
|
+
class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",
|
|
53
53
|
variant: "ghost"
|
|
54
54
|
}, {
|
|
55
55
|
default: withCtx(() => [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAMhG,KAAK,aAAa,GAAG;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,sSAkJd,CAAC"}
|
|
@@ -16,7 +16,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
const id = useId();
|
|
17
17
|
const updateServer = (newServer) => {
|
|
18
18
|
__props.eventBus.emit("server:update:selected", {
|
|
19
|
-
url: __props.selectedServer?.url === newServer ? "" : newServer
|
|
19
|
+
url: __props.selectedServer?.url === newServer ? "" : newServer,
|
|
20
|
+
meta: {
|
|
21
|
+
type: "document"
|
|
22
|
+
}
|
|
20
23
|
});
|
|
21
24
|
};
|
|
22
25
|
const updateServerVariable = (key, value) => {
|
|
@@ -27,7 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
30
|
__props.eventBus.emit("server:update:variables", {
|
|
28
31
|
index,
|
|
29
32
|
key,
|
|
30
|
-
value
|
|
33
|
+
value,
|
|
34
|
+
meta: {
|
|
35
|
+
type: "document"
|
|
36
|
+
}
|
|
31
37
|
});
|
|
32
38
|
};
|
|
33
39
|
return (_ctx, _cache) => {
|