@scalar/workspace-store 0.56.1 → 0.57.0
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 +10 -0
- package/dist/entities/auth/schema.d.ts +220 -20
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.d.ts +28 -4
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +28 -4
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts +19 -1
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.js +6 -1
- package/dist/schemas/v3.1/strict/oauthflows.d.ts +16 -0
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +980 -140
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +14 -5
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.js +5 -2
- package/dist/schemas/v3.2/openapi/index.d.ts +144 -0
- package/dist/schemas/v3.2/openapi/index.d.ts.map +1 -0
- package/dist/schemas/v3.2/openapi/index.js +713 -0
- package/dist/schemas/v3.2/openapi/reference.d.ts +4 -0
- package/dist/schemas/v3.2/openapi/reference.d.ts.map +1 -0
- package/dist/schemas/v3.2/openapi/reference.js +29 -0
- package/dist/schemas/v3.2/strict/callback.d.ts +15 -0
- package/dist/schemas/v3.2/strict/callback.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/callback.js +6 -0
- package/dist/schemas/v3.2/strict/components.d.ts +173 -0
- package/dist/schemas/v3.2/strict/components.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/components.js +29 -0
- package/dist/schemas/v3.2/strict/contact.d.ts +19 -0
- package/dist/schemas/v3.2/strict/contact.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/contact.js +10 -0
- package/dist/schemas/v3.2/strict/discriminator.d.ts +27 -0
- package/dist/schemas/v3.2/strict/discriminator.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/discriminator.js +14 -0
- package/dist/schemas/v3.2/strict/encoding.d.ts +62 -0
- package/dist/schemas/v3.2/strict/encoding.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/encoding.js +33 -0
- package/dist/schemas/v3.2/strict/example.d.ts +50 -0
- package/dist/schemas/v3.2/strict/example.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/example.js +22 -0
- package/dist/schemas/v3.2/strict/external-documentation.d.ts +15 -0
- package/dist/schemas/v3.2/strict/external-documentation.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/external-documentation.js +8 -0
- package/dist/schemas/v3.2/strict/header.d.ts +97 -0
- package/dist/schemas/v3.2/strict/header.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/header.js +39 -0
- package/dist/schemas/v3.2/strict/info.d.ts +54 -0
- package/dist/schemas/v3.2/strict/info.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/info.js +24 -0
- package/dist/schemas/v3.2/strict/license.d.ts +19 -0
- package/dist/schemas/v3.2/strict/license.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/license.js +10 -0
- package/dist/schemas/v3.2/strict/link.d.ts +44 -0
- package/dist/schemas/v3.2/strict/link.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/link.js +23 -0
- package/dist/schemas/v3.2/strict/media-type.d.ts +78 -0
- package/dist/schemas/v3.2/strict/media-type.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/media-type.js +26 -0
- package/dist/schemas/v3.2/strict/oauth-flow.d.ts +159 -0
- package/dist/schemas/v3.2/strict/oauth-flow.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/oauth-flow.js +44 -0
- package/dist/schemas/v3.2/strict/oauthflows.d.ts +116 -0
- package/dist/schemas/v3.2/strict/oauthflows.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/oauthflows.js +17 -0
- package/dist/schemas/v3.2/strict/openapi-document.d.ts +64576 -0
- package/dist/schemas/v3.2/strict/openapi-document.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/openapi-document.js +154 -0
- package/dist/schemas/v3.2/strict/operation.d.ts +165 -0
- package/dist/schemas/v3.2/strict/operation.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/operation.js +40 -0
- package/dist/schemas/v3.2/strict/parameter.d.ts +142 -0
- package/dist/schemas/v3.2/strict/parameter.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/parameter.js +58 -0
- package/dist/schemas/v3.2/strict/path-item.d.ts +189 -0
- package/dist/schemas/v3.2/strict/path-item.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/path-item.js +41 -0
- package/dist/schemas/v3.2/strict/paths.d.ts +20 -0
- package/dist/schemas/v3.2/strict/paths.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/paths.js +9 -0
- package/dist/schemas/v3.2/strict/ref-definitions.d.ts +76 -0
- package/dist/schemas/v3.2/strict/ref-definitions.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/ref-definitions.js +80 -0
- package/dist/schemas/v3.2/strict/reference.d.ts +63 -0
- package/dist/schemas/v3.2/strict/reference.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/reference.js +23 -0
- package/dist/schemas/v3.2/strict/request-body.d.ts +23 -0
- package/dist/schemas/v3.2/strict/request-body.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/request-body.js +13 -0
- package/dist/schemas/v3.2/strict/response.d.ts +50 -0
- package/dist/schemas/v3.2/strict/response.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/response.js +15 -0
- package/dist/schemas/v3.2/strict/responses.d.ts +32 -0
- package/dist/schemas/v3.2/strict/responses.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/responses.js +13 -0
- package/dist/schemas/v3.2/strict/schema.d.ts +1330 -0
- package/dist/schemas/v3.2/strict/schema.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/schema.js +205 -0
- package/dist/schemas/v3.2/strict/security-requirement.d.ts +23 -0
- package/dist/schemas/v3.2/strict/security-requirement.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/security-requirement.js +13 -0
- package/dist/schemas/v3.2/strict/security-scheme.d.ts +95 -0
- package/dist/schemas/v3.2/strict/security-scheme.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/security-scheme.js +46 -0
- package/dist/schemas/v3.2/strict/server-variable.d.ts +19 -0
- package/dist/schemas/v3.2/strict/server-variable.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/server-variable.js +10 -0
- package/dist/schemas/v3.2/strict/server.d.ts +24 -0
- package/dist/schemas/v3.2/strict/server.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/server.js +13 -0
- package/dist/schemas/v3.2/strict/tag.d.ts +44 -0
- package/dist/schemas/v3.2/strict/tag.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/tag.js +22 -0
- package/dist/schemas/v3.2/strict/type-guards.d.ts +24 -0
- package/dist/schemas/v3.2/strict/type-guards.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/type-guards.js +25 -0
- package/dist/schemas/v3.2/strict/xml.d.ts +39 -0
- package/dist/schemas/v3.2/strict/xml.d.ts.map +1 -0
- package/dist/schemas/v3.2/strict/xml.js +26 -0
- package/package.json +4 -4
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { type XInternal } from '../../../schemas/extensions/document/x-internal.js';
|
|
2
|
+
import { type XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
|
|
3
|
+
import type { ExampleObject } from '../../../schemas/v3.2/strict/example.js';
|
|
4
|
+
import type { MediaTypeObject } from '../../../schemas/v3.2/strict/media-type.js';
|
|
5
|
+
import { type ReferenceType } from '../../../schemas/v3.2/strict/reference.js';
|
|
6
|
+
import type { SchemaObject } from '../../../schemas/v3.2/strict/schema.js';
|
|
7
|
+
type ParameterObjectBase = {
|
|
8
|
+
/** REQUIRED. The name of the parameter. Parameter names are case sensitive.
|
|
9
|
+
* - If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.
|
|
10
|
+
* - If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
|
|
11
|
+
* - For all other cases, the name corresponds to the parameter name used by the in field. */
|
|
12
|
+
name: string;
|
|
13
|
+
/** REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie". The "querystring" value was added in OpenAPI 3.2. */
|
|
14
|
+
in: 'query' | 'querystring' | 'header' | 'path' | 'cookie';
|
|
15
|
+
/** A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
16
|
+
description?: string;
|
|
17
|
+
/** Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true. Otherwise, the field MAY be included and its default value is false. */
|
|
18
|
+
required?: boolean;
|
|
19
|
+
/** Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false. */
|
|
20
|
+
deprecated?: boolean;
|
|
21
|
+
/** If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Interactions between this field and the parameter's Schema Object are implementation-defined. This field is valid only for query parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision. */
|
|
22
|
+
allowEmptyValue?: boolean;
|
|
23
|
+
/** Determines whether the parameter value SHOULD allow reserved characters without percent-encoding. This field is valid only for query parameters. Default value is false. */
|
|
24
|
+
allowReserved?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* OpenAPI extension used by the api-client application to determine if a parameter is considered global in scope
|
|
27
|
+
* for the entire workspace. When set, this parameter will be injected into every request automatically.
|
|
28
|
+
*/
|
|
29
|
+
'x-global'?: boolean;
|
|
30
|
+
} & XInternal & XScalarIgnore;
|
|
31
|
+
export type ParameterWithSchemaObject = ParameterObjectBase & {
|
|
32
|
+
/** Describes how the header value will be serialized. The default (and only legal value for headers) is "simple". */
|
|
33
|
+
style?: string;
|
|
34
|
+
/** When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples. For other data types this field has no effect. The default value is false. */
|
|
35
|
+
explode?: boolean;
|
|
36
|
+
/** The schema defining the type used for the header. */
|
|
37
|
+
schema?: ReferenceType<SchemaObject>;
|
|
38
|
+
/** Example of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
39
|
+
example?: any;
|
|
40
|
+
/** Examples of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
41
|
+
examples?: Record<string, ReferenceType<ExampleObject>>;
|
|
42
|
+
};
|
|
43
|
+
export type ParameterWithContentObject = ParameterObjectBase & {
|
|
44
|
+
content?: Record<string, MediaTypeObject>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes a single operation parameter.
|
|
48
|
+
*
|
|
49
|
+
* A unique parameter is defined by a combination of a name and location.
|
|
50
|
+
*
|
|
51
|
+
* See Appendix E for a detailed examination of percent-encoding concerns, including interactions with the application/x-www-form-urlencoded query string format.
|
|
52
|
+
*/
|
|
53
|
+
export declare const ParameterObjectSchemaDefinition: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
54
|
+
/** REQUIRED. The name of the parameter. Parameter names are case sensitive.
|
|
55
|
+
* - If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.
|
|
56
|
+
* - If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
|
|
57
|
+
* - For all other cases, the name corresponds to the parameter name used by the in field. */
|
|
58
|
+
name: import("@scalar/typebox").TString;
|
|
59
|
+
/** REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie". The "querystring" value was added in OpenAPI 3.2. */
|
|
60
|
+
in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"querystring">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"path">, import("@scalar/typebox").TLiteral<"cookie">]>;
|
|
61
|
+
/** A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
62
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
63
|
+
/** Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true. Otherwise, the field MAY be included and its default value is false. */
|
|
64
|
+
required: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
65
|
+
/** Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false. */
|
|
66
|
+
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
67
|
+
/** If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Interactions between this field and the parameter's Schema Object are implementation-defined. This field is valid only for query parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision. */
|
|
68
|
+
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
69
|
+
/** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). Applications are still responsible for percent-encoding reserved characters that are not allowed in the query string ([, ], #), or have a special meaning in application/x-www-form-urlencoded (-, &, +); see Appendices C and E for details. This field only applies to parameters with an in value of query. The default value is false. */
|
|
70
|
+
allowReserved: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
71
|
+
}>, import("@scalar/typebox").TObject<{
|
|
72
|
+
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
73
|
+
}>, import("@scalar/typebox").TObject<{
|
|
74
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
75
|
+
}>, import("@scalar/typebox").TObject<{
|
|
76
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
77
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
78
|
+
/** Describes how the header value will be serialized. The default (and only legal value for headers) is "simple". */
|
|
79
|
+
style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
80
|
+
/** When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples. For other data types this field has no effect. The default value is false. */
|
|
81
|
+
explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
82
|
+
/** The schema defining the type used for the header. */
|
|
83
|
+
schema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
84
|
+
$ref: import("@scalar/typebox").TString;
|
|
85
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
86
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
87
|
+
}>, import("@scalar/typebox").TObject<{
|
|
88
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
89
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
90
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
91
|
+
'$ref-value': import("@scalar/typebox").TRef<"SchemaObject">;
|
|
92
|
+
}>]>]>>;
|
|
93
|
+
/** Example of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
94
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TAny>;
|
|
95
|
+
/** Examples of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
96
|
+
examples: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"ExampleObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
97
|
+
$ref: import("@scalar/typebox").TString;
|
|
98
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
99
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
100
|
+
}>, import("@scalar/typebox").TObject<{
|
|
101
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
102
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
103
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
104
|
+
'$ref-value': import("@scalar/typebox").TRef<"ExampleObject">;
|
|
105
|
+
}>]>]>>>;
|
|
106
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
107
|
+
/** REQUIRED. The name of the parameter. Parameter names are case sensitive.
|
|
108
|
+
* - If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.
|
|
109
|
+
* - If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
|
|
110
|
+
* - For all other cases, the name corresponds to the parameter name used by the in field. */
|
|
111
|
+
name: import("@scalar/typebox").TString;
|
|
112
|
+
/** REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie". The "querystring" value was added in OpenAPI 3.2. */
|
|
113
|
+
in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"querystring">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"path">, import("@scalar/typebox").TLiteral<"cookie">]>;
|
|
114
|
+
/** A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
115
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
116
|
+
/** Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true. Otherwise, the field MAY be included and its default value is false. */
|
|
117
|
+
required: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
118
|
+
/** Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false. */
|
|
119
|
+
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
120
|
+
/** If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Interactions between this field and the parameter's Schema Object are implementation-defined. This field is valid only for query parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision. */
|
|
121
|
+
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
122
|
+
/** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). Applications are still responsible for percent-encoding reserved characters that are not allowed in the query string ([, ], #), or have a special meaning in application/x-www-form-urlencoded (-, &, +); see Appendices C and E for details. This field only applies to parameters with an in value of query. The default value is false. */
|
|
123
|
+
allowReserved: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
124
|
+
}>, import("@scalar/typebox").TObject<{
|
|
125
|
+
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
126
|
+
}>, import("@scalar/typebox").TObject<{
|
|
127
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
128
|
+
}>, import("@scalar/typebox").TObject<{
|
|
129
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
130
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
131
|
+
content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
|
|
132
|
+
}>]>]>;
|
|
133
|
+
/**
|
|
134
|
+
* Describes a single operation parameter.
|
|
135
|
+
*
|
|
136
|
+
* A unique parameter is defined by a combination of a name and location.
|
|
137
|
+
*
|
|
138
|
+
* See Appendix E for a detailed examination of percent-encoding concerns, including interactions with the application/x-www-form-urlencoded query string format.
|
|
139
|
+
*/
|
|
140
|
+
export type ParameterObject = ParameterWithSchemaObject | ParameterWithContentObject;
|
|
141
|
+
export {};
|
|
142
|
+
//# sourceMappingURL=parameter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameter.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.2/strict/parameter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,+CAA+C,CAAA;AAEvG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,iCAAiC,CAAA;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAiChE,KAAK,mBAAmB,GAAG;IACzB;;;oGAGgG;IAChG,IAAI,EAAE,MAAM,CAAA;IACZ,2KAA2K;IAC3K,EAAE,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC1D,4IAA4I;IAC5I,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mNAAmN;IACnN,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gHAAgH;IAChH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,4iBAA4iB;IAC5iB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,+KAA+K;IAC/K,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,GAAG,SAAS,GACX,aAAa,CAAA;AAkBf,MAAM,MAAM,yBAAyB,GAAG,mBAAmB,GAAG;IAC5D,qHAAqH;IACrH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+QAA+Q;IAC/Q,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wDAAwD;IACxD,MAAM,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAA;IACpC,kIAAkI;IAClI,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,mIAAmI;IACnI,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAA;CACxD,CAAA;AASD,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,GAAG;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;CAC1C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;IAtGxC;;;oGAGgG;;IAEhG,2KAA2K;;IAQ3K,4IAA4I;;IAE5I,mNAAmN;;IAEnN,gHAAgH;;IAEhH,4iBAA4iB;;IAE5iB,kpBAAkpB;;;;;;;;;IAqClpB,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;IAlEnI;;;oGAGgG;;IAEhG,2KAA2K;;IAQ3K,4IAA4I;;IAE5I,mNAAmN;;IAEnN,gHAAgH;;IAEhH,4iBAA4iB;;IAE5iB,kpBAAkpB;;;;;;;;;;MAoFppB,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,yBAAyB,GAAG,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Type } from '@scalar/typebox';
|
|
2
|
+
import { compose } from '../../../schemas/compose.js';
|
|
3
|
+
import { XInternalSchema } from '../../../schemas/extensions/document/x-internal.js';
|
|
4
|
+
import { XScalarIgnoreSchema } from '../../../schemas/extensions/document/x-scalar-ignore.js';
|
|
5
|
+
import { XGlobalSchema } from '../../../schemas/extensions/parameter/x-global.js';
|
|
6
|
+
import { ExampleObjectRef, MediaTypeObjectRef, SchemaObjectRef } from '../../../schemas/v3.2/strict/ref-definitions.js';
|
|
7
|
+
import { reference } from '../../../schemas/v3.2/strict/reference.js';
|
|
8
|
+
const ParameterObjectBaseSchema = compose(Type.Object({
|
|
9
|
+
/** REQUIRED. The name of the parameter. Parameter names are case sensitive.
|
|
10
|
+
* - If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.
|
|
11
|
+
* - If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
|
|
12
|
+
* - For all other cases, the name corresponds to the parameter name used by the in field. */
|
|
13
|
+
name: Type.String(),
|
|
14
|
+
/** REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie". The "querystring" value was added in OpenAPI 3.2. */
|
|
15
|
+
in: Type.Union([
|
|
16
|
+
Type.Literal('query'),
|
|
17
|
+
Type.Literal('querystring'),
|
|
18
|
+
Type.Literal('header'),
|
|
19
|
+
Type.Literal('path'),
|
|
20
|
+
Type.Literal('cookie'),
|
|
21
|
+
]),
|
|
22
|
+
/** A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
|
|
23
|
+
description: Type.Optional(Type.String()),
|
|
24
|
+
/** Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true. Otherwise, the field MAY be included and its default value is false. */
|
|
25
|
+
required: Type.Optional(Type.Boolean()),
|
|
26
|
+
/** Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false. */
|
|
27
|
+
deprecated: Type.Optional(Type.Boolean()),
|
|
28
|
+
/** If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Interactions between this field and the parameter's Schema Object are implementation-defined. This field is valid only for query parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision. */
|
|
29
|
+
allowEmptyValue: Type.Optional(Type.Boolean()),
|
|
30
|
+
/** When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570, which allows RFC3986's reserved character set, as well as percent-encoded triples, to pass through unchanged, while still percent-encoding all other disallowed characters (including % outside of percent-encoded triples). Applications are still responsible for percent-encoding reserved characters that are not allowed in the query string ([, ], #), or have a special meaning in application/x-www-form-urlencoded (-, &, +); see Appendices C and E for details. This field only applies to parameters with an in value of query. The default value is false. */
|
|
31
|
+
allowReserved: Type.Optional(Type.Boolean()),
|
|
32
|
+
}), XGlobalSchema, XInternalSchema, XScalarIgnoreSchema);
|
|
33
|
+
const ParameterObjectWithSchemaSchema = compose(ParameterObjectBaseSchema, Type.Object({
|
|
34
|
+
/** Describes how the header value will be serialized. The default (and only legal value for headers) is "simple". */
|
|
35
|
+
style: Type.Optional(Type.String()),
|
|
36
|
+
/** When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples. For other data types this field has no effect. The default value is false. */
|
|
37
|
+
explode: Type.Optional(Type.Boolean()),
|
|
38
|
+
/** The schema defining the type used for the header. */
|
|
39
|
+
schema: Type.Optional(Type.Union([SchemaObjectRef, reference(SchemaObjectRef)])),
|
|
40
|
+
/** Example of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
41
|
+
example: Type.Optional(Type.Any()),
|
|
42
|
+
/** Examples of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */
|
|
43
|
+
examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),
|
|
44
|
+
}));
|
|
45
|
+
const ParameterObjectWithContentSchema = compose(ParameterObjectBaseSchema, Type.Object({
|
|
46
|
+
content: Type.Optional(Type.Record(Type.String(), MediaTypeObjectRef)),
|
|
47
|
+
}));
|
|
48
|
+
/**
|
|
49
|
+
* Describes a single operation parameter.
|
|
50
|
+
*
|
|
51
|
+
* A unique parameter is defined by a combination of a name and location.
|
|
52
|
+
*
|
|
53
|
+
* See Appendix E for a detailed examination of percent-encoding concerns, including interactions with the application/x-www-form-urlencoded query string format.
|
|
54
|
+
*/
|
|
55
|
+
export const ParameterObjectSchemaDefinition = Type.Union([
|
|
56
|
+
ParameterObjectWithSchemaSchema,
|
|
57
|
+
ParameterObjectWithContentSchema,
|
|
58
|
+
]);
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { OperationObject } from './operation.js';
|
|
2
|
+
import type { ParameterObject } from './parameter.js';
|
|
3
|
+
import { type ReferenceType } from './reference.js';
|
|
4
|
+
import type { ServerObject } from './server.js';
|
|
5
|
+
export declare const PathItemObjectSchemaDefinition: import("@scalar/typebox").TObject<{
|
|
6
|
+
/**
|
|
7
|
+
* Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.
|
|
8
|
+
*
|
|
9
|
+
* Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.
|
|
10
|
+
*/
|
|
11
|
+
$ref: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
12
|
+
/** An optional string summary, intended to apply to all operations in this path. */
|
|
13
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
14
|
+
/** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */
|
|
15
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
16
|
+
/** A definition of a GET operation on this path. */
|
|
17
|
+
get: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
18
|
+
$ref: import("@scalar/typebox").TString;
|
|
19
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
20
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
21
|
+
}>, import("@scalar/typebox").TObject<{
|
|
22
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
23
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
24
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
25
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
26
|
+
}>]>]>>;
|
|
27
|
+
/** A definition of a PUT operation on this path. */
|
|
28
|
+
put: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
29
|
+
$ref: import("@scalar/typebox").TString;
|
|
30
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
31
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
32
|
+
}>, import("@scalar/typebox").TObject<{
|
|
33
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
34
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
35
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
36
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
37
|
+
}>]>]>>;
|
|
38
|
+
/** A definition of a POST operation on this path. */
|
|
39
|
+
post: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
40
|
+
$ref: import("@scalar/typebox").TString;
|
|
41
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
42
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
43
|
+
}>, import("@scalar/typebox").TObject<{
|
|
44
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
45
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
46
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
47
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
48
|
+
}>]>]>>;
|
|
49
|
+
/** A definition of a DELETE operation on this path. */
|
|
50
|
+
delete: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
51
|
+
$ref: import("@scalar/typebox").TString;
|
|
52
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
53
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
54
|
+
}>, import("@scalar/typebox").TObject<{
|
|
55
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
56
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
57
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
58
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
59
|
+
}>]>]>>;
|
|
60
|
+
/** A definition of a PATCH operation on this path. */
|
|
61
|
+
patch: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
62
|
+
$ref: import("@scalar/typebox").TString;
|
|
63
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
64
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
65
|
+
}>, import("@scalar/typebox").TObject<{
|
|
66
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
67
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
68
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
69
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
70
|
+
}>]>]>>;
|
|
71
|
+
/** A definition of a CONNECT operation on this path. */
|
|
72
|
+
connect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
73
|
+
$ref: import("@scalar/typebox").TString;
|
|
74
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
75
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
76
|
+
}>, import("@scalar/typebox").TObject<{
|
|
77
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
78
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
79
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
80
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
81
|
+
}>]>]>>;
|
|
82
|
+
/** A definition of a OPTIONS operation on this path. */
|
|
83
|
+
options: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
84
|
+
$ref: import("@scalar/typebox").TString;
|
|
85
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
86
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
87
|
+
}>, import("@scalar/typebox").TObject<{
|
|
88
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
89
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
90
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
91
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
92
|
+
}>]>]>>;
|
|
93
|
+
/** A definition of a HEAD operation on this path. */
|
|
94
|
+
head: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
95
|
+
$ref: import("@scalar/typebox").TString;
|
|
96
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
97
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
98
|
+
}>, import("@scalar/typebox").TObject<{
|
|
99
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
100
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
101
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
102
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
103
|
+
}>]>]>>;
|
|
104
|
+
/** A definition of a TRACE operation on this path. */
|
|
105
|
+
trace: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
106
|
+
$ref: import("@scalar/typebox").TString;
|
|
107
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
108
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
109
|
+
}>, import("@scalar/typebox").TObject<{
|
|
110
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
111
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
112
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
113
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
114
|
+
}>]>]>>;
|
|
115
|
+
/** A definition of a QUERY operation, as defined in the most recent IETF draft or its RFC successor, on this path. Added in OpenAPI 3.2. */
|
|
116
|
+
query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
117
|
+
$ref: import("@scalar/typebox").TString;
|
|
118
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
119
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
120
|
+
}>, import("@scalar/typebox").TObject<{
|
|
121
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
122
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
123
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
124
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
125
|
+
}>]>]>>;
|
|
126
|
+
/** A map of additional operations on this path. The map key is the HTTP method with the same capitalization that is to be sent in the request. This map MUST NOT contain any entry for the methods that can be defined by other fixed fields with Operation Object values (e.g. no POST entry, as the post field is used for this method). Added in OpenAPI 3.2. */
|
|
127
|
+
additionalOperations: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"OperationObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
128
|
+
$ref: import("@scalar/typebox").TString;
|
|
129
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
130
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
131
|
+
}>, import("@scalar/typebox").TObject<{
|
|
132
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
133
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
134
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
135
|
+
'$ref-value': import("@scalar/typebox").TRef<"OperationObject">;
|
|
136
|
+
}>]>]>>>;
|
|
137
|
+
/** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */
|
|
138
|
+
servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
|
|
139
|
+
/** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */
|
|
140
|
+
parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"ParameterObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
141
|
+
$ref: import("@scalar/typebox").TString;
|
|
142
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
143
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
144
|
+
}>, import("@scalar/typebox").TObject<{
|
|
145
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
146
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
147
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
148
|
+
'$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
|
|
149
|
+
}>]>]>>>;
|
|
150
|
+
}>;
|
|
151
|
+
export type PathItemObject = {
|
|
152
|
+
/**
|
|
153
|
+
* Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.
|
|
154
|
+
*
|
|
155
|
+
* Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.
|
|
156
|
+
*/
|
|
157
|
+
'$ref'?: string;
|
|
158
|
+
/** An optional string summary, intended to apply to all operations in this path. */
|
|
159
|
+
summary?: string;
|
|
160
|
+
/** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */
|
|
161
|
+
description?: string;
|
|
162
|
+
/** A definition of a GET operation on this path. */
|
|
163
|
+
get?: ReferenceType<OperationObject>;
|
|
164
|
+
/** A definition of a PUT operation on this path. */
|
|
165
|
+
put?: ReferenceType<OperationObject>;
|
|
166
|
+
/** A definition of a POST operation on this path. */
|
|
167
|
+
post?: ReferenceType<OperationObject>;
|
|
168
|
+
/** A definition of a DELETE operation on this path. */
|
|
169
|
+
delete?: ReferenceType<OperationObject>;
|
|
170
|
+
/** A definition of a PATCH operation on this path. */
|
|
171
|
+
patch?: ReferenceType<OperationObject>;
|
|
172
|
+
/** A definition of a CONNECT operation on this path. */
|
|
173
|
+
connect?: ReferenceType<OperationObject>;
|
|
174
|
+
/** A definition of a OPTIONS operation on this path. */
|
|
175
|
+
options?: ReferenceType<OperationObject>;
|
|
176
|
+
/** A definition of a HEAD operation on this path. */
|
|
177
|
+
head?: ReferenceType<OperationObject>;
|
|
178
|
+
/** A definition of a TRACE operation on this path. */
|
|
179
|
+
trace?: ReferenceType<OperationObject>;
|
|
180
|
+
/** A definition of a QUERY operation, as defined in the most recent IETF draft or its RFC successor, on this path. Added in OpenAPI 3.2. */
|
|
181
|
+
query?: ReferenceType<OperationObject>;
|
|
182
|
+
/** A map of additional operations on this path. The map key is the HTTP method with the same capitalization that is to be sent in the request. This map MUST NOT contain any entry for the methods that can be defined by other fixed fields with Operation Object values (e.g. no POST entry, as the post field is used for this method). Added in OpenAPI 3.2. */
|
|
183
|
+
additionalOperations?: Record<string, ReferenceType<OperationObject>>;
|
|
184
|
+
/** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */
|
|
185
|
+
servers?: ServerObject[];
|
|
186
|
+
/** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */
|
|
187
|
+
parameters?: ReferenceType<ParameterObject>[];
|
|
188
|
+
};
|
|
189
|
+
//# sourceMappingURL=path-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-item.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.2/strict/path-item.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,8BAA8B;IACzC;;;;OAIG;;IAEH,oFAAoF;;IAEpF,oJAAoJ;;IAEpJ,oDAAoD;;;;;;;;;;;IAEpD,oDAAoD;;;;;;;;;;;IAEpD,qDAAqD;;;;;;;;;;;IAErD,uDAAuD;;;;;;;;;;;IAEvD,sDAAsD;;;;;;;;;;;IAEtD,wDAAwD;;;;;;;;;;;IAExD,wDAAwD;;;;;;;;;;;IAExD,qDAAqD;;;;;;;;;;;IAErD,sDAAsD;;;;;;;;;;;IAEtD,4IAA4I;;;;;;;;;;;IAE5I,oWAAoW;;;;;;;;;;;IAIpW,6KAA6K;;IAE7K,6aAA6a;;;;;;;;;;;EAE7a,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,oJAAoJ;IACpJ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oDAAoD;IACpD,GAAG,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACpC,oDAAoD;IACpD,GAAG,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACpC,qDAAqD;IACrD,IAAI,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACrC,uDAAuD;IACvD,MAAM,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACvC,sDAAsD;IACtD,KAAK,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACtC,wDAAwD;IACxD,OAAO,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACxC,wDAAwD;IACxD,OAAO,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACxC,qDAAqD;IACrD,IAAI,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACrC,sDAAsD;IACtD,KAAK,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACtC,4IAA4I;IAC5I,KAAK,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IACtC,oWAAoW;IACpW,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAA;IACrE,6KAA6K;IAC7K,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,6aAA6a;IAC7a,UAAU,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,EAAE,CAAA;CAC9C,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Type } from '@scalar/typebox';
|
|
2
|
+
import { OperationObjectRef, ParameterObjectRef, ServerObjectRef } from './ref-definitions.js';
|
|
3
|
+
import { reference } from './reference.js';
|
|
4
|
+
export const PathItemObjectSchemaDefinition = Type.Object({
|
|
5
|
+
/**
|
|
6
|
+
* Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.
|
|
7
|
+
*
|
|
8
|
+
* Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.
|
|
9
|
+
*/
|
|
10
|
+
'$ref': Type.Optional(Type.String()),
|
|
11
|
+
/** An optional string summary, intended to apply to all operations in this path. */
|
|
12
|
+
summary: Type.Optional(Type.String()),
|
|
13
|
+
/** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */
|
|
14
|
+
description: Type.Optional(Type.String()),
|
|
15
|
+
/** A definition of a GET operation on this path. */
|
|
16
|
+
get: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
17
|
+
/** A definition of a PUT operation on this path. */
|
|
18
|
+
put: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
19
|
+
/** A definition of a POST operation on this path. */
|
|
20
|
+
post: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
21
|
+
/** A definition of a DELETE operation on this path. */
|
|
22
|
+
delete: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
23
|
+
/** A definition of a PATCH operation on this path. */
|
|
24
|
+
patch: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
25
|
+
/** A definition of a CONNECT operation on this path. */
|
|
26
|
+
connect: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
27
|
+
/** A definition of a OPTIONS operation on this path. */
|
|
28
|
+
options: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
29
|
+
/** A definition of a HEAD operation on this path. */
|
|
30
|
+
head: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
31
|
+
/** A definition of a TRACE operation on this path. */
|
|
32
|
+
trace: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
33
|
+
/** A definition of a QUERY operation, as defined in the most recent IETF draft or its RFC successor, on this path. Added in OpenAPI 3.2. */
|
|
34
|
+
query: Type.Optional(Type.Union([OperationObjectRef, reference(OperationObjectRef)])),
|
|
35
|
+
/** A map of additional operations on this path. The map key is the HTTP method with the same capitalization that is to be sent in the request. This map MUST NOT contain any entry for the methods that can be defined by other fixed fields with Operation Object values (e.g. no POST entry, as the post field is used for this method). Added in OpenAPI 3.2. */
|
|
36
|
+
additionalOperations: Type.Optional(Type.Record(Type.String(), Type.Union([OperationObjectRef, reference(OperationObjectRef)]))),
|
|
37
|
+
/** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */
|
|
38
|
+
servers: Type.Optional(Type.Array(ServerObjectRef)),
|
|
39
|
+
/** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */
|
|
40
|
+
parameters: Type.Optional(Type.Array(Type.Union([ParameterObjectRef, reference(ParameterObjectRef)]))),
|
|
41
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PathItemObject } from './path-item.js';
|
|
2
|
+
import { type ReferenceType } from './reference.js';
|
|
3
|
+
/**
|
|
4
|
+
* Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PathsObjectSchemaDefinition: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
7
|
+
$ref: import("@scalar/typebox").TString;
|
|
8
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
9
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
10
|
+
}>, import("@scalar/typebox").TObject<{
|
|
11
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
12
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
13
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
14
|
+
'$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
|
|
15
|
+
}>]>]>>;
|
|
16
|
+
/**
|
|
17
|
+
* Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.
|
|
18
|
+
*/
|
|
19
|
+
export type PathsObject = Record<string, ReferenceType<PathItemObject>>;
|
|
20
|
+
//# sourceMappingURL=paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.2/strict/paths.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;OAIvC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Type } from '@scalar/typebox';
|
|
2
|
+
import { PathItemObjectRef } from './ref-definitions.js';
|
|
3
|
+
import { reference } from './reference.js';
|
|
4
|
+
/**
|
|
5
|
+
* Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.
|
|
6
|
+
*/
|
|
7
|
+
export const PathsObjectSchemaDefinition = Type.Record(Type.String(),
|
|
8
|
+
/** A relative path to an individual endpoint. The field name MUST begin with a forward slash (/). The path is appended (no relative URL resolution) to the expanded URL from the Server Object's url field in order to construct the full URL. Path templating is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use. */
|
|
9
|
+
Type.Union([PathItemObjectRef, reference(PathItemObjectRef)]));
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reference definitions for OpenAPI 3.1 objects.
|
|
3
|
+
* These can be used with Type.Ref to create references to these objects in other schemas.
|
|
4
|
+
*
|
|
5
|
+
* Referencing them this way helps avoid circular dependencies in TypeBox schemas while keeping the overhead performance lower.
|
|
6
|
+
*/
|
|
7
|
+
export declare const REF_DEFINITIONS: {
|
|
8
|
+
readonly ComponentsObject: "ComponentsObject";
|
|
9
|
+
readonly SecurityRequirementObject: "SecurityRequirementObject";
|
|
10
|
+
readonly TagObject: "TagObject";
|
|
11
|
+
readonly CallbackObject: "CallbackObject";
|
|
12
|
+
readonly PathsObject: "PathsObject";
|
|
13
|
+
readonly PathItemObject: "PathItemObject";
|
|
14
|
+
readonly OperationObject: "OperationObject";
|
|
15
|
+
readonly SchemaObject: "SchemaObject";
|
|
16
|
+
readonly EncodingObject: "EncodingObject";
|
|
17
|
+
readonly HeaderObject: "HeaderObject";
|
|
18
|
+
readonly MediaTypeObject: "MediaTypeObject";
|
|
19
|
+
readonly ServerObject: "ServerObject";
|
|
20
|
+
readonly ExternalDocumentationObject: "ExternalDocumentationObject";
|
|
21
|
+
readonly InfoObject: "InfoObject";
|
|
22
|
+
readonly ContactObject: "ContactObject";
|
|
23
|
+
readonly LicenseObject: "LicenseObject";
|
|
24
|
+
readonly ResponseObject: "ResponseObject";
|
|
25
|
+
readonly ResponsesObject: "ResponsesObject";
|
|
26
|
+
readonly ParameterObject: "ParameterObject";
|
|
27
|
+
readonly ExampleObject: "ExampleObject";
|
|
28
|
+
readonly RequestBodyObject: "RequestBodyObject";
|
|
29
|
+
readonly SecuritySchemeObject: "SecuritySchemeObject";
|
|
30
|
+
readonly SecuritySchemes: "SecuritySchemes";
|
|
31
|
+
readonly LinkObject: "LinkObject";
|
|
32
|
+
readonly XMLObject: "XMLObject";
|
|
33
|
+
readonly DiscriminatorObject: "DiscriminatorObject";
|
|
34
|
+
readonly OAuthFlowsObject: "OAuthFlowsObject";
|
|
35
|
+
readonly ServerVariableObject: "ServerVariableObject";
|
|
36
|
+
readonly TraversedDescriptionObject: "TraversedDescriptionObject";
|
|
37
|
+
readonly TraversedOperationObject: "TraversedOperationObject";
|
|
38
|
+
readonly TraversedAsyncApiOperationObject: "TraversedAsyncApiOperationObject";
|
|
39
|
+
readonly TraversedAsyncApiChannelObject: "TraversedAsyncApiChannelObject";
|
|
40
|
+
readonly TraversedAsyncApiMessageObject: "TraversedAsyncApiMessageObject";
|
|
41
|
+
readonly TraversedSchemaObject: "TraversedSchemaObject";
|
|
42
|
+
readonly TraversedWebhookObject: "TraversedWebhookObject";
|
|
43
|
+
readonly TraversedTagObject: "TraversedTagObject";
|
|
44
|
+
readonly TraversedEntryObject: "TraversedEntryObject";
|
|
45
|
+
readonly TraversedDocumentObject: "TraversedDocumentObject";
|
|
46
|
+
};
|
|
47
|
+
export declare const ComponentsObjectRef: import("@scalar/typebox").TRef<"ComponentsObject">;
|
|
48
|
+
export declare const SecurityRequirementObjectRef: import("@scalar/typebox").TRef<"SecurityRequirementObject">;
|
|
49
|
+
export declare const TagObjectRef: import("@scalar/typebox").TRef<"TagObject">;
|
|
50
|
+
export declare const CallbackObjectRef: import("@scalar/typebox").TRef<"CallbackObject">;
|
|
51
|
+
export declare const PathItemObjectRef: import("@scalar/typebox").TRef<"PathItemObject">;
|
|
52
|
+
export declare const PathsObjectRef: import("@scalar/typebox").TRef<"PathsObject">;
|
|
53
|
+
export declare const OperationObjectRef: import("@scalar/typebox").TRef<"OperationObject">;
|
|
54
|
+
export declare const SchemaObjectRef: import("@scalar/typebox").TRef<"SchemaObject">;
|
|
55
|
+
export declare const EncodingObjectRef: import("@scalar/typebox").TRef<"EncodingObject">;
|
|
56
|
+
export declare const HeaderObjectRef: import("@scalar/typebox").TRef<"HeaderObject">;
|
|
57
|
+
export declare const MediaTypeObjectRef: import("@scalar/typebox").TRef<"MediaTypeObject">;
|
|
58
|
+
export declare const ServerObjectRef: import("@scalar/typebox").TRef<"ServerObject">;
|
|
59
|
+
export declare const ExternalDocumentationObjectRef: import("@scalar/typebox").TRef<"ExternalDocumentationObject">;
|
|
60
|
+
export declare const InfoObjectRef: import("@scalar/typebox").TRef<"InfoObject">;
|
|
61
|
+
export declare const ContactObjectRef: import("@scalar/typebox").TRef<"ContactObject">;
|
|
62
|
+
export declare const LicenseObjectRef: import("@scalar/typebox").TRef<"LicenseObject">;
|
|
63
|
+
export declare const ResponseObjectRef: import("@scalar/typebox").TRef<"ResponseObject">;
|
|
64
|
+
export declare const ResponsesObjectRef: import("@scalar/typebox").TRef<"ResponsesObject">;
|
|
65
|
+
export declare const ParameterObjectRef: import("@scalar/typebox").TRef<"ParameterObject">;
|
|
66
|
+
export declare const ExampleObjectRef: import("@scalar/typebox").TRef<"ExampleObject">;
|
|
67
|
+
export declare const RequestBodyObjectRef: import("@scalar/typebox").TRef<"RequestBodyObject">;
|
|
68
|
+
export declare const SecuritySchemeObjectRef: import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
69
|
+
export declare const LinkObjectRef: import("@scalar/typebox").TRef<"LinkObject">;
|
|
70
|
+
export declare const XMLObjectRef: import("@scalar/typebox").TRef<"XMLObject">;
|
|
71
|
+
export declare const DiscriminatorObjectRef: import("@scalar/typebox").TRef<"DiscriminatorObject">;
|
|
72
|
+
export declare const OAuthFlowsObjectRef: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
|
|
73
|
+
export declare const ServerVariableObjectRef: import("@scalar/typebox").TRef<"ServerVariableObject">;
|
|
74
|
+
export declare const TraversedEntryObjectRef: import("@scalar/typebox").TRef<"TraversedEntryObject">;
|
|
75
|
+
export declare const TraversedDocumentObjectRef: import("@scalar/typebox").TRef<"TraversedDocumentObject">;
|
|
76
|
+
//# sourceMappingURL=ref-definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref-definitions.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.2/strict/ref-definitions.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyClB,CAAA;AAGV,eAAO,MAAM,mBAAmB,oDAA6C,CAAA;AAC7E,eAAO,MAAM,4BAA4B,6DAAsD,CAAA;AAC/F,eAAO,MAAM,YAAY,6CAAsC,CAAA;AAC/D,eAAO,MAAM,iBAAiB,kDAA2C,CAAA;AACzE,eAAO,MAAM,iBAAiB,kDAA2C,CAAA;AACzE,eAAO,MAAM,cAAc,+CAAwC,CAAA;AACnE,eAAO,MAAM,kBAAkB,mDAA4C,CAAA;AAC3E,eAAO,MAAM,eAAe,gDAAyC,CAAA;AACrE,eAAO,MAAM,iBAAiB,kDAA2C,CAAA;AACzE,eAAO,MAAM,eAAe,gDAAyC,CAAA;AACrE,eAAO,MAAM,kBAAkB,mDAA4C,CAAA;AAC3E,eAAO,MAAM,eAAe,gDAAyC,CAAA;AACrE,eAAO,MAAM,8BAA8B,+DAAwD,CAAA;AACnG,eAAO,MAAM,aAAa,8CAAuC,CAAA;AACjE,eAAO,MAAM,gBAAgB,iDAA0C,CAAA;AACvE,eAAO,MAAM,gBAAgB,iDAA0C,CAAA;AACvE,eAAO,MAAM,iBAAiB,kDAA2C,CAAA;AACzE,eAAO,MAAM,kBAAkB,mDAA4C,CAAA;AAC3E,eAAO,MAAM,kBAAkB,mDAA4C,CAAA;AAC3E,eAAO,MAAM,gBAAgB,iDAA0C,CAAA;AACvE,eAAO,MAAM,oBAAoB,qDAA8C,CAAA;AAC/E,eAAO,MAAM,uBAAuB,wDAAiD,CAAA;AACrF,eAAO,MAAM,aAAa,8CAAuC,CAAA;AACjE,eAAO,MAAM,YAAY,6CAAsC,CAAA;AAC/D,eAAO,MAAM,sBAAsB,uDAAgD,CAAA;AACnF,eAAO,MAAM,mBAAmB,oDAA6C,CAAA;AAC7E,eAAO,MAAM,uBAAuB,wDAAiD,CAAA;AAGrF,eAAO,MAAM,uBAAuB,wDAAiD,CAAA;AAErF,eAAO,MAAM,0BAA0B,2DAAoD,CAAA"}
|