@scalar/openapi-types 0.3.7 → 0.4.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 +6 -0
- package/dist/helpers/is-dereferenced.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/base-path-item-object.d.ts +41 -544
- package/dist/schemas/3.1/processed/base-path-item-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/callback-object.d.ts +67 -67
- package/dist/schemas/3.1/processed/callback-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/components-object.d.ts +2127 -12344
- package/dist/schemas/3.1/processed/components-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/contact-object.d.ts +1 -12
- package/dist/schemas/3.1/processed/contact-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/discriminator-object.d.ts +1 -15
- package/dist/schemas/3.1/processed/discriminator-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/encoding-object.d.ts +16 -157
- package/dist/schemas/3.1/processed/encoding-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/example-object.d.ts +1 -25
- package/dist/schemas/3.1/processed/example-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/external-documentation-object.d.ts +1 -9
- package/dist/schemas/3.1/processed/external-documentation-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/header-object.d.ts +15 -124
- package/dist/schemas/3.1/processed/header-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/info-object.d.ts +3 -65
- package/dist/schemas/3.1/processed/info-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/license-object.d.ts +1 -14
- package/dist/schemas/3.1/processed/license-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/link-object.d.ts +6 -83
- package/dist/schemas/3.1/processed/link-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts +3 -44
- package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/media-type-object.d.ts +19 -253
- package/dist/schemas/3.1/processed/media-type-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/openapi-object.d.ts +4719 -27519
- package/dist/schemas/3.1/processed/openapi-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts +118 -1929
- package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/parameter-object.d.ts +37 -424
- package/dist/schemas/3.1/processed/parameter-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/path-item-object.d.ts +1738 -5818
- package/dist/schemas/3.1/processed/path-item-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/paths-object.d.ts +1722 -5778
- package/dist/schemas/3.1/processed/paths-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/request-body-object.d.ts +36 -536
- package/dist/schemas/3.1/processed/request-body-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/response-object.d.ts +41 -567
- package/dist/schemas/3.1/processed/response-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/responses-object.d.ts +41 -551
- package/dist/schemas/3.1/processed/responses-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/runtime-expression.d.ts +1 -1
- package/dist/schemas/3.1/processed/runtime-expression.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/runtime-expression.js +3 -3
- package/dist/schemas/3.1/processed/runtime-expression.js.map +2 -2
- package/dist/schemas/3.1/processed/schema-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/schema-object.js +4 -1
- package/dist/schemas/3.1/processed/schema-object.js.map +2 -2
- package/dist/schemas/3.1/processed/security-requirement-object.d.ts +1 -1
- package/dist/schemas/3.1/processed/security-requirement-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/security-scheme-object.d.ts +63 -715
- package/dist/schemas/3.1/processed/security-scheme-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/server-object.d.ts +3 -37
- package/dist/schemas/3.1/processed/server-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/server-variable-object.d.ts +2 -21
- package/dist/schemas/3.1/processed/server-variable-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/tag-object.d.ts +2 -25
- package/dist/schemas/3.1/processed/tag-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/webhooks-object.d.ts +66 -66
- package/dist/schemas/3.1/processed/webhooks-object.d.ts.map +1 -1
- package/dist/schemas/3.1/processed/xml-object.d.ts +1 -31
- package/dist/schemas/3.1/processed/xml-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts +54 -1745
- package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/callback-object.d.ts +83 -83
- package/dist/schemas/3.1/unprocessed/callback-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/components-object.d.ts +2823 -26982
- package/dist/schemas/3.1/unprocessed/components-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/contact-object.d.ts +1 -9
- package/dist/schemas/3.1/unprocessed/contact-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts +1 -7
- package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/encoding-object.d.ts +21 -365
- package/dist/schemas/3.1/unprocessed/encoding-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/example-object.d.ts +1 -11
- package/dist/schemas/3.1/unprocessed/example-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts +1 -7
- package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/header-object.d.ts +18 -179
- package/dist/schemas/3.1/unprocessed/header-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/info-object.d.ts +3 -43
- package/dist/schemas/3.1/unprocessed/info-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/license-object.d.ts +1 -9
- package/dist/schemas/3.1/unprocessed/license-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/link-object.d.ts +6 -60
- package/dist/schemas/3.1/unprocessed/link-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts +3 -31
- package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/media-type-object.d.ts +27 -688
- package/dist/schemas/3.1/unprocessed/media-type-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts +133 -3719
- package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/parameter-object.d.ts +48 -1129
- package/dist/schemas/3.1/unprocessed/parameter-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/path-item-object.d.ts +2052 -7728
- package/dist/schemas/3.1/unprocessed/path-item-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/paths-object.d.ts +2053 -7701
- package/dist/schemas/3.1/unprocessed/paths-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/reference-object.d.ts +1 -21
- package/dist/schemas/3.1/unprocessed/reference-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/request-body-object.d.ts +36 -522
- package/dist/schemas/3.1/unprocessed/request-body-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/response-object.d.ts +56 -1586
- package/dist/schemas/3.1/unprocessed/response-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/responses-object.d.ts +57 -1582
- package/dist/schemas/3.1/unprocessed/responses-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts +1 -1
- package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/schema-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/schema-object.js +4 -1
- package/dist/schemas/3.1/unprocessed/schema-object.js.map +2 -2
- package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts +1 -1
- package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts +63 -495
- package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/server-object.d.ts +3 -27
- package/dist/schemas/3.1/unprocessed/server-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts +2 -10
- package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/tag-object.d.ts +2 -22
- package/dist/schemas/3.1/unprocessed/tag-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts +86 -86
- package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts.map +1 -1
- package/dist/schemas/3.1/unprocessed/xml-object.d.ts +1 -13
- package/dist/schemas/3.1/unprocessed/xml-object.d.ts.map +1 -1
- package/dist/schemas/extensions/x-additional-properties-name.d.ts +1 -5
- package/dist/schemas/extensions/x-additional-properties-name.d.ts.map +1 -1
- package/dist/schemas/extensions/x-code-samples.d.ts +5 -57
- package/dist/schemas/extensions/x-code-samples.d.ts.map +1 -1
- package/dist/schemas/extensions/x-display-name.d.ts +1 -5
- package/dist/schemas/extensions/x-display-name.d.ts.map +1 -1
- package/dist/schemas/extensions/x-enum-descriptions.d.ts +1 -5
- package/dist/schemas/extensions/x-enum-descriptions.d.ts.map +1 -1
- package/dist/schemas/extensions/x-internal.d.ts +1 -5
- package/dist/schemas/extensions/x-internal.d.ts.map +1 -1
- package/dist/schemas/extensions/x-post-response.d.ts +1 -5
- package/dist/schemas/extensions/x-post-response.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-credentials-location.d.ts +5 -6
- package/dist/schemas/extensions/x-scalar-credentials-location.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-icon.d.ts +1 -5
- package/dist/schemas/extensions/x-scalar-icon.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-ignore.d.ts +1 -5
- package/dist/schemas/extensions/x-scalar-ignore.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts +1 -5
- package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts +2 -18
- package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-security-body.d.ts +1 -5
- package/dist/schemas/extensions/x-scalar-security-body.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-security-query.d.ts +1 -5
- package/dist/schemas/extensions/x-scalar-security-query.d.ts.map +1 -1
- package/dist/schemas/extensions/x-scalar-stability.d.ts +4 -6
- package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -1
- package/dist/schemas/extensions/x-tag-groups.d.ts +4 -28
- package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -1
- package/dist/schemas/extensions/x-tokenName.d.ts +1 -5
- package/dist/schemas/extensions/x-tokenName.d.ts.map +1 -1
- package/dist/schemas/extensions/x-use-pkce.d.ts +6 -9
- package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-scheme-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/security-scheme-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,cAAc,wCAAyC,CAAA;AAEpE,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"security-scheme-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/security-scheme-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,cAAc,wCAAyC,CAAA;AAEpE,eAAO,MAAM,YAAY;;;;;;;;;iBAgBvB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;iBAsBrB,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;iBAU9B,CAAA;AAcF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;iBAWhC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;iBAG7B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;iBAG7B,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;iBAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;iBAItC,CAAA;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BjC,CAAA;AAEF,eAAO,MAAM,eAAe;;;iBAM1B,CAAA;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAMrC,CAAA"}
|
|
@@ -7,46 +7,12 @@ import { z } from 'zod';
|
|
|
7
7
|
* @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#server-object
|
|
8
8
|
*/
|
|
9
9
|
export declare const ServerObjectSchema: z.ZodObject<{
|
|
10
|
-
/**
|
|
11
|
-
* REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that
|
|
12
|
-
* the host location is relative to the location where the OpenAPI document is being served. Variable substitutions
|
|
13
|
-
* will be made when a variable is named in {brackets}.
|
|
14
|
-
*/
|
|
15
10
|
url: z.ZodString;
|
|
16
|
-
/**
|
|
17
|
-
* An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text
|
|
18
|
-
* representation.
|
|
19
|
-
*/
|
|
20
11
|
description: z.ZodOptional<z.ZodString>;
|
|
21
|
-
/** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
|
|
22
12
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
23
|
-
enum: z.ZodOptional<z.ZodArray<z.ZodString
|
|
13
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
14
|
default: z.ZodOptional<z.ZodString>;
|
|
25
15
|
description: z.ZodOptional<z.ZodString>;
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
default?: string | undefined;
|
|
29
|
-
enum?: string[] | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
description?: string | undefined;
|
|
32
|
-
default?: string | undefined;
|
|
33
|
-
enum?: string[] | undefined;
|
|
34
|
-
}>>>;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
url: string;
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
variables?: Record<string, {
|
|
39
|
-
description?: string | undefined;
|
|
40
|
-
default?: string | undefined;
|
|
41
|
-
enum?: string[] | undefined;
|
|
42
|
-
}> | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
url: string;
|
|
45
|
-
description?: string | undefined;
|
|
46
|
-
variables?: Record<string, {
|
|
47
|
-
description?: string | undefined;
|
|
48
|
-
default?: string | undefined;
|
|
49
|
-
enum?: string[] | undefined;
|
|
50
|
-
}> | undefined;
|
|
51
|
-
}>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
52
18
|
//# sourceMappingURL=server-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/server-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"server-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/server-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;iBAc7B,CAAA"}
|
|
@@ -7,27 +7,8 @@ import { z } from 'zod';
|
|
|
7
7
|
* @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#server-variable-object
|
|
8
8
|
*/
|
|
9
9
|
export declare const ServerVariableObjectSchema: z.ZodObject<{
|
|
10
|
-
|
|
11
|
-
* An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty.
|
|
12
|
-
*/
|
|
13
|
-
enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
|
-
/**
|
|
15
|
-
* REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied.
|
|
16
|
-
* Note this behavior is different than the Schema Object's treatment of default values, because in those cases
|
|
17
|
-
* parameter values are optional. If the enum is defined, the value MUST exist in the enum's values.
|
|
18
|
-
*/
|
|
10
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
11
|
default: z.ZodOptional<z.ZodString>;
|
|
20
|
-
/**
|
|
21
|
-
* An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.
|
|
22
|
-
*/
|
|
23
12
|
description: z.ZodOptional<z.ZodString>;
|
|
24
|
-
},
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
default?: string | undefined;
|
|
27
|
-
enum?: string[] | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
description?: string | undefined;
|
|
30
|
-
default?: string | undefined;
|
|
31
|
-
enum?: string[] | undefined;
|
|
32
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
33
14
|
//# sourceMappingURL=server-variable-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-variable-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/server-variable-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"server-variable-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/server-variable-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;;;;iBAerC,CAAA"}
|
|
@@ -8,34 +8,11 @@ import { z } from 'zod';
|
|
|
8
8
|
* @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#tag-object
|
|
9
9
|
*/
|
|
10
10
|
export declare const TagObjectSchema: z.ZodObject<{
|
|
11
|
-
/** REQUIRED. The name of the tag. */
|
|
12
11
|
name: z.ZodString;
|
|
13
|
-
/** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
|
|
14
12
|
description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
15
|
-
/** Additional external documentation for this tag. */
|
|
16
13
|
externalDocs: z.ZodOptional<z.ZodObject<{
|
|
17
14
|
description: z.ZodOptional<z.ZodString>;
|
|
18
15
|
url: z.ZodString;
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
url: string;
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
}>>;
|
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
name: string;
|
|
28
|
-
externalDocs?: {
|
|
29
|
-
url: string;
|
|
30
|
-
description?: string | undefined;
|
|
31
|
-
} | undefined;
|
|
32
|
-
description?: string | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
name: string;
|
|
35
|
-
externalDocs?: {
|
|
36
|
-
url: string;
|
|
37
|
-
description?: string | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
description?: unknown;
|
|
40
|
-
}>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
41
18
|
//# sourceMappingURL=tag-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/tag-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"tag-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/tag-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;iBAO1B,CAAA"}
|
|
@@ -13,73 +13,73 @@ import { z } from 'zod';
|
|
|
13
13
|
* @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#oas-webhooks
|
|
14
14
|
*/
|
|
15
15
|
export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
|
|
16
|
+
summary?: string | undefined;
|
|
17
|
+
description?: string | undefined;
|
|
16
18
|
servers?: {
|
|
17
19
|
url: string;
|
|
18
20
|
description?: string | undefined;
|
|
19
21
|
variables?: Record<string, {
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
default?: string | undefined;
|
|
22
22
|
enum?: string[] | undefined;
|
|
23
|
+
default?: string | undefined;
|
|
24
|
+
description?: string | undefined;
|
|
23
25
|
}> | undefined;
|
|
24
26
|
}[] | undefined;
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
summary?: string | undefined;
|
|
27
27
|
parameters?: {
|
|
28
28
|
name: string;
|
|
29
29
|
in: "path" | "query" | "header" | "cookie";
|
|
30
30
|
description?: string | undefined;
|
|
31
|
+
required?: boolean | undefined;
|
|
31
32
|
deprecated?: boolean | undefined;
|
|
33
|
+
allowEmptyValue?: boolean | undefined;
|
|
34
|
+
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
35
|
+
explode?: boolean | undefined;
|
|
36
|
+
allowReserved?: boolean | undefined;
|
|
37
|
+
schema?: Record<string, any> | undefined;
|
|
38
|
+
example?: any;
|
|
39
|
+
examples?: Record<string, {
|
|
40
|
+
summary?: string | undefined;
|
|
41
|
+
description?: string | undefined;
|
|
42
|
+
value?: any;
|
|
43
|
+
externalValue?: string | undefined;
|
|
44
|
+
}> | undefined;
|
|
32
45
|
content?: Record<string, {
|
|
46
|
+
schema?: Record<string, any> | undefined;
|
|
33
47
|
example?: any;
|
|
34
48
|
examples?: Record<string, {
|
|
35
|
-
description?: string | undefined;
|
|
36
49
|
summary?: string | undefined;
|
|
50
|
+
description?: string | undefined;
|
|
37
51
|
value?: any;
|
|
38
52
|
externalValue?: string | undefined;
|
|
39
53
|
}> | undefined;
|
|
40
|
-
schema?: Record<string, any> | undefined;
|
|
41
54
|
encoding?: Record<string, {
|
|
42
55
|
contentType: string;
|
|
43
56
|
headers?: Record<string, {
|
|
44
57
|
description?: string | undefined;
|
|
58
|
+
required?: boolean | undefined;
|
|
45
59
|
deprecated?: boolean | undefined;
|
|
60
|
+
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
61
|
+
explode?: boolean | undefined;
|
|
62
|
+
schema?: Record<string, any> | undefined;
|
|
63
|
+
example?: any;
|
|
64
|
+
examples?: Record<string, {
|
|
65
|
+
summary?: string | undefined;
|
|
66
|
+
description?: string | undefined;
|
|
67
|
+
value?: any;
|
|
68
|
+
externalValue?: string | undefined;
|
|
69
|
+
}> | undefined;
|
|
46
70
|
content?: Record<string, {
|
|
71
|
+
schema?: Record<string, any> | undefined;
|
|
47
72
|
example?: any;
|
|
48
73
|
examples?: Record<string, {
|
|
49
|
-
description?: string | undefined;
|
|
50
74
|
summary?: string | undefined;
|
|
75
|
+
description?: string | undefined;
|
|
51
76
|
value?: any;
|
|
52
77
|
externalValue?: string | undefined;
|
|
53
78
|
}> | undefined;
|
|
54
|
-
schema?: Record<string, any> | undefined;
|
|
55
|
-
}> | undefined;
|
|
56
|
-
required?: boolean | undefined;
|
|
57
|
-
example?: any;
|
|
58
|
-
examples?: Record<string, {
|
|
59
|
-
description?: string | undefined;
|
|
60
|
-
summary?: string | undefined;
|
|
61
|
-
value?: any;
|
|
62
|
-
externalValue?: string | undefined;
|
|
63
79
|
}> | undefined;
|
|
64
|
-
schema?: Record<string, any> | undefined;
|
|
65
|
-
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
66
|
-
explode?: boolean | undefined;
|
|
67
80
|
}> | undefined;
|
|
68
81
|
}> | undefined;
|
|
69
82
|
}> | undefined;
|
|
70
|
-
required?: boolean | undefined;
|
|
71
|
-
example?: any;
|
|
72
|
-
examples?: Record<string, {
|
|
73
|
-
description?: string | undefined;
|
|
74
|
-
summary?: string | undefined;
|
|
75
|
-
value?: any;
|
|
76
|
-
externalValue?: string | undefined;
|
|
77
|
-
}> | undefined;
|
|
78
|
-
schema?: Record<string, any> | undefined;
|
|
79
|
-
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
80
|
-
explode?: boolean | undefined;
|
|
81
|
-
allowEmptyValue?: boolean | undefined;
|
|
82
|
-
allowReserved?: boolean | undefined;
|
|
83
83
|
}[] | undefined;
|
|
84
84
|
} & {
|
|
85
85
|
get?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
@@ -90,74 +90,74 @@ export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
|
|
|
90
90
|
head?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
91
91
|
patch?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
92
92
|
trace?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
93
|
-
}, z.
|
|
93
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
94
|
+
summary?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
94
96
|
servers?: {
|
|
95
97
|
url: string;
|
|
96
98
|
description?: string | undefined;
|
|
97
99
|
variables?: Record<string, {
|
|
98
|
-
description?: string | undefined;
|
|
99
|
-
default?: string | undefined;
|
|
100
100
|
enum?: string[] | undefined;
|
|
101
|
+
default?: string | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
101
103
|
}> | undefined;
|
|
102
104
|
}[] | undefined;
|
|
103
|
-
description?: string | undefined;
|
|
104
|
-
summary?: string | undefined;
|
|
105
105
|
parameters?: {
|
|
106
106
|
name: string;
|
|
107
107
|
in: "path" | "query" | "header" | "cookie";
|
|
108
108
|
description?: string | undefined;
|
|
109
|
+
required?: boolean | undefined;
|
|
109
110
|
deprecated?: boolean | undefined;
|
|
111
|
+
allowEmptyValue?: boolean | undefined;
|
|
112
|
+
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
113
|
+
explode?: boolean | undefined;
|
|
114
|
+
allowReserved?: boolean | undefined;
|
|
115
|
+
schema?: Record<string, any> | undefined;
|
|
116
|
+
example?: any;
|
|
117
|
+
examples?: Record<string, {
|
|
118
|
+
summary?: string | undefined;
|
|
119
|
+
description?: string | undefined;
|
|
120
|
+
value?: any;
|
|
121
|
+
externalValue?: string | undefined;
|
|
122
|
+
}> | undefined;
|
|
110
123
|
content?: Record<string, {
|
|
124
|
+
schema?: Record<string, any> | undefined;
|
|
111
125
|
example?: any;
|
|
112
126
|
examples?: Record<string, {
|
|
113
|
-
description?: string | undefined;
|
|
114
127
|
summary?: string | undefined;
|
|
128
|
+
description?: string | undefined;
|
|
115
129
|
value?: any;
|
|
116
130
|
externalValue?: string | undefined;
|
|
117
131
|
}> | undefined;
|
|
118
|
-
schema?: Record<string, any> | undefined;
|
|
119
132
|
encoding?: Record<string, {
|
|
120
133
|
contentType: string;
|
|
121
134
|
headers?: Record<string, {
|
|
122
135
|
description?: string | undefined;
|
|
136
|
+
required?: boolean | undefined;
|
|
123
137
|
deprecated?: boolean | undefined;
|
|
138
|
+
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
139
|
+
explode?: boolean | undefined;
|
|
140
|
+
schema?: Record<string, any> | undefined;
|
|
141
|
+
example?: any;
|
|
142
|
+
examples?: Record<string, {
|
|
143
|
+
summary?: string | undefined;
|
|
144
|
+
description?: string | undefined;
|
|
145
|
+
value?: any;
|
|
146
|
+
externalValue?: string | undefined;
|
|
147
|
+
}> | undefined;
|
|
124
148
|
content?: Record<string, {
|
|
149
|
+
schema?: Record<string, any> | undefined;
|
|
125
150
|
example?: any;
|
|
126
151
|
examples?: Record<string, {
|
|
127
|
-
description?: string | undefined;
|
|
128
152
|
summary?: string | undefined;
|
|
153
|
+
description?: string | undefined;
|
|
129
154
|
value?: any;
|
|
130
155
|
externalValue?: string | undefined;
|
|
131
156
|
}> | undefined;
|
|
132
|
-
schema?: Record<string, any> | undefined;
|
|
133
|
-
}> | undefined;
|
|
134
|
-
required?: boolean | undefined;
|
|
135
|
-
example?: any;
|
|
136
|
-
examples?: Record<string, {
|
|
137
|
-
description?: string | undefined;
|
|
138
|
-
summary?: string | undefined;
|
|
139
|
-
value?: any;
|
|
140
|
-
externalValue?: string | undefined;
|
|
141
157
|
}> | undefined;
|
|
142
|
-
schema?: Record<string, any> | undefined;
|
|
143
|
-
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
144
|
-
explode?: boolean | undefined;
|
|
145
158
|
}> | undefined;
|
|
146
159
|
}> | undefined;
|
|
147
160
|
}> | undefined;
|
|
148
|
-
required?: boolean | undefined;
|
|
149
|
-
example?: any;
|
|
150
|
-
examples?: Record<string, {
|
|
151
|
-
description?: string | undefined;
|
|
152
|
-
summary?: string | undefined;
|
|
153
|
-
value?: any;
|
|
154
|
-
externalValue?: string | undefined;
|
|
155
|
-
}> | undefined;
|
|
156
|
-
schema?: Record<string, any> | undefined;
|
|
157
|
-
style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
158
|
-
explode?: boolean | undefined;
|
|
159
|
-
allowEmptyValue?: boolean | undefined;
|
|
160
|
-
allowReserved?: boolean | undefined;
|
|
161
161
|
}[] | undefined;
|
|
162
162
|
} & {
|
|
163
163
|
get?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
@@ -168,5 +168,5 @@ export declare const WebhooksObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<{
|
|
|
168
168
|
head?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
169
169
|
patch?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
170
170
|
trace?: z.infer<typeof import("./operation-object-without-callbacks.js").OperationObjectSchemaWithoutCallbacks>;
|
|
171
|
-
}
|
|
171
|
+
}, unknown>>>;
|
|
172
172
|
//# sourceMappingURL=webhooks-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/webhooks-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"webhooks-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/webhooks-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAA6D,CAAA"}
|
|
@@ -11,41 +11,11 @@ import { z } from 'zod';
|
|
|
11
11
|
* @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#xml-object
|
|
12
12
|
*/
|
|
13
13
|
export declare const XmlObjectSchema: z.ZodObject<{
|
|
14
|
-
/**
|
|
15
|
-
* Replaces the name of the element/attribute used for the described schema property.
|
|
16
|
-
*/
|
|
17
14
|
name: z.ZodOptional<z.ZodString>;
|
|
18
|
-
/**
|
|
19
|
-
* The URI of the namespace definition. Value MUST be in the form of a URL.
|
|
20
|
-
*/
|
|
21
15
|
namespace: z.ZodOptional<z.ZodString>;
|
|
22
|
-
/**
|
|
23
|
-
* The prefix to be used for the name.
|
|
24
|
-
*/
|
|
25
16
|
prefix: z.ZodOptional<z.ZodString>;
|
|
26
|
-
/**
|
|
27
|
-
* Declares whether the property definition translates to an attribute instead of an element.
|
|
28
|
-
* Default value is false.
|
|
29
|
-
*/
|
|
30
17
|
attribute: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
/**
|
|
32
|
-
* MAY be used only for an array definition.
|
|
33
|
-
* Signifies whether the array is wrapped (for example, <books><book/><book/></books>)
|
|
34
|
-
* or unwrapped (<book/><book/>). Default value is false.
|
|
35
|
-
*/
|
|
36
18
|
wrapped: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
},
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
namespace?: string | undefined;
|
|
40
|
-
prefix?: string | undefined;
|
|
41
|
-
attribute?: boolean | undefined;
|
|
42
|
-
wrapped?: boolean | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
name?: string | undefined;
|
|
45
|
-
namespace?: string | undefined;
|
|
46
|
-
prefix?: string | undefined;
|
|
47
|
-
attribute?: boolean | undefined;
|
|
48
|
-
wrapped?: boolean | undefined;
|
|
49
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
50
20
|
export type XMLObject = z.infer<typeof XmlObjectSchema>;
|
|
51
21
|
//# sourceMappingURL=xml-object.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/xml-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"xml-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/xml-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;iBA4B1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|