@scalar/api-reference 1.30.0 → 1.31.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 +50 -0
- package/dist/browser/standalone.js +6690 -6569
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +1 -1
- package/dist/components/ApiReferenceLayout.vue2.js +164 -181
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +56 -51
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/components/Content/Content.vue2.js +5 -5
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +2 -2
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
- package/dist/components/Content/Introduction/Introduction.vue2.js +57 -63
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +46 -46
- package/dist/components/Content/Models/Models.vue.d.ts +2 -2
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +2 -2
- package/dist/components/Content/Models/Models.vue2.js +9 -7
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +2 -2
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.preview.d.ts +294 -84
- package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts +21 -4
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +158 -131
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -2
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +57 -53
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts +2 -3
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +29 -29
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +2 -2
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +12 -3
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +133 -103
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +3 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +133 -126
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -2
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts +2 -2
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/DocumentSelector/DocumentSelector.vue.js +3 -3
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +19 -17
- package/dist/components/Layouts/Layouts.vue.js +11 -9
- package/dist/components/Layouts/ModernLayout.vue2.js +22 -20
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.js +2 -2
- package/dist/components/Section/SectionAccordion.vue2.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
- package/dist/components/Section/SectionContainerAccordion.vue2.js +4 -4
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +56 -56
- package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
- package/dist/components/SingleApiReference.vue.js +27 -33
- package/dist/esm.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -2
- package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/ApiClientModal/ApiClientModal.vue.js +49 -50
- package/dist/features/ApiClientModal/useApiClient.d.ts +196 -196
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/DocumentSource/hooks/useDocumentFetcher.d.ts +11 -0
- package/dist/features/DocumentSource/hooks/useDocumentFetcher.d.ts.map +1 -0
- package/dist/features/DocumentSource/hooks/useDocumentFetcher.js +38 -0
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +21 -0
- package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -0
- package/dist/features/DocumentSource/hooks/useDocumentSource.js +94 -0
- package/dist/features/DocumentSource/index.d.ts +2 -0
- package/dist/features/DocumentSource/index.d.ts.map +1 -0
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue2.js +18 -17
- package/dist/features/DownloadLink/index.d.ts +1 -0
- package/dist/features/DownloadLink/index.d.ts.map +1 -1
- package/dist/features/DownloadLink/openapi-version-symbol.d.ts +2 -0
- package/dist/features/DownloadLink/openapi-version-symbol.d.ts.map +1 -0
- package/dist/features/DownloadLink/openapi-version-symbol.js +4 -0
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +2 -0
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +178 -127
- package/dist/features/Operation/Operation.vue.d.ts +2 -2
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +29 -23
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +7 -3
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +28 -24
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +2 -2
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts +2 -2
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue.js +2 -2
- package/dist/features/Operation/components/ParameterList.vue.d.ts +2 -2
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue2.js +6 -6
- package/dist/features/Operation/components/RequestBody.vue.d.ts +7 -3
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +41 -36
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +7 -3
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +84 -79
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +5 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +66 -57
- package/dist/features/Operation/types/schemas.d.ts +2 -2
- package/dist/features/Operation/types/schemas.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue.js +2 -2
- package/dist/helpers/local-storage.d.ts +8 -0
- package/dist/helpers/local-storage.d.ts.map +1 -0
- package/dist/helpers/local-storage.js +6 -0
- package/dist/helpers/measure.d.ts +21 -0
- package/dist/helpers/measure.d.ts.map +1 -0
- package/dist/helpers/measure.js +7 -0
- package/dist/helpers/parse.d.ts +3 -5
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/parse.js +64 -86
- package/dist/helpers/scroll-to-id.d.ts.map +1 -1
- package/dist/helpers/scroll-to-id.js +18 -4
- package/dist/hooks/useDiscriminator.d.ts +53 -0
- package/dist/hooks/useDiscriminator.d.ts.map +1 -0
- package/dist/hooks/useDiscriminator.js +149 -0
- package/dist/hooks/useOperationDiscriminator.d.ts +8 -0
- package/dist/hooks/useOperationDiscriminator.d.ts.map +1 -0
- package/dist/hooks/useOperationDiscriminator.js +57 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -35
- package/dist/libs/openapi.d.ts +3 -3
- package/dist/libs/openapi.d.ts.map +1 -1
- package/dist/libs/openapi.js +35 -42
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.js +15 -15
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/stores/useHttpClientStore.js +19 -18
- package/dist/style.css +1 -1
- package/dist/types.d.ts +27 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +15 -16
- package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts +0 -12
- package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts.map +0 -1
- package/dist/components/Content/Schema/helpers/schema-discriminator.js +0 -45
- package/dist/hooks/useReactiveSpec.d.ts +0 -448
- package/dist/hooks/useReactiveSpec.d.ts.map +0 -1
- package/dist/hooks/useReactiveSpec.js +0 -59
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnyApiReferenceConfiguration, ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
2
|
-
import type { Spec } from '@scalar/types/legacy';
|
|
2
|
+
import type { OpenAPIV3_1, Spec } from '@scalar/types/legacy';
|
|
3
3
|
export type { ApiReferenceConfiguration };
|
|
4
4
|
export type ReferenceProps = {
|
|
5
5
|
configuration?: AnyApiReferenceConfiguration;
|
|
@@ -9,9 +9,33 @@ export type ReferenceProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
export type ReferenceLayoutProps = {
|
|
11
11
|
configuration: Partial<ApiReferenceConfiguration>;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* The OpenAPI 3.1 document, but all $ref’s are resolved already.
|
|
15
|
+
*
|
|
16
|
+
* @remark You need to add the `originalDocument`, too.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
*
|
|
20
|
+
* import { upgrade, dereference } from '@scalar/openapi-parser'
|
|
21
|
+
*
|
|
22
|
+
* const { specification: upgradedDocument } = upgrade(originalDocument)
|
|
23
|
+
* const { schema: dereferencedDocument } = await dereference(upgradedDocument)
|
|
24
|
+
*/
|
|
25
|
+
dereferencedDocument?: OpenAPIV3_1.Document;
|
|
26
|
+
/**
|
|
27
|
+
* The raw OpenAPI document. Doesn’t have to be OpenAPI 3.1.
|
|
28
|
+
*/
|
|
29
|
+
originalDocument?: string;
|
|
14
30
|
isDark: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated We can’t use this anymore. Use `dereferencedDocument` instead.
|
|
33
|
+
*/
|
|
34
|
+
parsedSpec?: Spec;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Use `originalDocument` instead.
|
|
37
|
+
*/
|
|
38
|
+
rawSpec?: string;
|
|
15
39
|
};
|
|
16
40
|
export type GettingStartedExamples = 'Petstore' | 'CoinMarketCap';
|
|
17
41
|
export type ContentProperties = {
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC1G,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC1G,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE7D,YAAY,EAAE,yBAAyB,EAAE,CAAA;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;IACjD;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC3C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG,eAAe,CAAA;AAEjE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;QACf,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,UAAU,CAAC,EAAE,iBAAiB,CAAA;KAC/B,CAAA;CACF,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,EAAE,iBAAiB,CAAA;KAC9B,CAAA;CACF,CAAA;AACD,2DAA2D;AAC3D,MAAM,MAAM,mBAAmB,GAC3B,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,aAAa,GACb,eAAe,GACf,aAAa,CAAA;AAEjB,MAAM,MAAM,oBAAoB,GAAG;KAChC,CAAC,IAAI,mBAAmB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,GAAG;CAC/D,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,mBAAmB,EAAE,GAAG,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA"}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.
|
|
23
|
+
"version": "1.31.1",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
@@ -54,38 +54,37 @@
|
|
|
54
54
|
"nanoid": "^5.1.5",
|
|
55
55
|
"vue": "^3.5.12",
|
|
56
56
|
"zod": "3.24.1",
|
|
57
|
-
"@scalar/api-client": "2.
|
|
58
|
-
"@scalar/
|
|
59
|
-
"@scalar/
|
|
60
|
-
"@scalar/
|
|
61
|
-
"@scalar/openapi-parser": "0.
|
|
57
|
+
"@scalar/api-client": "2.5.0",
|
|
58
|
+
"@scalar/code-highlight": "0.1.1",
|
|
59
|
+
"@scalar/icons": "0.4.2",
|
|
60
|
+
"@scalar/components": "0.14.3",
|
|
61
|
+
"@scalar/openapi-parser": "0.13.0",
|
|
62
62
|
"@scalar/openapi-types": "0.3.1",
|
|
63
|
-
"@scalar/
|
|
64
|
-
"@scalar/themes": "0.
|
|
63
|
+
"@scalar/oas-utils": "0.4.0",
|
|
64
|
+
"@scalar/themes": "0.13.0",
|
|
65
65
|
"@scalar/snippetz": "0.3.0",
|
|
66
66
|
"@scalar/types": "0.2.1",
|
|
67
|
-
"@scalar/use-
|
|
68
|
-
"@scalar/use-
|
|
67
|
+
"@scalar/use-hooks": "0.2.2",
|
|
68
|
+
"@scalar/use-toasts": "0.8.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
+
"@tailwindcss/vite": "^4.1.7",
|
|
71
72
|
"@types/react": "^19.0.1",
|
|
72
73
|
"@types/react-dom": "^19.0.2",
|
|
73
74
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
74
75
|
"@vue/server-renderer": "^3.5.13",
|
|
75
76
|
"@vue/test-utils": "^2.4.1",
|
|
76
|
-
"autoprefixer": "^10.4.19",
|
|
77
|
-
"postcss": "^8.4.38",
|
|
78
77
|
"react": "^19.0.0",
|
|
79
78
|
"react-dom": "^19.0.0",
|
|
80
79
|
"rollup-plugin-webpack-stats": "^0.2.5",
|
|
81
|
-
"tailwindcss": "^
|
|
80
|
+
"tailwindcss": "^4.1.7",
|
|
82
81
|
"vite": "5.4.19",
|
|
83
82
|
"vite-plugin-banner": "^0.7.1",
|
|
84
83
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
85
84
|
"vitest": "^1.6.0",
|
|
86
|
-
"@scalar/build-tooling": "0.2.
|
|
87
|
-
"@scalar/
|
|
88
|
-
"@scalar/
|
|
85
|
+
"@scalar/build-tooling": "0.2.1",
|
|
86
|
+
"@scalar/react-renderer": "0.2.0",
|
|
87
|
+
"@scalar/galaxy": "0.5.0"
|
|
89
88
|
},
|
|
90
89
|
"scripts": {
|
|
91
90
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build && tsc-alias -p tsconfig.build.json",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { OpenAPIV3_1 } from '@scalar/openapi-types';
|
|
2
|
-
export type DiscriminatorMapping = NonNullable<OpenAPIV3_1.DiscriminatorObject['mapping']>;
|
|
3
|
-
export type DiscriminatorPropertyName = OpenAPIV3_1.DiscriminatorObject['propertyName'];
|
|
4
|
-
/** Get discriminator mapping from schema */
|
|
5
|
-
export declare function getDiscriminatorMapping(schema: OpenAPIV3_1.SchemaObject): DiscriminatorMapping | undefined;
|
|
6
|
-
/** Get discriminator property name from schema */
|
|
7
|
-
export declare function getDiscriminatorPropertyName(schema: OpenAPIV3_1.SchemaObject): DiscriminatorPropertyName | undefined;
|
|
8
|
-
/** Check if schema has a discriminator */
|
|
9
|
-
export declare function hasDiscriminator(schema: OpenAPIV3_1.SchemaObject): boolean;
|
|
10
|
-
/** Merge discriminator schemas */
|
|
11
|
-
export declare function mergeDiscriminatorSchemas(baseSchema: OpenAPIV3_1.SchemaObject, selectedType: string, schemas: Record<string, OpenAPIV3_1.SchemaObject>): OpenAPIV3_1.SchemaObject | undefined;
|
|
12
|
-
//# sourceMappingURL=schema-discriminator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-discriminator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/schema-discriminator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAA;AAE1F,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAA;AAEvF,4CAA4C;AAC5C,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,GAAG,oBAAoB,GAAG,SAAS,CAM1G;AAED,kDAAkD;AAClD,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,GAAG,yBAAyB,GAAG,SAAS,CAEpH;AAED,0CAA0C;AAC1C,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,GAAG,OAAO,CAE1E;AAED,kCAAkC;AAClC,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,WAAW,CAAC,YAAY,EACpC,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAChD,WAAW,CAAC,YAAY,GAAG,SAAS,CA0DtC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
function c(r) {
|
|
2
|
-
var i;
|
|
3
|
-
if ((i = r.discriminator) != null && i.mapping)
|
|
4
|
-
return r.discriminator.mapping;
|
|
5
|
-
}
|
|
6
|
-
function m(r) {
|
|
7
|
-
var i;
|
|
8
|
-
return (i = r.discriminator) == null ? void 0 : i.propertyName;
|
|
9
|
-
}
|
|
10
|
-
function q(r, i, d) {
|
|
11
|
-
var s;
|
|
12
|
-
if (!((s = r.discriminator) != null && s.mapping) || !i)
|
|
13
|
-
return;
|
|
14
|
-
const u = r.discriminator.mapping[i];
|
|
15
|
-
if (!u)
|
|
16
|
-
return;
|
|
17
|
-
const o = u.split("/").pop();
|
|
18
|
-
if (!o || !d[o])
|
|
19
|
-
return;
|
|
20
|
-
const t = d[o];
|
|
21
|
-
if (t.allOf) {
|
|
22
|
-
const n = {
|
|
23
|
-
type: t.type,
|
|
24
|
-
properties: {},
|
|
25
|
-
required: []
|
|
26
|
-
}, f = {}, p = /* @__PURE__ */ new Set();
|
|
27
|
-
r.required && r.required.forEach((e) => p.add(e));
|
|
28
|
-
for (const e of t.allOf)
|
|
29
|
-
"properties" in e && Object.assign(f, e.properties), "required" in e && Array.isArray(e.required) && e.required.forEach((a) => p.add(a));
|
|
30
|
-
return n.properties = f, n.required = Array.from(p), n;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
type: t.type || r.type,
|
|
34
|
-
properties: {
|
|
35
|
-
...r.properties || {},
|
|
36
|
-
...t.properties || {}
|
|
37
|
-
},
|
|
38
|
-
required: [...r.required || [], ...t.required || []]
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
c as getDiscriminatorMapping,
|
|
43
|
-
m as getDiscriminatorPropertyName,
|
|
44
|
-
q as mergeDiscriminatorSchemas
|
|
45
|
-
};
|
|
@@ -1,448 +0,0 @@
|
|
|
1
|
-
import type { SpecConfiguration } from '@scalar/types/api-reference';
|
|
2
|
-
import { type MaybeRefOrGetter } from 'vue';
|
|
3
|
-
/**
|
|
4
|
-
* Keep the raw spec content in a ref and update it when the configuration changes.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
7
|
-
specConfig?: MaybeRefOrGetter<SpecConfiguration>;
|
|
8
|
-
proxyUrl?: MaybeRefOrGetter<string>;
|
|
9
|
-
}): {
|
|
10
|
-
rawSpec: import("vue").Ref<string, string>;
|
|
11
|
-
parsedSpec: import("vue").Ref<{
|
|
12
|
-
tags?: {
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
operations: {
|
|
16
|
-
httpVerb: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS";
|
|
17
|
-
path: string;
|
|
18
|
-
operationId?: string | undefined;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
information?: {
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
operationId?: (string | number) | undefined;
|
|
24
|
-
parameters?: {
|
|
25
|
-
name: string;
|
|
26
|
-
in?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
required?: boolean | undefined;
|
|
29
|
-
deprecated?: boolean | undefined;
|
|
30
|
-
allowEmptyValue?: boolean | undefined;
|
|
31
|
-
style?: ("form" | "simple") | undefined;
|
|
32
|
-
explode?: boolean | undefined;
|
|
33
|
-
allowReserved?: boolean | undefined;
|
|
34
|
-
schema?: {
|
|
35
|
-
type: string;
|
|
36
|
-
name?: string | undefined;
|
|
37
|
-
example?: any;
|
|
38
|
-
default?: any;
|
|
39
|
-
format?: string | undefined;
|
|
40
|
-
description?: string | undefined;
|
|
41
|
-
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
example?: any;
|
|
44
|
-
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
45
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
46
|
-
headers?: {
|
|
47
|
-
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
48
|
-
} | undefined;
|
|
49
|
-
}[] | undefined;
|
|
50
|
-
responses?: Record<string, import("@scalar/openapi-types").OpenAPI.ResponseObject> | undefined;
|
|
51
|
-
security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
|
|
52
|
-
requestBody?: {
|
|
53
|
-
description?: string | undefined;
|
|
54
|
-
required?: boolean | undefined;
|
|
55
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
56
|
-
} | undefined;
|
|
57
|
-
summary?: string | undefined;
|
|
58
|
-
tags?: string[] | undefined;
|
|
59
|
-
deprecated?: boolean | undefined;
|
|
60
|
-
servers?: {
|
|
61
|
-
url?: string | undefined;
|
|
62
|
-
description?: string | undefined;
|
|
63
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
64
|
-
}[] | undefined;
|
|
65
|
-
'x-custom-examples'?: {
|
|
66
|
-
lang: string;
|
|
67
|
-
label: string;
|
|
68
|
-
source: string;
|
|
69
|
-
}[] | undefined;
|
|
70
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
71
|
-
'x-codeSamples'?: {
|
|
72
|
-
lang: string;
|
|
73
|
-
label: string;
|
|
74
|
-
source: string;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
'x-code-samples'?: {
|
|
77
|
-
lang: string;
|
|
78
|
-
label: string;
|
|
79
|
-
source: string;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
} | undefined;
|
|
82
|
-
servers?: {
|
|
83
|
-
url?: string | undefined;
|
|
84
|
-
description?: string | undefined;
|
|
85
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
86
|
-
}[] | undefined;
|
|
87
|
-
pathParameters?: {
|
|
88
|
-
name: string;
|
|
89
|
-
in?: string | undefined;
|
|
90
|
-
description?: string | undefined;
|
|
91
|
-
required?: boolean | undefined;
|
|
92
|
-
deprecated?: boolean | undefined;
|
|
93
|
-
allowEmptyValue?: boolean | undefined;
|
|
94
|
-
style?: ("form" | "simple") | undefined;
|
|
95
|
-
explode?: boolean | undefined;
|
|
96
|
-
allowReserved?: boolean | undefined;
|
|
97
|
-
schema?: {
|
|
98
|
-
type: string;
|
|
99
|
-
name?: string | undefined;
|
|
100
|
-
example?: any;
|
|
101
|
-
default?: any;
|
|
102
|
-
format?: string | undefined;
|
|
103
|
-
description?: string | undefined;
|
|
104
|
-
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
105
|
-
} | undefined;
|
|
106
|
-
example?: any;
|
|
107
|
-
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
108
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
109
|
-
headers?: {
|
|
110
|
-
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
111
|
-
} | undefined;
|
|
112
|
-
}[] | undefined;
|
|
113
|
-
}[];
|
|
114
|
-
'x-displayName'?: string | undefined;
|
|
115
|
-
}[] | undefined;
|
|
116
|
-
info: {
|
|
117
|
-
title?: string | undefined;
|
|
118
|
-
description?: string | undefined;
|
|
119
|
-
termsOfService?: string | undefined;
|
|
120
|
-
contact?: {
|
|
121
|
-
name?: string | undefined;
|
|
122
|
-
url?: string | undefined;
|
|
123
|
-
email?: string | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
license?: {
|
|
126
|
-
name?: string | undefined;
|
|
127
|
-
url?: string | undefined;
|
|
128
|
-
} | undefined;
|
|
129
|
-
version?: string | undefined;
|
|
130
|
-
} | {
|
|
131
|
-
title?: string | undefined;
|
|
132
|
-
description?: string | undefined;
|
|
133
|
-
termsOfService?: string | undefined;
|
|
134
|
-
contact?: {
|
|
135
|
-
name?: string | undefined;
|
|
136
|
-
url?: string | undefined;
|
|
137
|
-
email?: string | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
license?: {
|
|
140
|
-
name?: string | undefined;
|
|
141
|
-
url?: string | undefined;
|
|
142
|
-
} | undefined;
|
|
143
|
-
version?: string | undefined;
|
|
144
|
-
} | {
|
|
145
|
-
title?: string | undefined;
|
|
146
|
-
description?: string | undefined;
|
|
147
|
-
termsOfService?: string | undefined;
|
|
148
|
-
contact?: {
|
|
149
|
-
name?: string | undefined;
|
|
150
|
-
url?: string | undefined;
|
|
151
|
-
email?: string | undefined;
|
|
152
|
-
} | undefined;
|
|
153
|
-
version?: string | undefined;
|
|
154
|
-
summary?: string | undefined;
|
|
155
|
-
license?: {
|
|
156
|
-
name?: string | undefined;
|
|
157
|
-
url?: string | undefined;
|
|
158
|
-
identifier?: string | undefined;
|
|
159
|
-
} | undefined;
|
|
160
|
-
} | undefined;
|
|
161
|
-
host?: import("@scalar/openapi-types").OpenAPIV2.Document["host"];
|
|
162
|
-
basePath?: import("@scalar/openapi-types").OpenAPIV2.Document["basePath"];
|
|
163
|
-
schemes?: import("@scalar/openapi-types").OpenAPIV2.Document["schemes"];
|
|
164
|
-
externalDocs?: {
|
|
165
|
-
url: string;
|
|
166
|
-
description?: string | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
servers?: {
|
|
169
|
-
url?: string | undefined;
|
|
170
|
-
description?: string | undefined;
|
|
171
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
172
|
-
}[] | {
|
|
173
|
-
url?: string | undefined;
|
|
174
|
-
description?: string | undefined;
|
|
175
|
-
variables?: {
|
|
176
|
-
[variable: string]: import("@scalar/openapi-types").OpenAPIV3.ServerVariableObject;
|
|
177
|
-
} | undefined;
|
|
178
|
-
}[] | undefined;
|
|
179
|
-
components?: {
|
|
180
|
-
schemas?: {
|
|
181
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject;
|
|
182
|
-
} | undefined;
|
|
183
|
-
responses?: {
|
|
184
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ResponseObject;
|
|
185
|
-
} | undefined;
|
|
186
|
-
parameters?: {
|
|
187
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ParameterObject;
|
|
188
|
-
} | undefined;
|
|
189
|
-
examples?: {
|
|
190
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ExampleObject;
|
|
191
|
-
} | undefined;
|
|
192
|
-
requestBodies?: {
|
|
193
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.RequestBodyObject;
|
|
194
|
-
} | undefined;
|
|
195
|
-
headers?: {
|
|
196
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.HeaderObject;
|
|
197
|
-
} | undefined;
|
|
198
|
-
securitySchemes?: {
|
|
199
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SecuritySchemeObject;
|
|
200
|
-
} | undefined;
|
|
201
|
-
links?: {
|
|
202
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.LinkObject;
|
|
203
|
-
} | undefined;
|
|
204
|
-
callbacks?: {
|
|
205
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.CallbackObject;
|
|
206
|
-
} | undefined;
|
|
207
|
-
} | {
|
|
208
|
-
schemas?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | undefined;
|
|
209
|
-
responses?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ResponseObject> | undefined;
|
|
210
|
-
parameters?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ParameterObject> | undefined;
|
|
211
|
-
examples?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ExampleObject> | undefined;
|
|
212
|
-
requestBodies?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.RequestBodyObject> | undefined;
|
|
213
|
-
headers?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.HeaderObject> | undefined;
|
|
214
|
-
securitySchemes?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.SecuritySchemeObject> | undefined;
|
|
215
|
-
links?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.LinkObject> | undefined;
|
|
216
|
-
callbacks?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
|
|
217
|
-
pathItems?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.PathItemObject> | undefined;
|
|
218
|
-
} | undefined;
|
|
219
|
-
webhooks?: import("@scalar/types").Webhooks | undefined;
|
|
220
|
-
definitions?: import("@scalar/types").Definitions | undefined;
|
|
221
|
-
swagger?: import("@scalar/openapi-types").OpenAPIV2.Document["swagger"];
|
|
222
|
-
openapi?: import("@scalar/openapi-types").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-types").OpenAPIV3_1.Document["openapi"];
|
|
223
|
-
'x-tagGroups'?: {
|
|
224
|
-
name: string;
|
|
225
|
-
tags: string[];
|
|
226
|
-
}[] | undefined;
|
|
227
|
-
security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
|
|
228
|
-
}, import("@scalar/types").Spec | {
|
|
229
|
-
tags?: {
|
|
230
|
-
name: string;
|
|
231
|
-
description: string;
|
|
232
|
-
operations: {
|
|
233
|
-
httpVerb: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS";
|
|
234
|
-
path: string;
|
|
235
|
-
operationId?: string | undefined;
|
|
236
|
-
name?: string | undefined;
|
|
237
|
-
description?: string | undefined;
|
|
238
|
-
information?: {
|
|
239
|
-
description?: string | undefined;
|
|
240
|
-
operationId?: (string | number) | undefined;
|
|
241
|
-
parameters?: {
|
|
242
|
-
name: string;
|
|
243
|
-
in?: string | undefined;
|
|
244
|
-
description?: string | undefined;
|
|
245
|
-
required?: boolean | undefined;
|
|
246
|
-
deprecated?: boolean | undefined;
|
|
247
|
-
allowEmptyValue?: boolean | undefined;
|
|
248
|
-
style?: ("form" | "simple") | undefined;
|
|
249
|
-
explode?: boolean | undefined;
|
|
250
|
-
allowReserved?: boolean | undefined;
|
|
251
|
-
schema?: {
|
|
252
|
-
type: string;
|
|
253
|
-
name?: string | undefined;
|
|
254
|
-
example?: any;
|
|
255
|
-
default?: any;
|
|
256
|
-
format?: string | undefined;
|
|
257
|
-
description?: string | undefined;
|
|
258
|
-
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
259
|
-
} | undefined;
|
|
260
|
-
example?: any;
|
|
261
|
-
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
262
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
263
|
-
headers?: {
|
|
264
|
-
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
265
|
-
} | undefined;
|
|
266
|
-
}[] | undefined;
|
|
267
|
-
responses?: Record<string, import("@scalar/openapi-types").OpenAPI.ResponseObject> | undefined;
|
|
268
|
-
security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
|
|
269
|
-
requestBody?: {
|
|
270
|
-
description?: string | undefined;
|
|
271
|
-
required?: boolean | undefined;
|
|
272
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
273
|
-
} | undefined;
|
|
274
|
-
summary?: string | undefined;
|
|
275
|
-
tags?: string[] | undefined;
|
|
276
|
-
deprecated?: boolean | undefined;
|
|
277
|
-
servers?: {
|
|
278
|
-
url?: string | undefined;
|
|
279
|
-
description?: string | undefined;
|
|
280
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
281
|
-
}[] | undefined;
|
|
282
|
-
'x-custom-examples'?: {
|
|
283
|
-
lang: string;
|
|
284
|
-
label: string;
|
|
285
|
-
source: string;
|
|
286
|
-
}[] | undefined;
|
|
287
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
288
|
-
'x-codeSamples'?: {
|
|
289
|
-
lang: string;
|
|
290
|
-
label: string;
|
|
291
|
-
source: string;
|
|
292
|
-
}[] | undefined;
|
|
293
|
-
'x-code-samples'?: {
|
|
294
|
-
lang: string;
|
|
295
|
-
label: string;
|
|
296
|
-
source: string;
|
|
297
|
-
}[] | undefined;
|
|
298
|
-
} | undefined;
|
|
299
|
-
servers?: {
|
|
300
|
-
url?: string | undefined;
|
|
301
|
-
description?: string | undefined;
|
|
302
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
303
|
-
}[] | undefined;
|
|
304
|
-
pathParameters?: {
|
|
305
|
-
name: string;
|
|
306
|
-
in?: string | undefined;
|
|
307
|
-
description?: string | undefined;
|
|
308
|
-
required?: boolean | undefined;
|
|
309
|
-
deprecated?: boolean | undefined;
|
|
310
|
-
allowEmptyValue?: boolean | undefined;
|
|
311
|
-
style?: ("form" | "simple") | undefined;
|
|
312
|
-
explode?: boolean | undefined;
|
|
313
|
-
allowReserved?: boolean | undefined;
|
|
314
|
-
schema?: {
|
|
315
|
-
type: string;
|
|
316
|
-
name?: string | undefined;
|
|
317
|
-
example?: any;
|
|
318
|
-
default?: any;
|
|
319
|
-
format?: string | undefined;
|
|
320
|
-
description?: string | undefined;
|
|
321
|
-
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
322
|
-
} | undefined;
|
|
323
|
-
example?: any;
|
|
324
|
-
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
325
|
-
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
326
|
-
headers?: {
|
|
327
|
-
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
328
|
-
} | undefined;
|
|
329
|
-
}[] | undefined;
|
|
330
|
-
}[];
|
|
331
|
-
'x-displayName'?: string | undefined;
|
|
332
|
-
}[] | undefined;
|
|
333
|
-
info: {
|
|
334
|
-
title?: string | undefined;
|
|
335
|
-
description?: string | undefined;
|
|
336
|
-
termsOfService?: string | undefined;
|
|
337
|
-
contact?: {
|
|
338
|
-
name?: string | undefined;
|
|
339
|
-
url?: string | undefined;
|
|
340
|
-
email?: string | undefined;
|
|
341
|
-
} | undefined;
|
|
342
|
-
license?: {
|
|
343
|
-
name?: string | undefined;
|
|
344
|
-
url?: string | undefined;
|
|
345
|
-
} | undefined;
|
|
346
|
-
version?: string | undefined;
|
|
347
|
-
} | {
|
|
348
|
-
title?: string | undefined;
|
|
349
|
-
description?: string | undefined;
|
|
350
|
-
termsOfService?: string | undefined;
|
|
351
|
-
contact?: {
|
|
352
|
-
name?: string | undefined;
|
|
353
|
-
url?: string | undefined;
|
|
354
|
-
email?: string | undefined;
|
|
355
|
-
} | undefined;
|
|
356
|
-
license?: {
|
|
357
|
-
name?: string | undefined;
|
|
358
|
-
url?: string | undefined;
|
|
359
|
-
} | undefined;
|
|
360
|
-
version?: string | undefined;
|
|
361
|
-
} | {
|
|
362
|
-
title?: string | undefined;
|
|
363
|
-
description?: string | undefined;
|
|
364
|
-
termsOfService?: string | undefined;
|
|
365
|
-
contact?: {
|
|
366
|
-
name?: string | undefined;
|
|
367
|
-
url?: string | undefined;
|
|
368
|
-
email?: string | undefined;
|
|
369
|
-
} | undefined;
|
|
370
|
-
version?: string | undefined;
|
|
371
|
-
summary?: string | undefined;
|
|
372
|
-
license?: {
|
|
373
|
-
name?: string | undefined;
|
|
374
|
-
url?: string | undefined;
|
|
375
|
-
identifier?: string | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
} | undefined;
|
|
378
|
-
host?: import("@scalar/openapi-types").OpenAPIV2.Document["host"];
|
|
379
|
-
basePath?: import("@scalar/openapi-types").OpenAPIV2.Document["basePath"];
|
|
380
|
-
schemes?: import("@scalar/openapi-types").OpenAPIV2.Document["schemes"];
|
|
381
|
-
externalDocs?: {
|
|
382
|
-
url: string;
|
|
383
|
-
description?: string | undefined;
|
|
384
|
-
} | undefined;
|
|
385
|
-
servers?: {
|
|
386
|
-
url?: string | undefined;
|
|
387
|
-
description?: string | undefined;
|
|
388
|
-
variables?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject> | undefined;
|
|
389
|
-
}[] | {
|
|
390
|
-
url?: string | undefined;
|
|
391
|
-
description?: string | undefined;
|
|
392
|
-
variables?: {
|
|
393
|
-
[variable: string]: import("@scalar/openapi-types").OpenAPIV3.ServerVariableObject;
|
|
394
|
-
} | undefined;
|
|
395
|
-
}[] | undefined;
|
|
396
|
-
components?: {
|
|
397
|
-
schemas?: {
|
|
398
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SchemaObject;
|
|
399
|
-
} | undefined;
|
|
400
|
-
responses?: {
|
|
401
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ResponseObject;
|
|
402
|
-
} | undefined;
|
|
403
|
-
parameters?: {
|
|
404
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ParameterObject;
|
|
405
|
-
} | undefined;
|
|
406
|
-
examples?: {
|
|
407
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.ExampleObject;
|
|
408
|
-
} | undefined;
|
|
409
|
-
requestBodies?: {
|
|
410
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.RequestBodyObject;
|
|
411
|
-
} | undefined;
|
|
412
|
-
headers?: {
|
|
413
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.HeaderObject;
|
|
414
|
-
} | undefined;
|
|
415
|
-
securitySchemes?: {
|
|
416
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.SecuritySchemeObject;
|
|
417
|
-
} | undefined;
|
|
418
|
-
links?: {
|
|
419
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.LinkObject;
|
|
420
|
-
} | undefined;
|
|
421
|
-
callbacks?: {
|
|
422
|
-
[key: string]: import("@scalar/openapi-types").OpenAPIV3.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3.CallbackObject;
|
|
423
|
-
} | undefined;
|
|
424
|
-
} | {
|
|
425
|
-
schemas?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.SchemaObject> | undefined;
|
|
426
|
-
responses?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ResponseObject> | undefined;
|
|
427
|
-
parameters?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ParameterObject> | undefined;
|
|
428
|
-
examples?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.ExampleObject> | undefined;
|
|
429
|
-
requestBodies?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.RequestBodyObject> | undefined;
|
|
430
|
-
headers?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.HeaderObject> | undefined;
|
|
431
|
-
securitySchemes?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.SecuritySchemeObject> | undefined;
|
|
432
|
-
links?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.LinkObject> | undefined;
|
|
433
|
-
callbacks?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
|
|
434
|
-
pathItems?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.PathItemObject> | undefined;
|
|
435
|
-
} | undefined;
|
|
436
|
-
webhooks?: import("@scalar/types").Webhooks | undefined;
|
|
437
|
-
definitions?: import("@scalar/types").Definitions | undefined;
|
|
438
|
-
swagger?: import("@scalar/openapi-types").OpenAPIV2.Document["swagger"];
|
|
439
|
-
openapi?: import("@scalar/openapi-types").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-types").OpenAPIV3_1.Document["openapi"];
|
|
440
|
-
'x-tagGroups'?: {
|
|
441
|
-
name: string;
|
|
442
|
-
tags: string[];
|
|
443
|
-
}[] | undefined;
|
|
444
|
-
security?: import("@scalar/openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
|
|
445
|
-
}>;
|
|
446
|
-
specErrors: import("vue").Ref<string | null, string | null>;
|
|
447
|
-
};
|
|
448
|
-
//# sourceMappingURL=useReactiveSpec.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,KAAK,gBAAgB,EAAuB,MAAM,KAAK,CAAA;AAgDhE;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,QAAQ,GACT,EAAE;IACD,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAA;IAChD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CACpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDA"}
|