@scalar/workspace-store 0.68.3 → 0.68.5
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/README.md +20 -0
- package/dist/channel-example/build-connection-url.d.ts.map +1 -1
- package/dist/channel-example/build-connection-url.js +6 -5
- package/dist/channel-example/get-all-channel-messages.js +2 -2
- package/dist/channel-example/get-async-api-protocols.js +3 -3
- package/dist/channel-example/get-asyncapi-security-requirements.d.ts.map +1 -1
- package/dist/channel-example/get-asyncapi-security-requirements.js +14 -14
- package/dist/channel-example/get-channel-operations.js +2 -2
- package/dist/channel-example/get-channel-parameters.js +2 -2
- package/dist/channel-example/resolve-channel.js +2 -2
- package/dist/channel-example/resolve-operation-channel.js +4 -4
- package/dist/channel-example/servers.js +2 -2
- package/dist/entities/auth/schema.d.ts +20 -0
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/entities/auth/schema.js +2 -0
- package/dist/helpers/get-async-api-schema-view.d.ts +8 -0
- package/dist/helpers/get-async-api-schema-view.d.ts.map +1 -0
- package/dist/helpers/get-async-api-schema-view.js +82 -0
- package/dist/helpers/get-resolved-async-api-ref.d.ts +10 -0
- package/dist/helpers/get-resolved-async-api-ref.d.ts.map +1 -0
- package/dist/helpers/get-resolved-async-api-ref.js +18 -0
- package/dist/helpers/resolve-traits.d.ts.map +1 -1
- package/dist/helpers/resolve-traits.js +23 -15
- package/dist/helpers/snapshot-schema.d.ts +9 -0
- package/dist/helpers/snapshot-schema.d.ts.map +1 -0
- package/dist/helpers/snapshot-schema.js +38 -0
- package/dist/mutators/auth.d.ts +2 -1
- package/dist/mutators/auth.d.ts.map +1 -1
- package/dist/mutators/auth.js +30 -1
- package/dist/mutators/index.d.ts +2 -2
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.js +3 -0
- package/dist/navigation/helpers/get-tag-external-docs.d.ts +4 -0
- package/dist/navigation/helpers/get-tag-external-docs.d.ts.map +1 -0
- package/dist/navigation/helpers/get-tag-external-docs.js +6 -0
- package/dist/navigation/helpers/traverse-asyncapi-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-asyncapi-document.js +51 -19
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +3 -0
- package/dist/request-example/builder/body/get-request-body-example.d.ts +2 -2
- package/dist/request-example/builder/body/get-request-body-example.d.ts.map +1 -1
- package/dist/request-example/builder/body/get-request-body-example.js +6 -6
- package/dist/request-example/builder/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.js +41 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.js +2 -0
- package/dist/request-example/context/security/merge-security.d.ts.map +1 -1
- package/dist/request-example/context/security/merge-security.js +10 -1
- package/dist/request-example/context/security/uses-api-key-name-override.d.ts +9 -0
- package/dist/request-example/context/security/uses-api-key-name-override.d.ts.map +1 -0
- package/dist/request-example/context/security/uses-api-key-name-override.js +9 -0
- package/dist/request-example/xml/write-xml.d.ts.map +1 -1
- package/dist/request-example/xml/write-xml.js +1 -0
- package/dist/schemas/navigation.d.ts +4 -0
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +2 -1
- package/dist/schemas/reference-config/index.d.ts +2 -0
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +2 -0
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +70 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/openapi-document.d.ts +70 -0
- package/dist/schemas/v3.2/strict/openapi-document.d.ts.map +1 -1
- package/dist/server.d.ts +7 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +12 -5
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @scalar/workspace-store
|
|
2
2
|
|
|
3
|
+
## 0.68.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#10677](https://github.com/scalar/scalar/pull/10677): Generate serialized JSON examples from `contentSchema` instead of falling back to `null`, including JSON media type parameters, structured JSON suffixes, and string type arrays.
|
|
8
|
+
|
|
9
|
+
## 0.68.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#10530](https://github.com/scalar/scalar/pull/10530): Render AsyncAPI external documentation on servers, channels, operations, messages, tags, and schemas, with referenced objects and descriptions, using the existing OpenAPI link presentation.
|
|
14
|
+
|
|
15
|
+
Keep AsyncAPI messages searchable when navigation renders them beneath operations.
|
|
16
|
+
|
|
17
|
+
- [#10599](https://github.com/scalar/scalar/pull/10599): Preserve recursive schemas when generating request bodies, code samples, and response examples instead of replacing recursion points with null or empty arrays.
|
|
18
|
+
- [#10607](https://github.com/scalar/scalar/pull/10607): Block private-network document requests by default and require an explicit documentLoading.basePath for local files. Apply the same permissions to external references, with an opt-in for trusted private-network inputs.
|
|
19
|
+
- [#10365](https://github.com/scalar/scalar/pull/10365): Preserve document-backed API key name edits for export, allow clearing configured names, and release configured overrides when their default name is restored.
|
|
20
|
+
- [#10588](https://github.com/scalar/scalar/pull/10588): Ignore sibling properties on AsyncAPI Reference Objects when rendering content, navigation, search, and schemas.
|
|
21
|
+
- [#10614](https://github.com/scalar/scalar/pull/10614): Clean up lint warnings while preserving runtime behavior, and document intentional schema and type syntax.
|
|
22
|
+
- [#10638](https://github.com/scalar/scalar/pull/10638): Give the untagged webhooks sidebar section the id `{document}/webhooks` instead of `{document}/webhook/undefined/`.
|
|
23
|
+
|
|
3
24
|
## 0.68.3
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -19,6 +19,26 @@ Scalar is an open-source API platform for teams who want beautiful developer int
|
|
|
19
19
|
|
|
20
20
|
Server side data store which enables document chunking to reduce initial loading time specially when working with large openapi documents
|
|
21
21
|
|
|
22
|
+
### Document loading permissions
|
|
23
|
+
|
|
24
|
+
Server document URLs and external references block private, loopback, and link-local addresses
|
|
25
|
+
by default. Protected requests also reject redirects. File access requires an explicit
|
|
26
|
+
`documentLoading.basePath`, which confines both direct reads and external references, including
|
|
27
|
+
symlinks, to an approved directory. These permissions apply to initial documents and `addDocument`.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
const store = await createServerWorkspaceStore({
|
|
31
|
+
mode: 'ssr',
|
|
32
|
+
baseUrl: '/docs',
|
|
33
|
+
documents: [{ name: 'api', path: './descriptions/openapi.yaml' }],
|
|
34
|
+
documentLoading: { basePath: './descriptions' },
|
|
35
|
+
})
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
For trusted local development inputs, `documentLoading.allowPrivateNetworks: true` permits private
|
|
39
|
+
network URLs and redirects. Configure these permissions in the application, never from untrusted
|
|
40
|
+
request parameters. The approved directory also applies to references in remote documents.
|
|
41
|
+
|
|
22
42
|
#### Usage
|
|
23
43
|
|
|
24
44
|
Create a new store in SSR mode
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-connection-url.d.ts","sourceRoot":"","sources":["../../src/channel-example/build-connection-url.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,4BAA4B,CAAA;AAInC,2FAA2F;AAC3F,eAAO,MAAM,4BAA4B,wBAAyB,CAAA;AAElE,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAA;AAErF,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,oBAAoB,CAAA;IAC5B,OAAO,EAAE,qBAAqB,CAAA;IAC9B,SAAS,CAAC,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,CAAC,KACvC,eAoBF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,GAAI,wFAOhC,uBAAuB,KAAG,MAkB5B,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { isObject } from '@scalar/helpers/object/is-object';
|
|
|
2
2
|
import { objectEntries } from '@scalar/helpers/object/object-entries';
|
|
3
3
|
import { replaceEnvVariables, replacePathVariables } from '@scalar/helpers/regex/replace-variables';
|
|
4
4
|
import { combineUrlAndPath, mergeUrls } from '@scalar/helpers/url/merge-urls';
|
|
5
|
-
import {
|
|
5
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
6
6
|
/** AsyncAPI server protocols supported for WebSocket connections in the API client MVP. */
|
|
7
7
|
export const ASYNCAPI_WEBSOCKET_PROTOCOLS = ['ws', 'wss'];
|
|
8
8
|
/**
|
|
@@ -13,7 +13,7 @@ export const getAsyncApiServerVariables = (server) => {
|
|
|
13
13
|
return {};
|
|
14
14
|
}
|
|
15
15
|
return objectEntries(server.variables).reduce((acc, [name, variable]) => {
|
|
16
|
-
const resolved =
|
|
16
|
+
const resolved = getResolvedAsyncApiRef(variable);
|
|
17
17
|
if (resolved?.default != null) {
|
|
18
18
|
acc[String(name)] = String(resolved.default);
|
|
19
19
|
}
|
|
@@ -64,7 +64,7 @@ const resolveWsBinding = (bindings) => {
|
|
|
64
64
|
if (!bindings) {
|
|
65
65
|
return undefined;
|
|
66
66
|
}
|
|
67
|
-
const resolved =
|
|
67
|
+
const resolved = getResolvedAsyncApiRef(bindings);
|
|
68
68
|
return resolved?.ws;
|
|
69
69
|
};
|
|
70
70
|
/** Merges channel and operation WebSocket bindings; operation fields override channel. */
|
|
@@ -84,7 +84,7 @@ const resolveWsQuerySchema = (query) => {
|
|
|
84
84
|
if (!query) {
|
|
85
85
|
return undefined;
|
|
86
86
|
}
|
|
87
|
-
const resolved =
|
|
87
|
+
const resolved = getResolvedAsyncApiRef(query);
|
|
88
88
|
if (resolved === true || resolved === false || !isObject(resolved)) {
|
|
89
89
|
return undefined;
|
|
90
90
|
}
|
|
@@ -115,7 +115,8 @@ const mergeWsQuerySchemas = (channelQuery, operationQuery) => {
|
|
|
115
115
|
},
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
|
-
const getDefaultValueFromPropertySchema = (
|
|
118
|
+
const getDefaultValueFromPropertySchema = (source) => {
|
|
119
|
+
const propertySchema = getResolvedAsyncApiRef(source);
|
|
119
120
|
if (propertySchema === true || propertySchema === false || !isObject(propertySchema)) {
|
|
120
121
|
return undefined;
|
|
121
122
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { objectEntries } from '@scalar/helpers/object/object-entries';
|
|
2
|
-
import {
|
|
2
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
3
3
|
/**
|
|
4
4
|
* Resolves every message defined on a channel (AsyncAPI data store for payloads).
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ export const getAllChannelMessages = (_document, channel) => {
|
|
|
9
9
|
}
|
|
10
10
|
return objectEntries(channel.messages)
|
|
11
11
|
.map(([name, messageRef]) => {
|
|
12
|
-
const message =
|
|
12
|
+
const message = getResolvedAsyncApiRef(messageRef);
|
|
13
13
|
return { name, message };
|
|
14
14
|
})
|
|
15
15
|
.filter((entry) => entry.message != null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { objectEntries } from '@scalar/helpers/object/object-entries';
|
|
2
2
|
import { objectKeys } from '@scalar/helpers/object/object-keys';
|
|
3
|
-
import {
|
|
3
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
4
4
|
import { normalizeProtocol } from './build-connection-url.js';
|
|
5
5
|
import { resolveOperationChannel } from './resolve-operation-channel.js';
|
|
6
6
|
import { getChannelServerNames } from './servers.js';
|
|
@@ -13,7 +13,7 @@ export const ALL = 'all';
|
|
|
13
13
|
const getServerProtocols = (document) => {
|
|
14
14
|
const protocols = new Map();
|
|
15
15
|
for (const [name, serverNode] of objectEntries(document.servers ?? {})) {
|
|
16
|
-
const protocol = normalizeProtocol(
|
|
16
|
+
const protocol = normalizeProtocol(getResolvedAsyncApiRef(serverNode)?.protocol);
|
|
17
17
|
if (protocol) {
|
|
18
18
|
protocols.set(name, protocol);
|
|
19
19
|
}
|
|
@@ -43,7 +43,7 @@ export const getAsyncApiProtocols = (document) => {
|
|
|
43
43
|
*/
|
|
44
44
|
export const getAsyncApiServerOptions = (document) => {
|
|
45
45
|
const options = objectEntries(document.servers ?? {}).map(([name, serverNode]) => {
|
|
46
|
-
const protocol = normalizeProtocol(
|
|
46
|
+
const protocol = normalizeProtocol(getResolvedAsyncApiRef(serverNode)?.protocol);
|
|
47
47
|
return { id: name, label: protocol ? `${name} (${protocol})` : name };
|
|
48
48
|
});
|
|
49
49
|
return [{ id: ALL, label: 'All servers' }, ...options];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-asyncapi-security-requirements.d.ts","sourceRoot":"","sources":["../../src/channel-example/get-asyncapi-security-requirements.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAInC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AAyB3F;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,UAAU,gBAAgB,EAC1B,SAAQ;IACN,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;CAChD,KACL,MAAM,CAAC,MAAM,EAAE,4BAA4B,
|
|
1
|
+
{"version":3,"file":"get-asyncapi-security-requirements.d.ts","sourceRoot":"","sources":["../../src/channel-example/get-asyncapi-security-requirements.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAInC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AAyB3F;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,GACrC,UAAU,gBAAgB,EAC1B,SAAQ;IACN,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;CAChD,KACL,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAsC7C,CAAA;AAwED;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAC1C,UAAU,gBAAgB,EAC1B,YAAY,uBAAuB,GAAG,IAAI,EAC1C,SAAS,oBAAoB,GAAG,IAAI,EACpC,YAAW;IAAE,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAO,KAC9D,yBAAyB,EAoC3B,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,GAAI,UAAU,gBAAgB,KAAG,yBAAyB,EA6B7G,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { isObjectEqual } from '@scalar/helpers/object/is-object-equal';
|
|
2
2
|
import { getNameFromRef } from '../helpers/get-name-from-ref.js';
|
|
3
|
-
import {
|
|
3
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
4
4
|
import { dedupeRequirements } from './dedupe-requirements.js';
|
|
5
5
|
import { resolveOperationWithTraits } from './resolve-operation-with-traits.js';
|
|
6
6
|
const getSecuritySchemeNameFromRef = (ref) => getNameFromRef(ref, ['components', 'securitySchemes']);
|
|
7
7
|
/** Strips requirement-only `scopes` so inline entries can match component scheme definitions. */
|
|
8
8
|
const getSecuritySchemeDefinition = (entry) => {
|
|
9
|
-
const resolved =
|
|
9
|
+
const resolved = getResolvedAsyncApiRef(entry);
|
|
10
10
|
if (resolved == null) {
|
|
11
11
|
return undefined;
|
|
12
12
|
}
|
|
@@ -22,17 +22,17 @@ const getSecuritySchemeDefinition = (entry) => {
|
|
|
22
22
|
* Component names remain unchanged for existing auth configuration and persisted credentials.
|
|
23
23
|
*/
|
|
24
24
|
export const getAsyncApiSecuritySchemes = (document, owners = {}) => {
|
|
25
|
-
const components = document.components ?
|
|
25
|
+
const components = document.components ? getResolvedAsyncApiRef(document.components) : undefined;
|
|
26
26
|
const schemes = {};
|
|
27
27
|
for (const [name, reference] of Object.entries(components?.securitySchemes ?? {})) {
|
|
28
|
-
const scheme =
|
|
28
|
+
const scheme = getResolvedAsyncApiRef(reference);
|
|
29
29
|
if (scheme) {
|
|
30
30
|
schemes[name] = scheme;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
const register = (security, location) => {
|
|
34
34
|
for (const [index, entry] of (security ?? []).entries()) {
|
|
35
|
-
const scheme =
|
|
35
|
+
const scheme = getResolvedAsyncApiRef(entry);
|
|
36
36
|
if (!scheme || !('type' in scheme)) {
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
@@ -43,13 +43,13 @@ export const getAsyncApiSecuritySchemes = (document, owners = {}) => {
|
|
|
43
43
|
schemes[getInlineSecuritySchemeName(document, scheme, location, index)] = scheme;
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
const servers = owners.servers ?? (document.servers ?
|
|
46
|
+
const servers = owners.servers ?? (document.servers ? getResolvedAsyncApiRef(document.servers) : undefined);
|
|
47
47
|
for (const [name, reference] of Object.entries(servers ?? {})) {
|
|
48
|
-
register(
|
|
48
|
+
register(getResolvedAsyncApiRef(reference)?.security, `Server ${name}`);
|
|
49
49
|
}
|
|
50
|
-
const operations = owners.operations ?? (document.operations ?
|
|
50
|
+
const operations = owners.operations ?? (document.operations ? getResolvedAsyncApiRef(document.operations) : undefined);
|
|
51
51
|
for (const [name, reference] of Object.entries(operations ?? {})) {
|
|
52
|
-
const operation =
|
|
52
|
+
const operation = getResolvedAsyncApiRef(reference);
|
|
53
53
|
if (operation) {
|
|
54
54
|
register(resolveOperationWithTraits(operation).security, `Operation ${name}`);
|
|
55
55
|
}
|
|
@@ -67,17 +67,17 @@ const getComponentSecuritySchemeName = (document, entry) => {
|
|
|
67
67
|
if (!definition) {
|
|
68
68
|
return undefined;
|
|
69
69
|
}
|
|
70
|
-
const components = document.components ?
|
|
70
|
+
const components = document.components ? getResolvedAsyncApiRef(document.components) : undefined;
|
|
71
71
|
return Object.entries(components?.securitySchemes ?? {}).find(([, scheme]) => isObjectEqual(getSecuritySchemeDefinition(scheme), definition))?.[0];
|
|
72
72
|
};
|
|
73
73
|
/** Use declaration locations rather than object identity: traits can share the same object. */
|
|
74
74
|
const getInlineSecuritySchemeName = (document, scheme, location, index) => {
|
|
75
|
-
const components = document.components ?
|
|
75
|
+
const components = document.components ? getResolvedAsyncApiRef(document.components) : undefined;
|
|
76
76
|
const availableName = (name) => Object.hasOwn(components?.securitySchemes ?? {}, name) ? availableName(`${name} (inline)`) : name;
|
|
77
77
|
return availableName(`${location} · ${scheme.type} ${index + 1}`);
|
|
78
78
|
};
|
|
79
79
|
const securityEntryToRequirement = (document, entry, index, location, schemes) => {
|
|
80
|
-
const resolved =
|
|
80
|
+
const resolved = getResolvedAsyncApiRef(entry);
|
|
81
81
|
const schemeName = getComponentSecuritySchemeName(document, entry) ??
|
|
82
82
|
(resolved && 'type' in resolved && location !== undefined
|
|
83
83
|
? getInlineSecuritySchemeName(document, resolved, location, index)
|
|
@@ -129,13 +129,13 @@ export const getAsyncApiSecurityRequirements = (document, operation, server, loc
|
|
|
129
129
|
* intentionally excluded here — that is per-channel and handled separately.
|
|
130
130
|
*/
|
|
131
131
|
export const getAsyncApiDocumentSecurityRequirements = (document) => {
|
|
132
|
-
const servers = document.servers ?
|
|
132
|
+
const servers = document.servers ? getResolvedAsyncApiRef(document.servers) : undefined;
|
|
133
133
|
if (!servers) {
|
|
134
134
|
return [];
|
|
135
135
|
}
|
|
136
136
|
const resolvedServers = Object.entries(servers).map(([name, serverRef]) => ({
|
|
137
137
|
name,
|
|
138
|
-
server:
|
|
138
|
+
server: getResolvedAsyncApiRef(serverRef),
|
|
139
139
|
}));
|
|
140
140
|
const perServerRequirements = resolvedServers.map(({ name, server }) => getAsyncApiSecurityRequirements(document, null, server, { serverName: name }));
|
|
141
141
|
const combined = perServerRequirements.flat();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
2
2
|
import { resolveOperationChannel } from './resolve-operation-channel.js';
|
|
3
3
|
import { resolveOperationWithTraits } from './resolve-operation-with-traits.js';
|
|
4
4
|
/**
|
|
@@ -8,7 +8,7 @@ export const getChannelOperations = (document, channelName) => {
|
|
|
8
8
|
const operations = document.operations ?? {};
|
|
9
9
|
return Object.entries(operations)
|
|
10
10
|
.map(([operationName, operationRef]) => {
|
|
11
|
-
const resolvedOperation =
|
|
11
|
+
const resolvedOperation = getResolvedAsyncApiRef(operationRef);
|
|
12
12
|
if (!resolvedOperation) {
|
|
13
13
|
return undefined;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { objectEntries } from '@scalar/helpers/object/object-entries';
|
|
2
2
|
import { findVariables } from '@scalar/helpers/regex/find-variables';
|
|
3
3
|
import { buildWsQueryParams, mergeWsBindings } from '../channel-example/build-connection-url.js';
|
|
4
|
-
import {
|
|
4
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
5
5
|
const getPathParameterNames = (address) => {
|
|
6
6
|
if (address == null || address === '') {
|
|
7
7
|
return [];
|
|
@@ -33,7 +33,7 @@ export const getChannelParameters = (channel, operation, overrides = {}) => {
|
|
|
33
33
|
const definitions = {};
|
|
34
34
|
if (channel.parameters) {
|
|
35
35
|
for (const [name, parameterRef] of objectEntries(channel.parameters)) {
|
|
36
|
-
const parameter =
|
|
36
|
+
const parameter = getResolvedAsyncApiRef(parameterRef);
|
|
37
37
|
if (parameter) {
|
|
38
38
|
definitions[name] = parameter;
|
|
39
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
2
2
|
/**
|
|
3
3
|
* Resolves a channel by its key in `document.channels`.
|
|
4
4
|
*/
|
|
@@ -7,7 +7,7 @@ export const resolveChannel = (document, channelName) => {
|
|
|
7
7
|
if (!channelNode) {
|
|
8
8
|
return undefined;
|
|
9
9
|
}
|
|
10
|
-
const channel =
|
|
10
|
+
const channel = getResolvedAsyncApiRef(channelNode);
|
|
11
11
|
if (!channel) {
|
|
12
12
|
return undefined;
|
|
13
13
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getNameFromRef } from '../helpers/get-name-from-ref.js';
|
|
2
|
-
import {
|
|
2
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
3
3
|
const getChannelNameFromRef = (ref) => getNameFromRef(ref, ['channels']);
|
|
4
4
|
const findChannelName = (document, channel) => {
|
|
5
5
|
if (!document.channels) {
|
|
6
6
|
return undefined;
|
|
7
7
|
}
|
|
8
8
|
for (const [channelName, channelNode] of Object.entries(document.channels)) {
|
|
9
|
-
const resolved =
|
|
9
|
+
const resolved = getResolvedAsyncApiRef(channelNode);
|
|
10
10
|
if (resolved === channel) {
|
|
11
11
|
return channelName;
|
|
12
12
|
}
|
|
@@ -23,14 +23,14 @@ export const resolveOperationChannel = (document, operation) => {
|
|
|
23
23
|
}
|
|
24
24
|
const channelNameFromRef = '$ref' in channelNode ? getChannelNameFromRef(channelNode.$ref) : undefined;
|
|
25
25
|
if (channelNameFromRef && document.channels?.[channelNameFromRef]) {
|
|
26
|
-
const channel =
|
|
26
|
+
const channel = getResolvedAsyncApiRef(document.channels[channelNameFromRef]);
|
|
27
27
|
if (!channel) {
|
|
28
28
|
return undefined;
|
|
29
29
|
}
|
|
30
30
|
const channelAddress = typeof channel.address === 'string' && channel.address.length > 0 ? channel.address : channelNameFromRef;
|
|
31
31
|
return { channelName: channelNameFromRef, channel, channelAddress };
|
|
32
32
|
}
|
|
33
|
-
const channel =
|
|
33
|
+
const channel = getResolvedAsyncApiRef(channelNode);
|
|
34
34
|
if (!channel) {
|
|
35
35
|
return undefined;
|
|
36
36
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { objectEntries } from '@scalar/helpers/object/object-entries';
|
|
2
2
|
import { buildAsyncApiServerBaseUrl, buildConnectionUrl, isWebSocketProtocol, } from '../channel-example/build-connection-url.js';
|
|
3
3
|
import { getNameFromRef } from '../helpers/get-name-from-ref.js';
|
|
4
|
-
import {
|
|
4
|
+
import { getResolvedAsyncApiRef } from '../helpers/get-resolved-async-api-ref.js';
|
|
5
5
|
import { isAsyncApiDocument } from '../schemas/type-guards.js';
|
|
6
|
-
const resolveServer = (server) =>
|
|
6
|
+
const resolveServer = (server) => getResolvedAsyncApiRef(server);
|
|
7
7
|
const getServerNameFromRef = (ref) => getNameFromRef(ref, ['servers']);
|
|
8
8
|
/**
|
|
9
9
|
* Collects the names of `document.servers` entries that the channel is restricted to.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type Static } from '@scalar/typebox';
|
|
2
2
|
declare const SecretsApiKeySchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
3
3
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
4
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
5
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
4
6
|
}>, import("@scalar/typebox").TObject<{
|
|
5
7
|
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
6
8
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -446,6 +448,8 @@ declare const SecretsGssapiSchema: import("@scalar/typebox").TIntersect<[import(
|
|
|
446
448
|
export type SecretsGssapi = Static<typeof SecretsGssapiSchema>;
|
|
447
449
|
export declare const SecretsAuthUnionSchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
448
450
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
451
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
452
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
449
453
|
}>, import("@scalar/typebox").TObject<{
|
|
450
454
|
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
451
455
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -778,6 +782,8 @@ export declare const SecretsAuthUnionSchema: import("@scalar/typebox").TUnion<[i
|
|
|
778
782
|
export type SecretsAuthUnion = Static<typeof SecretsAuthUnionSchema>;
|
|
779
783
|
export declare const SecretsAuthSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
780
784
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
785
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
786
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
781
787
|
}>, import("@scalar/typebox").TObject<{
|
|
782
788
|
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
783
789
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -2904,6 +2910,7 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
|
|
|
2904
2910
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
2905
2911
|
name: import("@scalar/typebox").TString;
|
|
2906
2912
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2913
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
2907
2914
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
2908
2915
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
2909
2916
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -2965,6 +2972,7 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
|
|
|
2965
2972
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
2966
2973
|
name: import("@scalar/typebox").TString;
|
|
2967
2974
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2975
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
2968
2976
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
2969
2977
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
2970
2978
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -3016,6 +3024,8 @@ export type SelectedSecurity = Static<typeof SelectedSecuritySchema>;
|
|
|
3016
3024
|
export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
3017
3025
|
secrets: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
3018
3026
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
3027
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
3028
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
3019
3029
|
}>, import("@scalar/typebox").TObject<{
|
|
3020
3030
|
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
3021
3031
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -5142,6 +5152,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
5142
5152
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
5143
5153
|
name: import("@scalar/typebox").TString;
|
|
5144
5154
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5155
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
5145
5156
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
5146
5157
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
5147
5158
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -5203,6 +5214,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
5203
5214
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
5204
5215
|
name: import("@scalar/typebox").TString;
|
|
5205
5216
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5217
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
5206
5218
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
5207
5219
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
5208
5220
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -7046,6 +7058,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
7046
7058
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
7047
7059
|
name: import("@scalar/typebox").TString;
|
|
7048
7060
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7061
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
7049
7062
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
7050
7063
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
7051
7064
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -7107,6 +7120,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
|
|
|
7107
7120
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
7108
7121
|
name: import("@scalar/typebox").TString;
|
|
7109
7122
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7123
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
7110
7124
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
7111
7125
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
7112
7126
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -7160,6 +7174,8 @@ export type Auth = Static<typeof AuthSchema>;
|
|
|
7160
7174
|
export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
7161
7175
|
secrets: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
7162
7176
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
7177
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
7178
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
7163
7179
|
}>, import("@scalar/typebox").TObject<{
|
|
7164
7180
|
'x-scalar-secret-token': import("@scalar/typebox").TString;
|
|
7165
7181
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -9286,6 +9302,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
9286
9302
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
9287
9303
|
name: import("@scalar/typebox").TString;
|
|
9288
9304
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
9305
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
9289
9306
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
9290
9307
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
9291
9308
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -9347,6 +9364,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
9347
9364
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
9348
9365
|
name: import("@scalar/typebox").TString;
|
|
9349
9366
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
9367
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
9350
9368
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
9351
9369
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
9352
9370
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -11190,6 +11208,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
11190
11208
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
11191
11209
|
name: import("@scalar/typebox").TString;
|
|
11192
11210
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
11211
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
11193
11212
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
11194
11213
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
11195
11214
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -11251,6 +11270,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
|
|
|
11251
11270
|
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
11252
11271
|
name: import("@scalar/typebox").TString;
|
|
11253
11272
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
11273
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
11254
11274
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
11255
11275
|
isGroup: import("@scalar/typebox").TBoolean;
|
|
11256
11276
|
isTagGroup: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AA+BnD,QAAA,MAAM,mBAAmB;;;;;;IAMxB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9D,QAAA,MAAM,iBAAiB;;;;;;;;;IAOtB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAc1D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB3B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEtE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoMF,CAAA;AACxE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA"}
|
|
@@ -10,6 +10,8 @@ const ClearedSecretFieldsSchema = Type.Object({
|
|
|
10
10
|
});
|
|
11
11
|
const SecretsApiKeySchema = compose(Type.Object({
|
|
12
12
|
type: Type.Literal('apiKey'),
|
|
13
|
+
/** User-entered parameter name, including an explicit empty value. */
|
|
14
|
+
name: Type.Optional(Type.String()),
|
|
13
15
|
}), XScalarSecretTokenSchema, ClearedSecretFieldsSchema);
|
|
14
16
|
const SecretsHttpSchema = compose(Type.Object({
|
|
15
17
|
type: Type.Literal('http'),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Give shared schema renderers and example generation an AsyncAPI view without authored
|
|
3
|
+
* reference siblings. Keep reference wrappers for model links and traverse only schema
|
|
4
|
+
* positions: examples, defaults, extensions, and property names can contain literal `$ref`s.
|
|
5
|
+
* The snapshot is local to a read so subsequent reactive edits are not hidden by a cache.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getAsyncApiSchemaView: (source: unknown, schemaFormat?: string) => unknown;
|
|
8
|
+
//# sourceMappingURL=get-async-api-schema-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-async-api-schema-view.d.ts","sourceRoot":"","sources":["../../src/helpers/get-async-api-schema-view.ts"],"names":[],"mappings":"AAoBA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,OAAO,EAAE,eAAe,MAAM,KAAG,OAiE9E,CAAA"}
|