@scalar/api-reference 1.28.20 → 1.28.22
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 +21 -0
- package/dist/browser/standalone.js +5526 -5537
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +3 -3
- package/dist/components/ApiReferenceLayout.vue2.js +17 -16
- package/dist/components/DocumentSelector/DocumentSelector.vue.js +2 -2
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +27 -22
- package/dist/features/ApiClientModal/useApiClient.d.ts +18 -12
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts +1 -2
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +54 -59
- package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
- package/dist/hooks/useMultipleDocuments.js +29 -27
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.js +25 -27
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +9 -9
- package/dist/browser/examples/openapi-3.1/openapi.yaml +0 -18
- package/dist/browser/examples/openapi-3.1/pathItems.yaml +0 -12
- package/dist/browser/examples/swagger-2.0/openapi.yaml +0 -17
- package/dist/browser/examples/swagger-2.0/pathItems.yaml +0 -6
- package/dist/examples/openapi-3.1/openapi.yaml +0 -18
- package/dist/examples/openapi-3.1/pathItems.yaml +0 -12
- package/dist/examples/swagger-2.0/openapi.yaml +0 -17
- package/dist/examples/swagger-2.0/pathItems.yaml +0 -6
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.28.
|
|
23
|
+
"version": "1.28.22",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"nanoid": "^5.1.5",
|
|
57
57
|
"vue": "^3.5.12",
|
|
58
58
|
"zod": "^3.23.8",
|
|
59
|
-
"@scalar/api-client": "2.3.20",
|
|
60
59
|
"@scalar/code-highlight": "0.0.27",
|
|
61
|
-
"@scalar/
|
|
60
|
+
"@scalar/api-client": "2.3.22",
|
|
61
|
+
"@scalar/oas-utils": "0.2.133",
|
|
62
|
+
"@scalar/openapi-parser": "0.10.16",
|
|
63
|
+
"@scalar/components": "0.13.49",
|
|
62
64
|
"@scalar/openapi-types": "0.2.0",
|
|
63
|
-
"@scalar/openapi-parser": "0.10.15",
|
|
64
65
|
"@scalar/themes": "0.10.0",
|
|
65
|
-
"@scalar/oas-utils": "0.2.131",
|
|
66
|
-
"@scalar/snippetz": "0.2.19",
|
|
67
66
|
"@scalar/types": "0.1.8",
|
|
68
67
|
"@scalar/use-hooks": "0.1.41",
|
|
69
|
-
"@scalar/use-toasts": "0.7.9"
|
|
68
|
+
"@scalar/use-toasts": "0.7.9",
|
|
69
|
+
"@scalar/snippetz": "0.2.19"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"vite-plugin-banner": "^0.7.1",
|
|
81
81
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
82
82
|
"vitest": "^1.6.0",
|
|
83
|
-
"@scalar/
|
|
84
|
-
"@scalar/
|
|
83
|
+
"@scalar/galaxy": "0.3.1",
|
|
84
|
+
"@scalar/build-tooling": "0.1.17"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"analyze:default": "pnpm dlx vite-bundle-visualizer",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
openapi: 3.1.0
|
|
2
|
-
info:
|
|
3
|
-
title: Example with References
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
paths:
|
|
6
|
-
/internal:
|
|
7
|
-
$ref: '#/components/pathItems/internal'
|
|
8
|
-
/external:
|
|
9
|
-
$ref: 'http://localhost:5173/examples/openapi-3.1/pathItems.yaml#/components/pathItems/external'
|
|
10
|
-
/relative:
|
|
11
|
-
$ref: 'pathItems.yaml#/components/pathItems/relative'
|
|
12
|
-
components:
|
|
13
|
-
pathItems:
|
|
14
|
-
internal:
|
|
15
|
-
get:
|
|
16
|
-
responses:
|
|
17
|
-
'200':
|
|
18
|
-
description: A successful response
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
swagger: '2.0'
|
|
2
|
-
info:
|
|
3
|
-
title: Example with References
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
paths:
|
|
6
|
-
/internal:
|
|
7
|
-
$ref: '#/definitions/internal'
|
|
8
|
-
/external:
|
|
9
|
-
$ref: 'http://localhost:5173/examples/swagger-2.0/pathItems.yaml#/definitions/external'
|
|
10
|
-
/relative:
|
|
11
|
-
$ref: 'pathItems.yaml#/definitions/external'
|
|
12
|
-
definitions:
|
|
13
|
-
internal:
|
|
14
|
-
get:
|
|
15
|
-
responses:
|
|
16
|
-
'200':
|
|
17
|
-
description: A successful response
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
openapi: 3.1.0
|
|
2
|
-
info:
|
|
3
|
-
title: Example with References
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
paths:
|
|
6
|
-
/internal:
|
|
7
|
-
$ref: '#/components/pathItems/internal'
|
|
8
|
-
/external:
|
|
9
|
-
$ref: 'http://localhost:5173/examples/openapi-3.1/pathItems.yaml#/components/pathItems/external'
|
|
10
|
-
/relative:
|
|
11
|
-
$ref: 'pathItems.yaml#/components/pathItems/relative'
|
|
12
|
-
components:
|
|
13
|
-
pathItems:
|
|
14
|
-
internal:
|
|
15
|
-
get:
|
|
16
|
-
responses:
|
|
17
|
-
'200':
|
|
18
|
-
description: A successful response
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
swagger: '2.0'
|
|
2
|
-
info:
|
|
3
|
-
title: Example with References
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
paths:
|
|
6
|
-
/internal:
|
|
7
|
-
$ref: '#/definitions/internal'
|
|
8
|
-
/external:
|
|
9
|
-
$ref: 'http://localhost:5173/examples/swagger-2.0/pathItems.yaml#/definitions/external'
|
|
10
|
-
/relative:
|
|
11
|
-
$ref: 'pathItems.yaml#/definitions/external'
|
|
12
|
-
definitions:
|
|
13
|
-
internal:
|
|
14
|
-
get:
|
|
15
|
-
responses:
|
|
16
|
-
'200':
|
|
17
|
-
description: A successful response
|