@scalar/api-reference 1.22.20 → 1.22.24
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 +63 -0
- package/README.md +3 -3
- package/dist/Hide-Q3GPkIKH-Ba4DV2wS.cjs +1 -0
- package/dist/Hide-Q3GPkIKH-CR2flZgt.js +21 -0
- package/dist/Show-D86hKz5y-CLGkc2Cs.js +21 -0
- package/dist/Show-D86hKz5y-DCaWj13Q.cjs +1 -0
- package/dist/browser/standalone.js +14 -14
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/Card/CardContent.vue.d.ts +1 -1
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts +1 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TryRequestButton.vue.d.ts +1 -1
- package/dist/components/Content/Operation/TryRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/mutationObserver.d.ts +1 -1
- package/dist/components/Content/Tag/mutationObserver.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/SearchButton.vue.d.ts +1 -1
- package/dist/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts +1 -1
- package/dist/helpers/getHeadingsFromMarkdown.d.ts.map +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts +1 -1
- package/dist/helpers/getLowestHeadingLevel.d.ts.map +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts +1 -1
- package/dist/helpers/hasSecuritySchemes.d.ts.map +1 -1
- package/dist/helpers/hasWebhooks.d.ts +1 -1
- package/dist/helpers/hasWebhooks.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.d.ts +2 -2
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/specHelpers.d.ts +1 -1
- package/dist/helpers/specHelpers.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.d.ts +1 -37
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/index.cjs +101 -655
- package/dist/index.css +1 -1
- package/dist/index.js +7147 -7670
- package/dist/standalone.spec.d.ts +2 -0
- package/dist/standalone.spec.d.ts.map +1 -0
- package/package.json +16 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.22.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9ba838b: chore: fetch scalar galaxy example from jsdelivr
|
|
8
|
+
- 45dc04b: fix: can’t release packages
|
|
9
|
+
- Updated dependencies [45dc04b]
|
|
10
|
+
- @scalar/use-tooltip@0.6.2
|
|
11
|
+
- @scalar/api-client@1.2.16
|
|
12
|
+
- @scalar/components@0.7.3
|
|
13
|
+
- @scalar/use-toasts@0.6.4
|
|
14
|
+
- @scalar/oas-utils@0.1.10
|
|
15
|
+
- @scalar/use-modal@0.3.3
|
|
16
|
+
- @scalar/themes@0.7.9
|
|
17
|
+
|
|
18
|
+
## 1.22.23
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 05e2e27: chore: add provenance statement
|
|
23
|
+
- Updated dependencies [05e2e27]
|
|
24
|
+
- @scalar/api-client@1.2.15
|
|
25
|
+
- @scalar/components@0.7.2
|
|
26
|
+
- @scalar/galaxy@0.1.1
|
|
27
|
+
- @scalar/oas-utils@0.1.9
|
|
28
|
+
- @scalar/themes@0.7.8
|
|
29
|
+
- @scalar/use-modal@0.3.2
|
|
30
|
+
- @scalar/use-toasts@0.6.3
|
|
31
|
+
- @scalar/use-tooltip@0.6.1
|
|
32
|
+
|
|
33
|
+
## 1.22.22
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- f1bf5bc: fix: sidebar headings don’t reset
|
|
38
|
+
- 085a0c2: fix: mimetypes with charsets and variants are ignored
|
|
39
|
+
- Updated dependencies [085a0c2]
|
|
40
|
+
- Updated dependencies [fa10d45]
|
|
41
|
+
- @scalar/oas-utils@0.1.8
|
|
42
|
+
- @scalar/api-client@1.2.14
|
|
43
|
+
- @scalar/components@0.7.1
|
|
44
|
+
|
|
45
|
+
## 1.22.21
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- 07211ad: chore: added new lint rule for type importing for better perf
|
|
50
|
+
- 801ad65: feat: use schema property title if available
|
|
51
|
+
- d4fa19b: feat: allow multiple configs for nuxt
|
|
52
|
+
- b234d1d: feat: added two events to standalone references build with tests
|
|
53
|
+
- Updated dependencies [c68939c]
|
|
54
|
+
- Updated dependencies [07211ad]
|
|
55
|
+
- Updated dependencies [d4fa19b]
|
|
56
|
+
- Updated dependencies [1c18f77]
|
|
57
|
+
- Updated dependencies [830b3c8]
|
|
58
|
+
- Updated dependencies [b234d1d]
|
|
59
|
+
- @scalar/api-client@1.2.13
|
|
60
|
+
- @scalar/components@0.7.0
|
|
61
|
+
- @scalar/oas-utils@0.1.7
|
|
62
|
+
- @scalar/use-modal@0.3.1
|
|
63
|
+
- @scalar/themes@0.7.7
|
|
64
|
+
- @scalar/use-toasts@0.6.2
|
|
65
|
+
|
|
3
66
|
## 1.22.20
|
|
4
67
|
|
|
5
68
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -183,7 +183,7 @@ To make authentication easier you can prefill the credentials for your users:
|
|
|
183
183
|
},
|
|
184
184
|
},
|
|
185
185
|
} />
|
|
186
|
-
|
|
186
|
+
```
|
|
187
187
|
|
|
188
188
|
For OpenAuth2 it’s more looking like this:
|
|
189
189
|
|
|
@@ -192,12 +192,12 @@ For OpenAuth2 it’s more looking like this:
|
|
|
192
192
|
authentication: {
|
|
193
193
|
// The OpenAPI file has keys for all security schemes
|
|
194
194
|
// Which one should be used by default?
|
|
195
|
-
preferredSecurityScheme: '
|
|
195
|
+
preferredSecurityScheme: 'planets_auth',
|
|
196
196
|
// The `petstore_auth` security scheme is of type `oAuth2`, so prefill the client id and the scopes:
|
|
197
197
|
oAuth2: {
|
|
198
198
|
clientId: 'foobar123',
|
|
199
199
|
// optional:
|
|
200
|
-
scopes: ['read:
|
|
200
|
+
scopes: ['read:planets', 'write:planets'],
|
|
201
201
|
},
|
|
202
202
|
},
|
|
203
203
|
} />
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},r=e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M.264 1.324a.75.75 0 0 1 1.06-1.06l2.629 2.628C4.86 2.393 5.893 2.04 7 2.04c1.532 0 2.92.676 4.035 1.48 1.118.805 2.003 1.769 2.539 2.416l.004.006c.24.298.366.675.366 1.058s-.126.76-.366 1.058l-.004.006a14.5 14.5 0 0 1-2.249 2.2l2.411 2.412a.75.75 0 1 1-1.06 1.06zm8.753 6.632a2.232 2.232 0 0 0-2.974-2.974zm-8.59-2.02c.319-.386.762-.884 1.305-1.394l7.104 7.104A5.7 5.7 0 0 1 7 11.96c-1.532 0-2.92-.676-4.035-1.48C1.847 9.676.962 8.712.426 8.065l-.004-.006A1.7 1.7 0 0 1 .056 7c0-.383.126-.76.366-1.058l.004-.006Z","clip-rule":"evenodd"},null,-1),t=[r];function l(c,d){return e.openBlock(),e.createElementBlock("svg",n,[...t])}const o={render:l};exports.default=o;exports.render=l;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as l, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 14"
|
|
6
|
+
}, o = /* @__PURE__ */ n("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M.264 1.324a.75.75 0 0 1 1.06-1.06l2.629 2.628C4.86 2.393 5.893 2.04 7 2.04c1.532 0 2.92.676 4.035 1.48 1.118.805 2.003 1.769 2.539 2.416l.004.006c.24.298.366.675.366 1.058s-.126.76-.366 1.058l-.004.006a14.5 14.5 0 0 1-2.249 2.2l2.411 2.412a.75.75 0 1 1-1.06 1.06zm8.753 6.632a2.232 2.232 0 0 0-2.974-2.974zm-8.59-2.02c.319-.386.762-.884 1.305-1.394l7.104 7.104A5.7 5.7 0 0 1 7 11.96c-1.532 0-2.92-.676-4.035-1.48C1.847 9.676.962 8.712.426 8.065l-.004-.006A1.7 1.7 0 0 1 .056 7c0-.383.126-.76.366-1.058l.004-.006Z",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), t = [
|
|
12
|
+
o
|
|
13
|
+
];
|
|
14
|
+
function c(a, d) {
|
|
15
|
+
return e(), l("svg", r, [...t]);
|
|
16
|
+
}
|
|
17
|
+
const i = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
i as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as l, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
viewBox: "0 0 14 14"
|
|
6
|
+
}, o = /* @__PURE__ */ n("path", {
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
"fill-rule": "evenodd",
|
|
9
|
+
d: "M2.933 3.491C4.056 2.681 5.456 2 7 2s2.944.682 4.067 1.491c1.128.812 2.02 1.784 2.56 2.437l.005.005c.241.3.368.681.368 1.067s-.127.766-.368 1.067l-.005.005c-.54.653-1.432 1.625-2.56 2.437C9.944 11.32 8.544 12 7 12s-2.944-.682-4.067-1.49C1.805 9.696.913 8.724.373 8.071l-.005-.005A1.7 1.7 0 0 1 0 7c0-.386.127-.766.368-1.067l.005-.005c.54-.653 1.432-1.625 2.56-2.437M7 9.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5",
|
|
10
|
+
"clip-rule": "evenodd"
|
|
11
|
+
}, null, -1), t = [
|
|
12
|
+
o
|
|
13
|
+
];
|
|
14
|
+
function c(s, d) {
|
|
15
|
+
return e(), l("svg", r, [...t]);
|
|
16
|
+
}
|
|
17
|
+
const i = { render: c };
|
|
18
|
+
export {
|
|
19
|
+
i as default,
|
|
20
|
+
c as render
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},r=e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2.933 3.491C4.056 2.681 5.456 2 7 2s2.944.682 4.067 1.491c1.128.812 2.02 1.784 2.56 2.437l.005.005c.241.3.368.681.368 1.067s-.127.766-.368 1.067l-.005.005c-.54.653-1.432 1.625-2.56 2.437C9.944 11.32 8.544 12 7 12s-2.944-.682-4.067-1.49C1.805 9.696.913 8.724.373 8.071l-.005-.005A1.7 1.7 0 0 1 0 7c0-.386.127-.766.368-1.067l.005-.005c.54-.653 1.432-1.625 2.56-2.437M7 9.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5","clip-rule":"evenodd"},null,-1),t=[r];function l(c,d){return e.openBlock(),e.createElementBlock("svg",n,[...t])}const o={render:l};exports.default=o;exports.render=l;
|