@shipworthy/openapi-parser 0.0.0-stage → 0.0.2
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/LICENSE +21 -0
- package/README.md +364 -2
- package/dist/bundle.d.ts +973 -0
- package/dist/bundle.js +11 -0
- package/dist/codec.d.ts +2188 -0
- package/dist/codec.js +42 -0
- package/dist/document.d.ts +9 -0
- package/dist/document.js +28 -0
- package/dist/errors.d.ts +105 -0
- package/dist/errors.js +162 -0
- package/dist/hoist.d.ts +10 -0
- package/dist/hoist.js +444 -0
- package/dist/http.d.ts +2 -0
- package/dist/http.js +163 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/load.d.ts +17 -0
- package/dist/load.js +128 -0
- package/dist/loader.d.ts +11 -0
- package/dist/loader.js +89 -0
- package/dist/parsers.d.ts +5 -0
- package/dist/parsers.js +90 -0
- package/dist/pipeline.d.ts +3 -0
- package/dist/pipeline.js +433 -0
- package/dist/plugins.d.ts +95 -0
- package/dist/plugins.js +61 -0
- package/dist/pointer.d.ts +7 -0
- package/dist/pointer.js +80 -0
- package/dist/run.d.ts +17 -0
- package/dist/run.js +313 -0
- package/dist/schemas/3.1/callback.d.ts +205 -0
- package/dist/schemas/3.1/callback.js +4 -0
- package/dist/schemas/3.1/components.d.ts +801 -0
- package/dist/schemas/3.1/components.js +25 -0
- package/dist/schemas/3.1/contact.d.ts +7 -0
- package/dist/schemas/3.1/contact.js +7 -0
- package/dist/schemas/3.1/document.d.ts +1093 -0
- package/dist/schemas/3.1/document.js +25 -0
- package/dist/schemas/3.1/encoding.d.ts +14 -0
- package/dist/schemas/3.1/encoding.js +11 -0
- package/dist/schemas/3.1/example.d.ts +8 -0
- package/dist/schemas/3.1/example.js +10 -0
- package/dist/schemas/3.1/external-docs.d.ts +6 -0
- package/dist/schemas/3.1/external-docs.js +6 -0
- package/dist/schemas/3.1/header.d.ts +194 -0
- package/dist/schemas/3.1/header.js +29 -0
- package/dist/schemas/3.1/http-method.d.ts +4 -0
- package/dist/schemas/3.1/http-method.js +12 -0
- package/dist/schemas/3.1/index.d.ts +29 -0
- package/dist/schemas/3.1/index.js +29 -0
- package/dist/schemas/3.1/info.d.ts +19 -0
- package/dist/schemas/3.1/info.js +13 -0
- package/dist/schemas/3.1/license.d.ts +7 -0
- package/dist/schemas/3.1/license.js +9 -0
- package/dist/schemas/3.1/link.d.ts +18 -0
- package/dist/schemas/3.1/link.js +13 -0
- package/dist/schemas/3.1/media-type.d.ts +27 -0
- package/dist/schemas/3.1/media-type.js +14 -0
- package/dist/schemas/3.1/oauth-flow.d.ts +8 -0
- package/dist/schemas/3.1/oauth-flow.js +8 -0
- package/dist/schemas/3.1/oauth-flows.d.ts +28 -0
- package/dist/schemas/3.1/oauth-flows.js +13 -0
- package/dist/schemas/3.1/object.d.ts +5 -0
- package/dist/schemas/3.1/object.js +17 -0
- package/dist/schemas/3.1/operation.d.ts +1040 -0
- package/dist/schemas/3.1/operation.js +25 -0
- package/dist/schemas/3.1/parameter.d.ts +101 -0
- package/dist/schemas/3.1/parameter.js +33 -0
- package/dist/schemas/3.1/path-item.d.ts +127 -0
- package/dist/schemas/3.1/path-item.js +22 -0
- package/dist/schemas/3.1/paths.d.ts +126 -0
- package/dist/schemas/3.1/paths.js +4 -0
- package/dist/schemas/3.1/reference.d.ts +13 -0
- package/dist/schemas/3.1/reference.js +11 -0
- package/dist/schemas/3.1/request-body.d.ts +31 -0
- package/dist/schemas/3.1/request-body.js +8 -0
- package/dist/schemas/3.1/response.d.ts +149 -0
- package/dist/schemas/3.1/response.js +12 -0
- package/dist/schemas/3.1/responses.d.ts +152 -0
- package/dist/schemas/3.1/responses.js +7 -0
- package/dist/schemas/3.1/schema.d.ts +4 -0
- package/dist/schemas/3.1/schema.js +6 -0
- package/dist/schemas/3.1/security-requirement.d.ts +3 -0
- package/dist/schemas/3.1/security-requirement.js +2 -0
- package/dist/schemas/3.1/security-scheme.d.ts +49 -0
- package/dist/schemas/3.1/security-scheme.js +25 -0
- package/dist/schemas/3.1/server-variable.d.ts +7 -0
- package/dist/schemas/3.1/server-variable.js +7 -0
- package/dist/schemas/3.1/server.d.ts +11 -0
- package/dist/schemas/3.1/server.js +8 -0
- package/dist/schemas/3.1/tag.d.ts +10 -0
- package/dist/schemas/3.1/tag.js +8 -0
- package/dist/upgraders/3.0-to-3.1.d.ts +9 -0
- package/dist/upgraders/3.0-to-3.1.js +310 -0
- package/dist/url.d.ts +29 -0
- package/dist/url.js +255 -0
- package/dist/yaml.d.ts +6 -0
- package/dist/yaml.js +235 -0
- package/package.json +47 -4
|
@@ -0,0 +1,1040 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
declare const fields: {
|
|
3
|
+
tags: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4
|
+
summary: Schema.optionalKey<Schema.String>;
|
|
5
|
+
description: Schema.optionalKey<Schema.String>;
|
|
6
|
+
externalDocs: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly url: Schema.String;
|
|
8
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
10
|
+
operationId: Schema.optionalKey<Schema.String>;
|
|
11
|
+
parameters: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
12
|
+
readonly $ref: Schema.String;
|
|
13
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
14
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
16
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly required: Schema.optionalKey<Schema.Boolean>;
|
|
18
|
+
readonly deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
19
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
20
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
21
|
+
readonly content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<{
|
|
22
|
+
readonly [x: string]: unknown;
|
|
23
|
+
readonly schema?: boolean | {
|
|
24
|
+
readonly [x: string]: unknown;
|
|
25
|
+
} | undefined;
|
|
26
|
+
readonly example?: unknown;
|
|
27
|
+
readonly examples?: {
|
|
28
|
+
readonly [x: string]: {
|
|
29
|
+
readonly [x: string]: unknown;
|
|
30
|
+
readonly $ref: string;
|
|
31
|
+
readonly summary?: string | undefined;
|
|
32
|
+
readonly description?: string | undefined;
|
|
33
|
+
} | {
|
|
34
|
+
readonly [x: string]: unknown;
|
|
35
|
+
readonly summary?: string | undefined;
|
|
36
|
+
readonly description?: string | undefined;
|
|
37
|
+
readonly value?: unknown;
|
|
38
|
+
readonly externalValue?: string | undefined;
|
|
39
|
+
};
|
|
40
|
+
} | undefined;
|
|
41
|
+
readonly encoding?: {
|
|
42
|
+
readonly [x: string]: {
|
|
43
|
+
readonly [x: string]: unknown;
|
|
44
|
+
readonly contentType?: string | undefined;
|
|
45
|
+
readonly headers?: {
|
|
46
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
47
|
+
readonly [x: string]: unknown;
|
|
48
|
+
readonly $ref: string;
|
|
49
|
+
readonly summary?: string | undefined;
|
|
50
|
+
readonly description?: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
} | undefined;
|
|
53
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
54
|
+
readonly explode?: boolean | undefined;
|
|
55
|
+
readonly allowReserved?: boolean | undefined;
|
|
56
|
+
};
|
|
57
|
+
} | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
readonly [x: string]: unknown;
|
|
60
|
+
readonly schema?: boolean | {
|
|
61
|
+
readonly [x: string]: unknown;
|
|
62
|
+
} | undefined;
|
|
63
|
+
readonly example?: unknown;
|
|
64
|
+
readonly examples?: {
|
|
65
|
+
readonly [x: string]: {
|
|
66
|
+
readonly [x: string]: unknown;
|
|
67
|
+
readonly $ref: string;
|
|
68
|
+
readonly summary?: string | undefined;
|
|
69
|
+
readonly description?: string | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
readonly [x: string]: unknown;
|
|
72
|
+
readonly summary?: string | undefined;
|
|
73
|
+
readonly description?: string | undefined;
|
|
74
|
+
readonly value?: unknown;
|
|
75
|
+
readonly externalValue?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
} | undefined;
|
|
78
|
+
readonly encoding?: {
|
|
79
|
+
readonly [x: string]: {
|
|
80
|
+
readonly [x: string]: unknown;
|
|
81
|
+
readonly contentType?: string | undefined;
|
|
82
|
+
readonly headers?: {
|
|
83
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
84
|
+
readonly [x: string]: unknown;
|
|
85
|
+
readonly $ref: string;
|
|
86
|
+
readonly summary?: string | undefined;
|
|
87
|
+
readonly description?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
} | undefined;
|
|
90
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
91
|
+
readonly explode?: boolean | undefined;
|
|
92
|
+
readonly allowReserved?: boolean | undefined;
|
|
93
|
+
};
|
|
94
|
+
} | undefined;
|
|
95
|
+
}, never, never>>>>;
|
|
96
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
97
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
98
|
+
readonly $ref: Schema.String;
|
|
99
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
100
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
101
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
102
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
103
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
104
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
105
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
106
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
107
|
+
readonly name: Schema.String;
|
|
108
|
+
readonly in: Schema.Literals<readonly ["query", "header", "path", "cookie"]>;
|
|
109
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["matrix", "label", "form", "simple", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
110
|
+
readonly allowEmptyValue: Schema.optionalKey<Schema.Boolean>;
|
|
111
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
112
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
113
|
+
requestBody: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
114
|
+
readonly $ref: Schema.String;
|
|
115
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
116
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
117
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
118
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
119
|
+
readonly content: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
120
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
121
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
122
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
123
|
+
readonly $ref: Schema.String;
|
|
124
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
125
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
126
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
127
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
128
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
129
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
130
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
131
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
132
|
+
readonly encoding: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
133
|
+
readonly contentType: Schema.optionalKey<Schema.String>;
|
|
134
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
135
|
+
readonly $ref: Schema.String;
|
|
136
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
137
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
138
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<import("./header.ts").OpenApiHeader, import("./header.ts").OpenApiHeader, never, never>>]>>>;
|
|
139
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
140
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
141
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
142
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
143
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
144
|
+
readonly required: Schema.optionalKey<Schema.Boolean>;
|
|
145
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>;
|
|
146
|
+
responses: Schema.optionalKey<Schema.StructWithRest<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
147
|
+
readonly $ref: Schema.String;
|
|
148
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
149
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
150
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
151
|
+
readonly description: Schema.String;
|
|
152
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
153
|
+
readonly $ref: Schema.String;
|
|
154
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
155
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
156
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
157
|
+
description: Schema.optionalKey<Schema.String>;
|
|
158
|
+
required: Schema.optionalKey<Schema.Boolean>;
|
|
159
|
+
deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
160
|
+
style: Schema.optionalKey<Schema.Literal<"simple">>;
|
|
161
|
+
explode: Schema.optionalKey<Schema.Boolean>;
|
|
162
|
+
schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
163
|
+
content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<{
|
|
164
|
+
readonly [x: string]: unknown;
|
|
165
|
+
readonly schema?: boolean | {
|
|
166
|
+
readonly [x: string]: unknown;
|
|
167
|
+
} | undefined;
|
|
168
|
+
readonly example?: unknown;
|
|
169
|
+
readonly examples?: {
|
|
170
|
+
readonly [x: string]: {
|
|
171
|
+
readonly [x: string]: unknown;
|
|
172
|
+
readonly $ref: string;
|
|
173
|
+
readonly summary?: string | undefined;
|
|
174
|
+
readonly description?: string | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
readonly [x: string]: unknown;
|
|
177
|
+
readonly summary?: string | undefined;
|
|
178
|
+
readonly description?: string | undefined;
|
|
179
|
+
readonly value?: unknown;
|
|
180
|
+
readonly externalValue?: string | undefined;
|
|
181
|
+
};
|
|
182
|
+
} | undefined;
|
|
183
|
+
readonly encoding?: {
|
|
184
|
+
readonly [x: string]: {
|
|
185
|
+
readonly [x: string]: unknown;
|
|
186
|
+
readonly contentType?: string | undefined;
|
|
187
|
+
readonly headers?: {
|
|
188
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
189
|
+
readonly [x: string]: unknown;
|
|
190
|
+
readonly $ref: string;
|
|
191
|
+
readonly summary?: string | undefined;
|
|
192
|
+
readonly description?: string | undefined;
|
|
193
|
+
};
|
|
194
|
+
} | undefined;
|
|
195
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
196
|
+
readonly explode?: boolean | undefined;
|
|
197
|
+
readonly allowReserved?: boolean | undefined;
|
|
198
|
+
};
|
|
199
|
+
} | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
readonly [x: string]: unknown;
|
|
202
|
+
readonly schema?: boolean | {
|
|
203
|
+
readonly [x: string]: unknown;
|
|
204
|
+
} | undefined;
|
|
205
|
+
readonly example?: unknown;
|
|
206
|
+
readonly examples?: {
|
|
207
|
+
readonly [x: string]: {
|
|
208
|
+
readonly [x: string]: unknown;
|
|
209
|
+
readonly $ref: string;
|
|
210
|
+
readonly summary?: string | undefined;
|
|
211
|
+
readonly description?: string | undefined;
|
|
212
|
+
} | {
|
|
213
|
+
readonly [x: string]: unknown;
|
|
214
|
+
readonly summary?: string | undefined;
|
|
215
|
+
readonly description?: string | undefined;
|
|
216
|
+
readonly value?: unknown;
|
|
217
|
+
readonly externalValue?: string | undefined;
|
|
218
|
+
};
|
|
219
|
+
} | undefined;
|
|
220
|
+
readonly encoding?: {
|
|
221
|
+
readonly [x: string]: {
|
|
222
|
+
readonly [x: string]: unknown;
|
|
223
|
+
readonly contentType?: string | undefined;
|
|
224
|
+
readonly headers?: {
|
|
225
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
226
|
+
readonly [x: string]: unknown;
|
|
227
|
+
readonly $ref: string;
|
|
228
|
+
readonly summary?: string | undefined;
|
|
229
|
+
readonly description?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
} | undefined;
|
|
232
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
233
|
+
readonly explode?: boolean | undefined;
|
|
234
|
+
readonly allowReserved?: boolean | undefined;
|
|
235
|
+
};
|
|
236
|
+
} | undefined;
|
|
237
|
+
}, never, never>>>>;
|
|
238
|
+
example: Schema.optionalKey<Schema.Unknown>;
|
|
239
|
+
examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
240
|
+
readonly $ref: Schema.String;
|
|
241
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
242
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
243
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
244
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
245
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
246
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
247
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
248
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
249
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
250
|
+
readonly content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
251
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
252
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
253
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
254
|
+
readonly $ref: Schema.String;
|
|
255
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
256
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
257
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
258
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
259
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
260
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
261
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
262
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
263
|
+
readonly encoding: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
264
|
+
readonly contentType: Schema.optionalKey<Schema.String>;
|
|
265
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
266
|
+
readonly $ref: Schema.String;
|
|
267
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
268
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
269
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<import("./header.ts").OpenApiHeader, import("./header.ts").OpenApiHeader, never, never>>]>>>;
|
|
270
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
271
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
272
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
273
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
274
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
275
|
+
readonly links: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
276
|
+
readonly $ref: Schema.String;
|
|
277
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
278
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
279
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
280
|
+
readonly operationRef: Schema.optionalKey<Schema.String>;
|
|
281
|
+
readonly operationId: Schema.optionalKey<Schema.String>;
|
|
282
|
+
readonly parameters: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
283
|
+
readonly requestBody: Schema.optionalKey<Schema.Unknown>;
|
|
284
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
285
|
+
readonly server: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
286
|
+
readonly url: Schema.String;
|
|
287
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
288
|
+
readonly variables: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
289
|
+
readonly default: Schema.String;
|
|
290
|
+
readonly enum: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
291
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
292
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
293
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
294
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
295
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
296
|
+
callbacks: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
297
|
+
readonly $ref: Schema.String;
|
|
298
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
299
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
300
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<{
|
|
301
|
+
readonly [x: string]: {
|
|
302
|
+
readonly [x: string]: unknown;
|
|
303
|
+
readonly $ref?: string | undefined;
|
|
304
|
+
readonly summary?: string | undefined;
|
|
305
|
+
readonly description?: string | undefined;
|
|
306
|
+
readonly get?: OpenApiOperation | undefined;
|
|
307
|
+
readonly put?: OpenApiOperation | undefined;
|
|
308
|
+
readonly post?: OpenApiOperation | undefined;
|
|
309
|
+
readonly delete?: OpenApiOperation | undefined;
|
|
310
|
+
readonly options?: OpenApiOperation | undefined;
|
|
311
|
+
readonly head?: OpenApiOperation | undefined;
|
|
312
|
+
readonly patch?: OpenApiOperation | undefined;
|
|
313
|
+
readonly trace?: OpenApiOperation | undefined;
|
|
314
|
+
readonly servers?: readonly {
|
|
315
|
+
readonly [x: string]: unknown;
|
|
316
|
+
readonly url: string;
|
|
317
|
+
readonly description?: string | undefined;
|
|
318
|
+
readonly variables?: {
|
|
319
|
+
readonly [x: string]: {
|
|
320
|
+
readonly [x: string]: unknown;
|
|
321
|
+
readonly default: string;
|
|
322
|
+
readonly enum?: readonly [string, ...string[]] | undefined;
|
|
323
|
+
readonly description?: string | undefined;
|
|
324
|
+
};
|
|
325
|
+
} | undefined;
|
|
326
|
+
}[] | undefined;
|
|
327
|
+
readonly parameters?: readonly ({
|
|
328
|
+
readonly [x: string]: unknown;
|
|
329
|
+
readonly $ref: string;
|
|
330
|
+
readonly summary?: string | undefined;
|
|
331
|
+
readonly description?: string | undefined;
|
|
332
|
+
} | {
|
|
333
|
+
readonly [x: string]: unknown;
|
|
334
|
+
readonly description?: string | undefined;
|
|
335
|
+
readonly required?: boolean | undefined;
|
|
336
|
+
readonly deprecated?: boolean | undefined;
|
|
337
|
+
readonly explode?: boolean | undefined;
|
|
338
|
+
readonly schema?: boolean | {
|
|
339
|
+
readonly [x: string]: unknown;
|
|
340
|
+
} | undefined;
|
|
341
|
+
readonly content?: {
|
|
342
|
+
readonly [x: string]: {
|
|
343
|
+
readonly [x: string]: unknown;
|
|
344
|
+
readonly schema?: boolean | {
|
|
345
|
+
readonly [x: string]: unknown;
|
|
346
|
+
} | undefined;
|
|
347
|
+
readonly example?: unknown;
|
|
348
|
+
readonly examples?: {
|
|
349
|
+
readonly [x: string]: {
|
|
350
|
+
readonly [x: string]: unknown;
|
|
351
|
+
readonly $ref: string;
|
|
352
|
+
readonly summary?: string | undefined;
|
|
353
|
+
readonly description?: string | undefined;
|
|
354
|
+
} | {
|
|
355
|
+
readonly [x: string]: unknown;
|
|
356
|
+
readonly summary?: string | undefined;
|
|
357
|
+
readonly description?: string | undefined;
|
|
358
|
+
readonly value?: unknown;
|
|
359
|
+
readonly externalValue?: string | undefined;
|
|
360
|
+
};
|
|
361
|
+
} | undefined;
|
|
362
|
+
readonly encoding?: {
|
|
363
|
+
readonly [x: string]: {
|
|
364
|
+
readonly [x: string]: unknown;
|
|
365
|
+
readonly contentType?: string | undefined;
|
|
366
|
+
readonly headers?: {
|
|
367
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
368
|
+
readonly [x: string]: unknown;
|
|
369
|
+
readonly $ref: string;
|
|
370
|
+
readonly summary?: string | undefined;
|
|
371
|
+
readonly description?: string | undefined;
|
|
372
|
+
};
|
|
373
|
+
} | undefined;
|
|
374
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
375
|
+
readonly explode?: boolean | undefined;
|
|
376
|
+
readonly allowReserved?: boolean | undefined;
|
|
377
|
+
};
|
|
378
|
+
} | undefined;
|
|
379
|
+
};
|
|
380
|
+
} | undefined;
|
|
381
|
+
readonly example?: unknown;
|
|
382
|
+
readonly examples?: {
|
|
383
|
+
readonly [x: string]: {
|
|
384
|
+
readonly [x: string]: unknown;
|
|
385
|
+
readonly $ref: string;
|
|
386
|
+
readonly summary?: string | undefined;
|
|
387
|
+
readonly description?: string | undefined;
|
|
388
|
+
} | {
|
|
389
|
+
readonly [x: string]: unknown;
|
|
390
|
+
readonly summary?: string | undefined;
|
|
391
|
+
readonly description?: string | undefined;
|
|
392
|
+
readonly value?: unknown;
|
|
393
|
+
readonly externalValue?: string | undefined;
|
|
394
|
+
};
|
|
395
|
+
} | undefined;
|
|
396
|
+
readonly name: string;
|
|
397
|
+
readonly in: "cookie" | "header" | "path" | "query";
|
|
398
|
+
readonly style?: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited" | undefined;
|
|
399
|
+
readonly allowEmptyValue?: boolean | undefined;
|
|
400
|
+
readonly allowReserved?: boolean | undefined;
|
|
401
|
+
})[] | undefined;
|
|
402
|
+
};
|
|
403
|
+
}, {
|
|
404
|
+
readonly [x: string]: {
|
|
405
|
+
readonly [x: string]: unknown;
|
|
406
|
+
readonly $ref?: string | undefined;
|
|
407
|
+
readonly summary?: string | undefined;
|
|
408
|
+
readonly description?: string | undefined;
|
|
409
|
+
readonly get?: OpenApiOperation | undefined;
|
|
410
|
+
readonly put?: OpenApiOperation | undefined;
|
|
411
|
+
readonly post?: OpenApiOperation | undefined;
|
|
412
|
+
readonly delete?: OpenApiOperation | undefined;
|
|
413
|
+
readonly options?: OpenApiOperation | undefined;
|
|
414
|
+
readonly head?: OpenApiOperation | undefined;
|
|
415
|
+
readonly patch?: OpenApiOperation | undefined;
|
|
416
|
+
readonly trace?: OpenApiOperation | undefined;
|
|
417
|
+
readonly servers?: readonly {
|
|
418
|
+
readonly [x: string]: unknown;
|
|
419
|
+
readonly url: string;
|
|
420
|
+
readonly description?: string | undefined;
|
|
421
|
+
readonly variables?: {
|
|
422
|
+
readonly [x: string]: {
|
|
423
|
+
readonly [x: string]: unknown;
|
|
424
|
+
readonly default: string;
|
|
425
|
+
readonly enum?: readonly [string, ...string[]] | undefined;
|
|
426
|
+
readonly description?: string | undefined;
|
|
427
|
+
};
|
|
428
|
+
} | undefined;
|
|
429
|
+
}[] | undefined;
|
|
430
|
+
readonly parameters?: readonly ({
|
|
431
|
+
readonly [x: string]: unknown;
|
|
432
|
+
readonly $ref: string;
|
|
433
|
+
readonly summary?: string | undefined;
|
|
434
|
+
readonly description?: string | undefined;
|
|
435
|
+
} | {
|
|
436
|
+
readonly [x: string]: unknown;
|
|
437
|
+
readonly description?: string | undefined;
|
|
438
|
+
readonly required?: boolean | undefined;
|
|
439
|
+
readonly deprecated?: boolean | undefined;
|
|
440
|
+
readonly explode?: boolean | undefined;
|
|
441
|
+
readonly schema?: boolean | {
|
|
442
|
+
readonly [x: string]: unknown;
|
|
443
|
+
} | undefined;
|
|
444
|
+
readonly content?: {
|
|
445
|
+
readonly [x: string]: {
|
|
446
|
+
readonly [x: string]: unknown;
|
|
447
|
+
readonly schema?: boolean | {
|
|
448
|
+
readonly [x: string]: unknown;
|
|
449
|
+
} | undefined;
|
|
450
|
+
readonly example?: unknown;
|
|
451
|
+
readonly examples?: {
|
|
452
|
+
readonly [x: string]: {
|
|
453
|
+
readonly [x: string]: unknown;
|
|
454
|
+
readonly $ref: string;
|
|
455
|
+
readonly summary?: string | undefined;
|
|
456
|
+
readonly description?: string | undefined;
|
|
457
|
+
} | {
|
|
458
|
+
readonly [x: string]: unknown;
|
|
459
|
+
readonly summary?: string | undefined;
|
|
460
|
+
readonly description?: string | undefined;
|
|
461
|
+
readonly value?: unknown;
|
|
462
|
+
readonly externalValue?: string | undefined;
|
|
463
|
+
};
|
|
464
|
+
} | undefined;
|
|
465
|
+
readonly encoding?: {
|
|
466
|
+
readonly [x: string]: {
|
|
467
|
+
readonly [x: string]: unknown;
|
|
468
|
+
readonly contentType?: string | undefined;
|
|
469
|
+
readonly headers?: {
|
|
470
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
471
|
+
readonly [x: string]: unknown;
|
|
472
|
+
readonly $ref: string;
|
|
473
|
+
readonly summary?: string | undefined;
|
|
474
|
+
readonly description?: string | undefined;
|
|
475
|
+
};
|
|
476
|
+
} | undefined;
|
|
477
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
478
|
+
readonly explode?: boolean | undefined;
|
|
479
|
+
readonly allowReserved?: boolean | undefined;
|
|
480
|
+
};
|
|
481
|
+
} | undefined;
|
|
482
|
+
};
|
|
483
|
+
} | undefined;
|
|
484
|
+
readonly example?: unknown;
|
|
485
|
+
readonly examples?: {
|
|
486
|
+
readonly [x: string]: {
|
|
487
|
+
readonly [x: string]: unknown;
|
|
488
|
+
readonly $ref: string;
|
|
489
|
+
readonly summary?: string | undefined;
|
|
490
|
+
readonly description?: string | undefined;
|
|
491
|
+
} | {
|
|
492
|
+
readonly [x: string]: unknown;
|
|
493
|
+
readonly summary?: string | undefined;
|
|
494
|
+
readonly description?: string | undefined;
|
|
495
|
+
readonly value?: unknown;
|
|
496
|
+
readonly externalValue?: string | undefined;
|
|
497
|
+
};
|
|
498
|
+
} | undefined;
|
|
499
|
+
readonly name: string;
|
|
500
|
+
readonly in: "cookie" | "header" | "path" | "query";
|
|
501
|
+
readonly style?: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited" | undefined;
|
|
502
|
+
readonly allowEmptyValue?: boolean | undefined;
|
|
503
|
+
readonly allowReserved?: boolean | undefined;
|
|
504
|
+
})[] | undefined;
|
|
505
|
+
};
|
|
506
|
+
}, never, never>>]>>>;
|
|
507
|
+
deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
508
|
+
security: Schema.optionalKey<Schema.$Array<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>>;
|
|
509
|
+
servers: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
510
|
+
readonly url: Schema.String;
|
|
511
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
512
|
+
readonly variables: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
513
|
+
readonly default: Schema.String;
|
|
514
|
+
readonly enum: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
515
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
516
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
517
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
518
|
+
};
|
|
519
|
+
/** Callback recursion is tied through an interface whose fields all come from the schema. */
|
|
520
|
+
export interface OpenApiOperation extends Schema.Struct.Type<typeof fields> {
|
|
521
|
+
readonly [key: string]: unknown;
|
|
522
|
+
}
|
|
523
|
+
export declare const OpenApiOperation: Schema.StructWithRest<Schema.Struct<{
|
|
524
|
+
tags: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
525
|
+
summary: Schema.optionalKey<Schema.String>;
|
|
526
|
+
description: Schema.optionalKey<Schema.String>;
|
|
527
|
+
externalDocs: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
528
|
+
readonly url: Schema.String;
|
|
529
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
530
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
531
|
+
operationId: Schema.optionalKey<Schema.String>;
|
|
532
|
+
parameters: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
533
|
+
readonly $ref: Schema.String;
|
|
534
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
535
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
536
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
537
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
538
|
+
readonly required: Schema.optionalKey<Schema.Boolean>;
|
|
539
|
+
readonly deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
540
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
541
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
542
|
+
readonly content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<{
|
|
543
|
+
readonly [x: string]: unknown;
|
|
544
|
+
readonly schema?: boolean | {
|
|
545
|
+
readonly [x: string]: unknown;
|
|
546
|
+
} | undefined;
|
|
547
|
+
readonly example?: unknown;
|
|
548
|
+
readonly examples?: {
|
|
549
|
+
readonly [x: string]: {
|
|
550
|
+
readonly [x: string]: unknown;
|
|
551
|
+
readonly $ref: string;
|
|
552
|
+
readonly summary?: string | undefined;
|
|
553
|
+
readonly description?: string | undefined;
|
|
554
|
+
} | {
|
|
555
|
+
readonly [x: string]: unknown;
|
|
556
|
+
readonly summary?: string | undefined;
|
|
557
|
+
readonly description?: string | undefined;
|
|
558
|
+
readonly value?: unknown;
|
|
559
|
+
readonly externalValue?: string | undefined;
|
|
560
|
+
};
|
|
561
|
+
} | undefined;
|
|
562
|
+
readonly encoding?: {
|
|
563
|
+
readonly [x: string]: {
|
|
564
|
+
readonly [x: string]: unknown;
|
|
565
|
+
readonly contentType?: string | undefined;
|
|
566
|
+
readonly headers?: {
|
|
567
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
568
|
+
readonly [x: string]: unknown;
|
|
569
|
+
readonly $ref: string;
|
|
570
|
+
readonly summary?: string | undefined;
|
|
571
|
+
readonly description?: string | undefined;
|
|
572
|
+
};
|
|
573
|
+
} | undefined;
|
|
574
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
575
|
+
readonly explode?: boolean | undefined;
|
|
576
|
+
readonly allowReserved?: boolean | undefined;
|
|
577
|
+
};
|
|
578
|
+
} | undefined;
|
|
579
|
+
}, {
|
|
580
|
+
readonly [x: string]: unknown;
|
|
581
|
+
readonly schema?: boolean | {
|
|
582
|
+
readonly [x: string]: unknown;
|
|
583
|
+
} | undefined;
|
|
584
|
+
readonly example?: unknown;
|
|
585
|
+
readonly examples?: {
|
|
586
|
+
readonly [x: string]: {
|
|
587
|
+
readonly [x: string]: unknown;
|
|
588
|
+
readonly $ref: string;
|
|
589
|
+
readonly summary?: string | undefined;
|
|
590
|
+
readonly description?: string | undefined;
|
|
591
|
+
} | {
|
|
592
|
+
readonly [x: string]: unknown;
|
|
593
|
+
readonly summary?: string | undefined;
|
|
594
|
+
readonly description?: string | undefined;
|
|
595
|
+
readonly value?: unknown;
|
|
596
|
+
readonly externalValue?: string | undefined;
|
|
597
|
+
};
|
|
598
|
+
} | undefined;
|
|
599
|
+
readonly encoding?: {
|
|
600
|
+
readonly [x: string]: {
|
|
601
|
+
readonly [x: string]: unknown;
|
|
602
|
+
readonly contentType?: string | undefined;
|
|
603
|
+
readonly headers?: {
|
|
604
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
605
|
+
readonly [x: string]: unknown;
|
|
606
|
+
readonly $ref: string;
|
|
607
|
+
readonly summary?: string | undefined;
|
|
608
|
+
readonly description?: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
} | undefined;
|
|
611
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
612
|
+
readonly explode?: boolean | undefined;
|
|
613
|
+
readonly allowReserved?: boolean | undefined;
|
|
614
|
+
};
|
|
615
|
+
} | undefined;
|
|
616
|
+
}, never, never>>>>;
|
|
617
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
618
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
619
|
+
readonly $ref: Schema.String;
|
|
620
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
621
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
622
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
623
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
624
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
625
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
626
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
627
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
628
|
+
readonly name: Schema.String;
|
|
629
|
+
readonly in: Schema.Literals<readonly ["query", "header", "path", "cookie"]>;
|
|
630
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["matrix", "label", "form", "simple", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
631
|
+
readonly allowEmptyValue: Schema.optionalKey<Schema.Boolean>;
|
|
632
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
633
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
634
|
+
requestBody: Schema.optionalKey<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
635
|
+
readonly $ref: Schema.String;
|
|
636
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
637
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
638
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
639
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
640
|
+
readonly content: Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
641
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
642
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
643
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
644
|
+
readonly $ref: Schema.String;
|
|
645
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
646
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
647
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
648
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
649
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
650
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
651
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
652
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
653
|
+
readonly encoding: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
654
|
+
readonly contentType: Schema.optionalKey<Schema.String>;
|
|
655
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
656
|
+
readonly $ref: Schema.String;
|
|
657
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
658
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
659
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<import("./header.ts").OpenApiHeader, import("./header.ts").OpenApiHeader, never, never>>]>>>;
|
|
660
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
661
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
662
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
663
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
664
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
665
|
+
readonly required: Schema.optionalKey<Schema.Boolean>;
|
|
666
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>;
|
|
667
|
+
responses: Schema.optionalKey<Schema.StructWithRest<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
668
|
+
readonly $ref: Schema.String;
|
|
669
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
670
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
671
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
672
|
+
readonly description: Schema.String;
|
|
673
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
674
|
+
readonly $ref: Schema.String;
|
|
675
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
676
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
677
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
678
|
+
description: Schema.optionalKey<Schema.String>;
|
|
679
|
+
required: Schema.optionalKey<Schema.Boolean>;
|
|
680
|
+
deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
681
|
+
style: Schema.optionalKey<Schema.Literal<"simple">>;
|
|
682
|
+
explode: Schema.optionalKey<Schema.Boolean>;
|
|
683
|
+
schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
684
|
+
content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<{
|
|
685
|
+
readonly [x: string]: unknown;
|
|
686
|
+
readonly schema?: boolean | {
|
|
687
|
+
readonly [x: string]: unknown;
|
|
688
|
+
} | undefined;
|
|
689
|
+
readonly example?: unknown;
|
|
690
|
+
readonly examples?: {
|
|
691
|
+
readonly [x: string]: {
|
|
692
|
+
readonly [x: string]: unknown;
|
|
693
|
+
readonly $ref: string;
|
|
694
|
+
readonly summary?: string | undefined;
|
|
695
|
+
readonly description?: string | undefined;
|
|
696
|
+
} | {
|
|
697
|
+
readonly [x: string]: unknown;
|
|
698
|
+
readonly summary?: string | undefined;
|
|
699
|
+
readonly description?: string | undefined;
|
|
700
|
+
readonly value?: unknown;
|
|
701
|
+
readonly externalValue?: string | undefined;
|
|
702
|
+
};
|
|
703
|
+
} | undefined;
|
|
704
|
+
readonly encoding?: {
|
|
705
|
+
readonly [x: string]: {
|
|
706
|
+
readonly [x: string]: unknown;
|
|
707
|
+
readonly contentType?: string | undefined;
|
|
708
|
+
readonly headers?: {
|
|
709
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
710
|
+
readonly [x: string]: unknown;
|
|
711
|
+
readonly $ref: string;
|
|
712
|
+
readonly summary?: string | undefined;
|
|
713
|
+
readonly description?: string | undefined;
|
|
714
|
+
};
|
|
715
|
+
} | undefined;
|
|
716
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
717
|
+
readonly explode?: boolean | undefined;
|
|
718
|
+
readonly allowReserved?: boolean | undefined;
|
|
719
|
+
};
|
|
720
|
+
} | undefined;
|
|
721
|
+
}, {
|
|
722
|
+
readonly [x: string]: unknown;
|
|
723
|
+
readonly schema?: boolean | {
|
|
724
|
+
readonly [x: string]: unknown;
|
|
725
|
+
} | undefined;
|
|
726
|
+
readonly example?: unknown;
|
|
727
|
+
readonly examples?: {
|
|
728
|
+
readonly [x: string]: {
|
|
729
|
+
readonly [x: string]: unknown;
|
|
730
|
+
readonly $ref: string;
|
|
731
|
+
readonly summary?: string | undefined;
|
|
732
|
+
readonly description?: string | undefined;
|
|
733
|
+
} | {
|
|
734
|
+
readonly [x: string]: unknown;
|
|
735
|
+
readonly summary?: string | undefined;
|
|
736
|
+
readonly description?: string | undefined;
|
|
737
|
+
readonly value?: unknown;
|
|
738
|
+
readonly externalValue?: string | undefined;
|
|
739
|
+
};
|
|
740
|
+
} | undefined;
|
|
741
|
+
readonly encoding?: {
|
|
742
|
+
readonly [x: string]: {
|
|
743
|
+
readonly [x: string]: unknown;
|
|
744
|
+
readonly contentType?: string | undefined;
|
|
745
|
+
readonly headers?: {
|
|
746
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
747
|
+
readonly [x: string]: unknown;
|
|
748
|
+
readonly $ref: string;
|
|
749
|
+
readonly summary?: string | undefined;
|
|
750
|
+
readonly description?: string | undefined;
|
|
751
|
+
};
|
|
752
|
+
} | undefined;
|
|
753
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
754
|
+
readonly explode?: boolean | undefined;
|
|
755
|
+
readonly allowReserved?: boolean | undefined;
|
|
756
|
+
};
|
|
757
|
+
} | undefined;
|
|
758
|
+
}, never, never>>>>;
|
|
759
|
+
example: Schema.optionalKey<Schema.Unknown>;
|
|
760
|
+
examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
761
|
+
readonly $ref: Schema.String;
|
|
762
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
763
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
764
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
765
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
766
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
767
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
768
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
769
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
770
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
771
|
+
readonly content: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
772
|
+
readonly schema: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Unknown>, Schema.Boolean]>>;
|
|
773
|
+
readonly example: Schema.optionalKey<Schema.Unknown>;
|
|
774
|
+
readonly examples: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
775
|
+
readonly $ref: Schema.String;
|
|
776
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
777
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
778
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
779
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
780
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
781
|
+
readonly value: Schema.optionalKey<Schema.Unknown>;
|
|
782
|
+
readonly externalValue: Schema.optionalKey<Schema.String>;
|
|
783
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
784
|
+
readonly encoding: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
785
|
+
readonly contentType: Schema.optionalKey<Schema.String>;
|
|
786
|
+
readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
787
|
+
readonly $ref: Schema.String;
|
|
788
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
789
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
790
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<import("./header.ts").OpenApiHeader, import("./header.ts").OpenApiHeader, never, never>>]>>>;
|
|
791
|
+
readonly style: Schema.optionalKey<Schema.Literals<readonly ["form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
|
|
792
|
+
readonly explode: Schema.optionalKey<Schema.Boolean>;
|
|
793
|
+
readonly allowReserved: Schema.optionalKey<Schema.Boolean>;
|
|
794
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
795
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
796
|
+
readonly links: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
797
|
+
readonly $ref: Schema.String;
|
|
798
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
799
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
800
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
801
|
+
readonly operationRef: Schema.optionalKey<Schema.String>;
|
|
802
|
+
readonly operationId: Schema.optionalKey<Schema.String>;
|
|
803
|
+
readonly parameters: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
804
|
+
readonly requestBody: Schema.optionalKey<Schema.Unknown>;
|
|
805
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
806
|
+
readonly server: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
807
|
+
readonly url: Schema.String;
|
|
808
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
809
|
+
readonly variables: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
810
|
+
readonly default: Schema.String;
|
|
811
|
+
readonly enum: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
812
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
813
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
814
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
815
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>>;
|
|
816
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
817
|
+
callbacks: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
818
|
+
readonly $ref: Schema.String;
|
|
819
|
+
readonly summary: Schema.optionalKey<Schema.String>;
|
|
820
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
821
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.suspend<Schema.Codec<{
|
|
822
|
+
readonly [x: string]: {
|
|
823
|
+
readonly [x: string]: unknown;
|
|
824
|
+
readonly $ref?: string | undefined;
|
|
825
|
+
readonly summary?: string | undefined;
|
|
826
|
+
readonly description?: string | undefined;
|
|
827
|
+
readonly get?: OpenApiOperation | undefined;
|
|
828
|
+
readonly put?: OpenApiOperation | undefined;
|
|
829
|
+
readonly post?: OpenApiOperation | undefined;
|
|
830
|
+
readonly delete?: OpenApiOperation | undefined;
|
|
831
|
+
readonly options?: OpenApiOperation | undefined;
|
|
832
|
+
readonly head?: OpenApiOperation | undefined;
|
|
833
|
+
readonly patch?: OpenApiOperation | undefined;
|
|
834
|
+
readonly trace?: OpenApiOperation | undefined;
|
|
835
|
+
readonly servers?: readonly {
|
|
836
|
+
readonly [x: string]: unknown;
|
|
837
|
+
readonly url: string;
|
|
838
|
+
readonly description?: string | undefined;
|
|
839
|
+
readonly variables?: {
|
|
840
|
+
readonly [x: string]: {
|
|
841
|
+
readonly [x: string]: unknown;
|
|
842
|
+
readonly default: string;
|
|
843
|
+
readonly enum?: readonly [string, ...string[]] | undefined;
|
|
844
|
+
readonly description?: string | undefined;
|
|
845
|
+
};
|
|
846
|
+
} | undefined;
|
|
847
|
+
}[] | undefined;
|
|
848
|
+
readonly parameters?: readonly ({
|
|
849
|
+
readonly [x: string]: unknown;
|
|
850
|
+
readonly $ref: string;
|
|
851
|
+
readonly summary?: string | undefined;
|
|
852
|
+
readonly description?: string | undefined;
|
|
853
|
+
} | {
|
|
854
|
+
readonly [x: string]: unknown;
|
|
855
|
+
readonly description?: string | undefined;
|
|
856
|
+
readonly required?: boolean | undefined;
|
|
857
|
+
readonly deprecated?: boolean | undefined;
|
|
858
|
+
readonly explode?: boolean | undefined;
|
|
859
|
+
readonly schema?: boolean | {
|
|
860
|
+
readonly [x: string]: unknown;
|
|
861
|
+
} | undefined;
|
|
862
|
+
readonly content?: {
|
|
863
|
+
readonly [x: string]: {
|
|
864
|
+
readonly [x: string]: unknown;
|
|
865
|
+
readonly schema?: boolean | {
|
|
866
|
+
readonly [x: string]: unknown;
|
|
867
|
+
} | undefined;
|
|
868
|
+
readonly example?: unknown;
|
|
869
|
+
readonly examples?: {
|
|
870
|
+
readonly [x: string]: {
|
|
871
|
+
readonly [x: string]: unknown;
|
|
872
|
+
readonly $ref: string;
|
|
873
|
+
readonly summary?: string | undefined;
|
|
874
|
+
readonly description?: string | undefined;
|
|
875
|
+
} | {
|
|
876
|
+
readonly [x: string]: unknown;
|
|
877
|
+
readonly summary?: string | undefined;
|
|
878
|
+
readonly description?: string | undefined;
|
|
879
|
+
readonly value?: unknown;
|
|
880
|
+
readonly externalValue?: string | undefined;
|
|
881
|
+
};
|
|
882
|
+
} | undefined;
|
|
883
|
+
readonly encoding?: {
|
|
884
|
+
readonly [x: string]: {
|
|
885
|
+
readonly [x: string]: unknown;
|
|
886
|
+
readonly contentType?: string | undefined;
|
|
887
|
+
readonly headers?: {
|
|
888
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
889
|
+
readonly [x: string]: unknown;
|
|
890
|
+
readonly $ref: string;
|
|
891
|
+
readonly summary?: string | undefined;
|
|
892
|
+
readonly description?: string | undefined;
|
|
893
|
+
};
|
|
894
|
+
} | undefined;
|
|
895
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
896
|
+
readonly explode?: boolean | undefined;
|
|
897
|
+
readonly allowReserved?: boolean | undefined;
|
|
898
|
+
};
|
|
899
|
+
} | undefined;
|
|
900
|
+
};
|
|
901
|
+
} | undefined;
|
|
902
|
+
readonly example?: unknown;
|
|
903
|
+
readonly examples?: {
|
|
904
|
+
readonly [x: string]: {
|
|
905
|
+
readonly [x: string]: unknown;
|
|
906
|
+
readonly $ref: string;
|
|
907
|
+
readonly summary?: string | undefined;
|
|
908
|
+
readonly description?: string | undefined;
|
|
909
|
+
} | {
|
|
910
|
+
readonly [x: string]: unknown;
|
|
911
|
+
readonly summary?: string | undefined;
|
|
912
|
+
readonly description?: string | undefined;
|
|
913
|
+
readonly value?: unknown;
|
|
914
|
+
readonly externalValue?: string | undefined;
|
|
915
|
+
};
|
|
916
|
+
} | undefined;
|
|
917
|
+
readonly name: string;
|
|
918
|
+
readonly in: "cookie" | "header" | "path" | "query";
|
|
919
|
+
readonly style?: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited" | undefined;
|
|
920
|
+
readonly allowEmptyValue?: boolean | undefined;
|
|
921
|
+
readonly allowReserved?: boolean | undefined;
|
|
922
|
+
})[] | undefined;
|
|
923
|
+
};
|
|
924
|
+
}, {
|
|
925
|
+
readonly [x: string]: {
|
|
926
|
+
readonly [x: string]: unknown;
|
|
927
|
+
readonly $ref?: string | undefined;
|
|
928
|
+
readonly summary?: string | undefined;
|
|
929
|
+
readonly description?: string | undefined;
|
|
930
|
+
readonly get?: OpenApiOperation | undefined;
|
|
931
|
+
readonly put?: OpenApiOperation | undefined;
|
|
932
|
+
readonly post?: OpenApiOperation | undefined;
|
|
933
|
+
readonly delete?: OpenApiOperation | undefined;
|
|
934
|
+
readonly options?: OpenApiOperation | undefined;
|
|
935
|
+
readonly head?: OpenApiOperation | undefined;
|
|
936
|
+
readonly patch?: OpenApiOperation | undefined;
|
|
937
|
+
readonly trace?: OpenApiOperation | undefined;
|
|
938
|
+
readonly servers?: readonly {
|
|
939
|
+
readonly [x: string]: unknown;
|
|
940
|
+
readonly url: string;
|
|
941
|
+
readonly description?: string | undefined;
|
|
942
|
+
readonly variables?: {
|
|
943
|
+
readonly [x: string]: {
|
|
944
|
+
readonly [x: string]: unknown;
|
|
945
|
+
readonly default: string;
|
|
946
|
+
readonly enum?: readonly [string, ...string[]] | undefined;
|
|
947
|
+
readonly description?: string | undefined;
|
|
948
|
+
};
|
|
949
|
+
} | undefined;
|
|
950
|
+
}[] | undefined;
|
|
951
|
+
readonly parameters?: readonly ({
|
|
952
|
+
readonly [x: string]: unknown;
|
|
953
|
+
readonly $ref: string;
|
|
954
|
+
readonly summary?: string | undefined;
|
|
955
|
+
readonly description?: string | undefined;
|
|
956
|
+
} | {
|
|
957
|
+
readonly [x: string]: unknown;
|
|
958
|
+
readonly description?: string | undefined;
|
|
959
|
+
readonly required?: boolean | undefined;
|
|
960
|
+
readonly deprecated?: boolean | undefined;
|
|
961
|
+
readonly explode?: boolean | undefined;
|
|
962
|
+
readonly schema?: boolean | {
|
|
963
|
+
readonly [x: string]: unknown;
|
|
964
|
+
} | undefined;
|
|
965
|
+
readonly content?: {
|
|
966
|
+
readonly [x: string]: {
|
|
967
|
+
readonly [x: string]: unknown;
|
|
968
|
+
readonly schema?: boolean | {
|
|
969
|
+
readonly [x: string]: unknown;
|
|
970
|
+
} | undefined;
|
|
971
|
+
readonly example?: unknown;
|
|
972
|
+
readonly examples?: {
|
|
973
|
+
readonly [x: string]: {
|
|
974
|
+
readonly [x: string]: unknown;
|
|
975
|
+
readonly $ref: string;
|
|
976
|
+
readonly summary?: string | undefined;
|
|
977
|
+
readonly description?: string | undefined;
|
|
978
|
+
} | {
|
|
979
|
+
readonly [x: string]: unknown;
|
|
980
|
+
readonly summary?: string | undefined;
|
|
981
|
+
readonly description?: string | undefined;
|
|
982
|
+
readonly value?: unknown;
|
|
983
|
+
readonly externalValue?: string | undefined;
|
|
984
|
+
};
|
|
985
|
+
} | undefined;
|
|
986
|
+
readonly encoding?: {
|
|
987
|
+
readonly [x: string]: {
|
|
988
|
+
readonly [x: string]: unknown;
|
|
989
|
+
readonly contentType?: string | undefined;
|
|
990
|
+
readonly headers?: {
|
|
991
|
+
readonly [x: string]: import("./header.ts").OpenApiHeader | {
|
|
992
|
+
readonly [x: string]: unknown;
|
|
993
|
+
readonly $ref: string;
|
|
994
|
+
readonly summary?: string | undefined;
|
|
995
|
+
readonly description?: string | undefined;
|
|
996
|
+
};
|
|
997
|
+
} | undefined;
|
|
998
|
+
readonly style?: "deepObject" | "form" | "pipeDelimited" | "spaceDelimited" | undefined;
|
|
999
|
+
readonly explode?: boolean | undefined;
|
|
1000
|
+
readonly allowReserved?: boolean | undefined;
|
|
1001
|
+
};
|
|
1002
|
+
} | undefined;
|
|
1003
|
+
};
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
readonly example?: unknown;
|
|
1006
|
+
readonly examples?: {
|
|
1007
|
+
readonly [x: string]: {
|
|
1008
|
+
readonly [x: string]: unknown;
|
|
1009
|
+
readonly $ref: string;
|
|
1010
|
+
readonly summary?: string | undefined;
|
|
1011
|
+
readonly description?: string | undefined;
|
|
1012
|
+
} | {
|
|
1013
|
+
readonly [x: string]: unknown;
|
|
1014
|
+
readonly summary?: string | undefined;
|
|
1015
|
+
readonly description?: string | undefined;
|
|
1016
|
+
readonly value?: unknown;
|
|
1017
|
+
readonly externalValue?: string | undefined;
|
|
1018
|
+
};
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
readonly name: string;
|
|
1021
|
+
readonly in: "cookie" | "header" | "path" | "query";
|
|
1022
|
+
readonly style?: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited" | undefined;
|
|
1023
|
+
readonly allowEmptyValue?: boolean | undefined;
|
|
1024
|
+
readonly allowReserved?: boolean | undefined;
|
|
1025
|
+
})[] | undefined;
|
|
1026
|
+
};
|
|
1027
|
+
}, never, never>>]>>>;
|
|
1028
|
+
deprecated: Schema.optionalKey<Schema.Boolean>;
|
|
1029
|
+
security: Schema.optionalKey<Schema.$Array<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>>;
|
|
1030
|
+
servers: Schema.optionalKey<Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
1031
|
+
readonly url: Schema.String;
|
|
1032
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
1033
|
+
readonly variables: Schema.optionalKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
1034
|
+
readonly default: Schema.String;
|
|
1035
|
+
readonly enum: Schema.optionalKey<Schema.NonEmptyArray<Schema.String>>;
|
|
1036
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
1037
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
1038
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
|
|
1039
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
1040
|
+
export {};
|