@swagger-api/apidom-ns-openapi-2 0.93.0 → 0.94.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 +4 -0
- package/cjs/refractor/index.cjs +5 -7
- package/cjs/refractor/visitors/FallbackVisitor.cjs +6 -8
- package/cjs/refractor/visitors/SpecificationExtensionVisitor.cjs +6 -9
- package/cjs/refractor/visitors/SpecificationVisitor.cjs +59 -61
- package/cjs/refractor/visitors/Visitor.cjs +12 -13
- package/cjs/refractor/visitors/generics/AlternatingVisitor.cjs +20 -16
- package/cjs/refractor/visitors/generics/FixedFieldsVisitor.cjs +44 -44
- package/cjs/refractor/visitors/generics/MapVisitor.cjs +5 -5
- package/cjs/refractor/visitors/generics/MixedFieldsVisitor.cjs +35 -30
- package/cjs/refractor/visitors/generics/PatternedFieldsVisitor.cjs +48 -46
- package/cjs/refractor/visitors/open-api-2/BasePathVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/ConsumesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/HostVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/ProducesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/SchemesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/SecurityVisitor.cjs +15 -16
- package/cjs/refractor/visitors/open-api-2/SwaggerVisitor.cjs +10 -12
- package/cjs/refractor/visitors/open-api-2/TagsVisitor.cjs +16 -17
- package/cjs/refractor/visitors/open-api-2/contact/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/definitions/index.cjs +18 -20
- package/cjs/refractor/visitors/open-api-2/example/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/external-documentation/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/header/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/headers/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/info/VersionVisitor.cjs +7 -11
- package/cjs/refractor/visitors/open-api-2/info/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/items/index.cjs +10 -9
- package/cjs/refractor/visitors/open-api-2/license/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/operation/ConsumesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/ParametersVisitor.cjs +18 -19
- package/cjs/refractor/visitors/open-api-2/operation/ProducesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/SchemesVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/SecurityVisitor.cjs +15 -16
- package/cjs/refractor/visitors/open-api-2/operation/TagsVisitor.cjs +8 -10
- package/cjs/refractor/visitors/open-api-2/operation/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/parameter/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/parameters-definitions/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/path-item/$RefVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/path-item/ParametersVisitor.cjs +18 -19
- package/cjs/refractor/visitors/open-api-2/path-item/index.cjs +21 -23
- package/cjs/refractor/visitors/open-api-2/paths/index.cjs +21 -22
- package/cjs/refractor/visitors/open-api-2/reference/$RefVisitor.cjs +6 -10
- package/cjs/refractor/visitors/open-api-2/reference/index.cjs +14 -18
- package/cjs/refractor/visitors/open-api-2/response/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/responses/DefaultVisitor.cjs +16 -18
- package/cjs/refractor/visitors/open-api-2/responses/index.cjs +28 -29
- package/cjs/refractor/visitors/open-api-2/responses-definitions/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/schema/AllOfVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/ItemsVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/PropertiesVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/SchemaOrJSONReferenceVisitor.cjs +1 -3
- package/cjs/refractor/visitors/open-api-2/schema/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/scopes/index.cjs +7 -8
- package/cjs/refractor/visitors/open-api-2/security-definitions/index.cjs +7 -7
- package/cjs/refractor/visitors/open-api-2/security-requirement/index.cjs +6 -7
- package/cjs/refractor/visitors/open-api-2/security-scheme/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/tag/index.cjs +8 -9
- package/cjs/refractor/visitors/open-api-2/xml/index.cjs +8 -9
- package/dist/apidom-ns-openapi-2.browser.js +3363 -3171
- package/dist/apidom-ns-openapi-2.browser.min.js +1 -1
- package/es/refractor/index.mjs +5 -7
- package/es/refractor/visitors/FallbackVisitor.mjs +5 -8
- package/es/refractor/visitors/SpecificationExtensionVisitor.mjs +6 -9
- package/es/refractor/visitors/SpecificationVisitor.mjs +59 -62
- package/es/refractor/visitors/Visitor.mjs +12 -12
- package/es/refractor/visitors/generics/AlternatingVisitor.mjs +20 -16
- package/es/refractor/visitors/generics/FixedFieldsVisitor.mjs +44 -44
- package/es/refractor/visitors/generics/MapVisitor.mjs +5 -5
- package/es/refractor/visitors/generics/MixedFieldsVisitor.mjs +35 -30
- package/es/refractor/visitors/generics/PatternedFieldsVisitor.mjs +48 -46
- package/es/refractor/visitors/open-api-2/BasePathVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/ConsumesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/HostVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/ProducesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/SchemesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/SecurityVisitor.mjs +15 -16
- package/es/refractor/visitors/open-api-2/SwaggerVisitor.mjs +10 -12
- package/es/refractor/visitors/open-api-2/TagsVisitor.mjs +16 -17
- package/es/refractor/visitors/open-api-2/contact/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/definitions/index.mjs +18 -20
- package/es/refractor/visitors/open-api-2/example/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/external-documentation/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/header/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/headers/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/info/VersionVisitor.mjs +7 -11
- package/es/refractor/visitors/open-api-2/info/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/items/index.mjs +10 -9
- package/es/refractor/visitors/open-api-2/license/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/operation/ConsumesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/ParametersVisitor.mjs +18 -19
- package/es/refractor/visitors/open-api-2/operation/ProducesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/SchemesVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/SecurityVisitor.mjs +15 -16
- package/es/refractor/visitors/open-api-2/operation/TagsVisitor.mjs +8 -10
- package/es/refractor/visitors/open-api-2/operation/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/parameter/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/parameters-definitions/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/path-item/$RefVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/path-item/ParametersVisitor.mjs +18 -19
- package/es/refractor/visitors/open-api-2/path-item/index.mjs +21 -23
- package/es/refractor/visitors/open-api-2/paths/index.mjs +21 -22
- package/es/refractor/visitors/open-api-2/reference/$RefVisitor.mjs +6 -10
- package/es/refractor/visitors/open-api-2/reference/index.mjs +14 -18
- package/es/refractor/visitors/open-api-2/response/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/responses/DefaultVisitor.mjs +16 -18
- package/es/refractor/visitors/open-api-2/responses/index.mjs +28 -29
- package/es/refractor/visitors/open-api-2/responses-definitions/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/schema/AllOfVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/ItemsVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/PropertiesVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/SchemaOrJSONReferenceVisitor.mjs +1 -2
- package/es/refractor/visitors/open-api-2/schema/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/scopes/index.mjs +7 -8
- package/es/refractor/visitors/open-api-2/security-definitions/index.mjs +7 -7
- package/es/refractor/visitors/open-api-2/security-requirement/index.mjs +6 -7
- package/es/refractor/visitors/open-api-2/security-scheme/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/tag/index.mjs +8 -9
- package/es/refractor/visitors/open-api-2/xml/index.mjs +8 -9
- package/package.json +6 -6
- package/types/dist.d.ts +915 -513
package/types/dist.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@swagger-api/apidom-core/types/minim" />
|
|
2
2
|
import * as _swagger_api_apidom_core from '@swagger-api/apidom-core';
|
|
3
|
-
import { MediaTypes, NamespacePluginOptions, StringElement, Element, Meta, Attributes, ObjectElement, ArrayElement, BooleanElement, NumberElement
|
|
3
|
+
import { MediaTypes, NamespacePluginOptions, StringElement, Element, Meta, Attributes, ObjectElement, ArrayElement, MemberElement, BooleanElement, NumberElement } from '@swagger-api/apidom-core';
|
|
4
4
|
export { isArrayElement, isBooleanElement, isElement, isLinkElement as isLinkPrimitiveElement, isMemberElement, isNullElement, isNumberElement, isObjectElement, isRefElement, isStringElement } from '@swagger-api/apidom-core';
|
|
5
5
|
import { JSONSchemaElement, JSONReferenceElement, MediaElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
6
6
|
export { JSONReferenceElement, isJSONReferenceElement, isJSONReferenceLikeElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
|
|
7
7
|
import * as minim from 'minim';
|
|
8
8
|
import * as stampit from 'stampit';
|
|
9
|
-
import
|
|
9
|
+
import * as ts_mixer_dist_types_types from 'ts-mixer/dist/types/types';
|
|
10
10
|
|
|
11
11
|
type Format = 'generic' | 'json' | 'yaml';
|
|
12
12
|
declare class OpenAPIMediaTypes extends MediaTypes<string> {
|
|
@@ -32,422 +32,17 @@ declare const refract: <T extends Element>(value: unknown, { specPath, plugins }
|
|
|
32
32
|
}) => T;
|
|
33
33
|
declare const createRefractor: (specPath: string[]) => (value: unknown, options?: {}) => Element;
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
JSONSchema: {
|
|
47
|
-
$ref: string;
|
|
48
|
-
};
|
|
49
|
-
Swagger: {
|
|
50
|
-
$visitor: stampit.default.Stamp<any>;
|
|
51
|
-
fixedFields: {
|
|
52
|
-
swagger: stampit.default.Stamp<any>;
|
|
53
|
-
info: {
|
|
54
|
-
$ref: string;
|
|
55
|
-
};
|
|
56
|
-
host: stampit.default.Stamp<any>;
|
|
57
|
-
basePath: stampit.default.Stamp<any>;
|
|
58
|
-
schemes: stampit.default.Stamp<any>;
|
|
59
|
-
consumes: stampit.default.Stamp<any>;
|
|
60
|
-
produces: stampit.default.Stamp<any>;
|
|
61
|
-
paths: {
|
|
62
|
-
$ref: string;
|
|
63
|
-
};
|
|
64
|
-
definitions: {
|
|
65
|
-
$ref: string;
|
|
66
|
-
};
|
|
67
|
-
parameters: {
|
|
68
|
-
$ref: string;
|
|
69
|
-
};
|
|
70
|
-
responses: {
|
|
71
|
-
$ref: string;
|
|
72
|
-
};
|
|
73
|
-
securityDefinitions: {
|
|
74
|
-
$ref: string;
|
|
75
|
-
};
|
|
76
|
-
security: stampit.default.Stamp<any>;
|
|
77
|
-
tags: stampit.default.Stamp<any>;
|
|
78
|
-
externalDocs: {
|
|
79
|
-
$ref: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
Info: {
|
|
84
|
-
$visitor: stampit.default.Stamp<any>;
|
|
85
|
-
fixedFields: {
|
|
86
|
-
title: {
|
|
87
|
-
$ref: string;
|
|
88
|
-
};
|
|
89
|
-
description: {
|
|
90
|
-
$ref: string;
|
|
91
|
-
};
|
|
92
|
-
termsOfService: {
|
|
93
|
-
$ref: string;
|
|
94
|
-
};
|
|
95
|
-
contact: {
|
|
96
|
-
$ref: string;
|
|
97
|
-
};
|
|
98
|
-
license: {
|
|
99
|
-
$ref: string;
|
|
100
|
-
};
|
|
101
|
-
version: stampit.default.Stamp<any>;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
Contact: {
|
|
105
|
-
$visitor: stampit.default.Stamp<any>;
|
|
106
|
-
fixedFields: {
|
|
107
|
-
name: {
|
|
108
|
-
$ref: string;
|
|
109
|
-
};
|
|
110
|
-
url: {
|
|
111
|
-
$ref: string;
|
|
112
|
-
};
|
|
113
|
-
email: {
|
|
114
|
-
$ref: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
License: {
|
|
119
|
-
$visitor: stampit.default.Stamp<any>;
|
|
120
|
-
fixedFields: {
|
|
121
|
-
name: {
|
|
122
|
-
$ref: string;
|
|
123
|
-
};
|
|
124
|
-
url: {
|
|
125
|
-
$ref: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
Paths: {
|
|
130
|
-
$visitor: stampit.default.Stamp<any>;
|
|
131
|
-
};
|
|
132
|
-
PathItem: {
|
|
133
|
-
$visitor: stampit.default.Stamp<any>;
|
|
134
|
-
fixedFields: {
|
|
135
|
-
$ref: stampit.default.Stamp<any>;
|
|
136
|
-
get: {
|
|
137
|
-
$ref: string;
|
|
138
|
-
};
|
|
139
|
-
put: {
|
|
140
|
-
$ref: string;
|
|
141
|
-
};
|
|
142
|
-
post: {
|
|
143
|
-
$ref: string;
|
|
144
|
-
};
|
|
145
|
-
delete: {
|
|
146
|
-
$ref: string;
|
|
147
|
-
};
|
|
148
|
-
options: {
|
|
149
|
-
$ref: string;
|
|
150
|
-
};
|
|
151
|
-
head: {
|
|
152
|
-
$ref: string;
|
|
153
|
-
};
|
|
154
|
-
patch: {
|
|
155
|
-
$ref: string;
|
|
156
|
-
};
|
|
157
|
-
parameters: stampit.default.Stamp<any>;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
Operation: {
|
|
161
|
-
$visitor: stampit.default.Stamp<any>;
|
|
162
|
-
fixedFields: {
|
|
163
|
-
tags: stampit.default.Stamp<any>;
|
|
164
|
-
summary: {
|
|
165
|
-
$ref: string;
|
|
166
|
-
};
|
|
167
|
-
description: {
|
|
168
|
-
$ref: string;
|
|
169
|
-
};
|
|
170
|
-
externalDocs: {
|
|
171
|
-
$ref: string;
|
|
172
|
-
};
|
|
173
|
-
operationId: {
|
|
174
|
-
$ref: string;
|
|
175
|
-
};
|
|
176
|
-
consumes: stampit.default.Stamp<any>;
|
|
177
|
-
produces: stampit.default.Stamp<any>;
|
|
178
|
-
parameters: stampit.default.Stamp<any>;
|
|
179
|
-
responses: {
|
|
180
|
-
$ref: string;
|
|
181
|
-
};
|
|
182
|
-
schemes: stampit.default.Stamp<any>;
|
|
183
|
-
deprecated: {
|
|
184
|
-
$ref: string;
|
|
185
|
-
};
|
|
186
|
-
security: stampit.default.Stamp<any>;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
ExternalDocumentation: {
|
|
190
|
-
$visitor: stampit.default.Stamp<any>;
|
|
191
|
-
fixedFields: {
|
|
192
|
-
description: {
|
|
193
|
-
$ref: string;
|
|
194
|
-
};
|
|
195
|
-
url: {
|
|
196
|
-
$ref: string;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
Parameter: {
|
|
201
|
-
$visitor: stampit.default.Stamp<any>;
|
|
202
|
-
fixedFields: {
|
|
203
|
-
name: {
|
|
204
|
-
$ref: string;
|
|
205
|
-
};
|
|
206
|
-
in: {
|
|
207
|
-
$ref: string;
|
|
208
|
-
};
|
|
209
|
-
description: stampit.default.Stamp<any>;
|
|
210
|
-
required: stampit.default.Stamp<any>;
|
|
211
|
-
schema: stampit.default.Stamp<any>;
|
|
212
|
-
type: stampit.default.Stamp<any>;
|
|
213
|
-
format: stampit.default.Stamp<any>;
|
|
214
|
-
items: {
|
|
215
|
-
$ref: string;
|
|
216
|
-
};
|
|
217
|
-
collectionFormat: {
|
|
218
|
-
$ref: string;
|
|
219
|
-
};
|
|
220
|
-
default: stampit.default.Stamp<any>;
|
|
221
|
-
maximum: stampit.default.Stamp<any>;
|
|
222
|
-
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
223
|
-
minimum: stampit.default.Stamp<any>;
|
|
224
|
-
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
225
|
-
maxLength: stampit.default.Stamp<any>;
|
|
226
|
-
minLength: stampit.default.Stamp<any>;
|
|
227
|
-
pattern: stampit.default.Stamp<any>;
|
|
228
|
-
maxItems: stampit.default.Stamp<any>;
|
|
229
|
-
minItems: stampit.default.Stamp<any>;
|
|
230
|
-
uniqueItems: stampit.default.Stamp<any>;
|
|
231
|
-
enum: stampit.default.Stamp<any>;
|
|
232
|
-
multipleOf: stampit.default.Stamp<any>;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
Items: {
|
|
236
|
-
$visitor: stampit.default.Stamp<any>;
|
|
237
|
-
fixedFields: {
|
|
238
|
-
type: stampit.default.Stamp<any>;
|
|
239
|
-
format: stampit.default.Stamp<any>;
|
|
240
|
-
items: {
|
|
241
|
-
$ref: string;
|
|
242
|
-
};
|
|
243
|
-
collectionFormat: {
|
|
244
|
-
$ref: string;
|
|
245
|
-
};
|
|
246
|
-
default: stampit.default.Stamp<any>;
|
|
247
|
-
maximum: stampit.default.Stamp<any>;
|
|
248
|
-
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
249
|
-
minimum: stampit.default.Stamp<any>;
|
|
250
|
-
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
251
|
-
maxLength: stampit.default.Stamp<any>;
|
|
252
|
-
minLength: stampit.default.Stamp<any>;
|
|
253
|
-
pattern: stampit.default.Stamp<any>;
|
|
254
|
-
maxItems: stampit.default.Stamp<any>;
|
|
255
|
-
minItems: stampit.default.Stamp<any>;
|
|
256
|
-
uniqueItems: stampit.default.Stamp<any>;
|
|
257
|
-
enum: stampit.default.Stamp<any>;
|
|
258
|
-
multipleOf: stampit.default.Stamp<any>;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
Responses: {
|
|
262
|
-
$visitor: stampit.default.Stamp<any>;
|
|
263
|
-
fixedFields: {
|
|
264
|
-
default: stampit.default.Stamp<any>;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
Response: {
|
|
268
|
-
$visitor: stampit.default.Stamp<any>;
|
|
269
|
-
fixedFields: {
|
|
270
|
-
description: {
|
|
271
|
-
$ref: string;
|
|
272
|
-
};
|
|
273
|
-
schema: stampit.default.Stamp<any>;
|
|
274
|
-
headers: {
|
|
275
|
-
$ref: string;
|
|
276
|
-
};
|
|
277
|
-
examples: {
|
|
278
|
-
$ref: string;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
};
|
|
282
|
-
Headers: {
|
|
283
|
-
$visitor: stampit.default.Stamp<any>;
|
|
284
|
-
};
|
|
285
|
-
Example: {
|
|
286
|
-
$visitor: stampit.default.Stamp<any>;
|
|
287
|
-
};
|
|
288
|
-
Header: {
|
|
289
|
-
$visitor: stampit.default.Stamp<any>;
|
|
290
|
-
fixedFields: {
|
|
291
|
-
description: stampit.default.Stamp<any>;
|
|
292
|
-
type: stampit.default.Stamp<any>;
|
|
293
|
-
format: stampit.default.Stamp<any>;
|
|
294
|
-
items: {
|
|
295
|
-
$ref: string;
|
|
296
|
-
};
|
|
297
|
-
collectionFormat: {
|
|
298
|
-
$ref: string;
|
|
299
|
-
};
|
|
300
|
-
default: stampit.default.Stamp<any>;
|
|
301
|
-
maximum: stampit.default.Stamp<any>;
|
|
302
|
-
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
303
|
-
minimum: stampit.default.Stamp<any>;
|
|
304
|
-
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
305
|
-
maxLength: stampit.default.Stamp<any>;
|
|
306
|
-
minLength: stampit.default.Stamp<any>;
|
|
307
|
-
pattern: stampit.default.Stamp<any>;
|
|
308
|
-
maxItems: stampit.default.Stamp<any>;
|
|
309
|
-
minItems: stampit.default.Stamp<any>;
|
|
310
|
-
uniqueItems: stampit.default.Stamp<any>;
|
|
311
|
-
enum: stampit.default.Stamp<any>;
|
|
312
|
-
multipleOf: stampit.default.Stamp<any>;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
Tag: {
|
|
316
|
-
$visitor: stampit.default.Stamp<any>;
|
|
317
|
-
fixedFields: {
|
|
318
|
-
name: {
|
|
319
|
-
$ref: string;
|
|
320
|
-
};
|
|
321
|
-
description: {
|
|
322
|
-
$ref: string;
|
|
323
|
-
};
|
|
324
|
-
externalDocs: {
|
|
325
|
-
$ref: string;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
};
|
|
329
|
-
Reference: {
|
|
330
|
-
$visitor: stampit.default.Stamp<any>;
|
|
331
|
-
fixedFields: {
|
|
332
|
-
$ref: stampit.default.Stamp<any>;
|
|
333
|
-
};
|
|
334
|
-
};
|
|
335
|
-
Schema: {
|
|
336
|
-
$visitor: stampit.default.Stamp<any>;
|
|
337
|
-
fixedFields: {
|
|
338
|
-
format: stampit.default.Stamp<any>;
|
|
339
|
-
title: stampit.default.Stamp<any>;
|
|
340
|
-
description: stampit.default.Stamp<any>;
|
|
341
|
-
default: stampit.default.Stamp<any>;
|
|
342
|
-
multipleOf: stampit.default.Stamp<any>;
|
|
343
|
-
maximum: stampit.default.Stamp<any>;
|
|
344
|
-
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
345
|
-
minimum: stampit.default.Stamp<any>;
|
|
346
|
-
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
347
|
-
maxLength: stampit.default.Stamp<any>;
|
|
348
|
-
minLength: stampit.default.Stamp<any>;
|
|
349
|
-
pattern: stampit.default.Stamp<any>;
|
|
350
|
-
maxItems: stampit.default.Stamp<any>;
|
|
351
|
-
minItems: stampit.default.Stamp<any>;
|
|
352
|
-
uniqueItems: stampit.default.Stamp<any>;
|
|
353
|
-
maxProperties: stampit.default.Stamp<any>;
|
|
354
|
-
minProperties: stampit.default.Stamp<any>;
|
|
355
|
-
required: stampit.default.Stamp<any>;
|
|
356
|
-
enum: stampit.default.Stamp<any>;
|
|
357
|
-
type: stampit.default.Stamp<any>;
|
|
358
|
-
readOnly: stampit.default.Stamp<any>;
|
|
359
|
-
items: stampit.default.Stamp<any>;
|
|
360
|
-
allOf: stampit.default.Stamp<any>;
|
|
361
|
-
properties: stampit.default.Stamp<any>;
|
|
362
|
-
additionalProperties: stampit.default.Stamp<any>;
|
|
363
|
-
discriminator: {
|
|
364
|
-
$ref: string;
|
|
365
|
-
};
|
|
366
|
-
xml: {
|
|
367
|
-
$ref: string;
|
|
368
|
-
};
|
|
369
|
-
externalDocs: {
|
|
370
|
-
$ref: string;
|
|
371
|
-
};
|
|
372
|
-
example: {
|
|
373
|
-
$ref: string;
|
|
374
|
-
};
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
XML: {
|
|
378
|
-
$visitor: stampit.default.Stamp<any>;
|
|
379
|
-
fixedFields: {
|
|
380
|
-
name: {
|
|
381
|
-
$ref: string;
|
|
382
|
-
};
|
|
383
|
-
namespace: {
|
|
384
|
-
$ref: string;
|
|
385
|
-
};
|
|
386
|
-
prefix: {
|
|
387
|
-
$ref: string;
|
|
388
|
-
};
|
|
389
|
-
attribute: {
|
|
390
|
-
$ref: string;
|
|
391
|
-
};
|
|
392
|
-
wrapped: {
|
|
393
|
-
$ref: string;
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
Definitions: {
|
|
398
|
-
$visitor: stampit.default.Stamp<any>;
|
|
399
|
-
};
|
|
400
|
-
ParametersDefinitions: {
|
|
401
|
-
$visitor: stampit.default.Stamp<any>;
|
|
402
|
-
};
|
|
403
|
-
ResponsesDefinitions: {
|
|
404
|
-
$visitor: stampit.default.Stamp<any>;
|
|
405
|
-
};
|
|
406
|
-
SecurityDefinitions: {
|
|
407
|
-
$visitor: stampit.default.Stamp<any>;
|
|
408
|
-
};
|
|
409
|
-
SecurityScheme: {
|
|
410
|
-
$visitor: stampit.default.Stamp<any>;
|
|
411
|
-
fixedFields: {
|
|
412
|
-
type: {
|
|
413
|
-
$ref: string;
|
|
414
|
-
};
|
|
415
|
-
description: {
|
|
416
|
-
$ref: string;
|
|
417
|
-
};
|
|
418
|
-
name: {
|
|
419
|
-
$ref: string;
|
|
420
|
-
};
|
|
421
|
-
in: {
|
|
422
|
-
$ref: string;
|
|
423
|
-
};
|
|
424
|
-
flow: {
|
|
425
|
-
$ref: string;
|
|
426
|
-
};
|
|
427
|
-
authorizationUrl: {
|
|
428
|
-
$ref: string;
|
|
429
|
-
};
|
|
430
|
-
token: {
|
|
431
|
-
$ref: string;
|
|
432
|
-
};
|
|
433
|
-
scopes: {
|
|
434
|
-
$ref: string;
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
Scopes: {
|
|
439
|
-
$visitor: stampit.default.Stamp<any>;
|
|
440
|
-
};
|
|
441
|
-
SecurityRequirement: {
|
|
442
|
-
$visitor: stampit.default.Stamp<any>;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
extension: {
|
|
446
|
-
$visitor: stampit.default.Stamp<any>;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
};
|
|
35
|
+
interface VisitorOptions {
|
|
36
|
+
}
|
|
37
|
+
declare class Visitor {
|
|
38
|
+
element: Element;
|
|
39
|
+
constructor(options?: VisitorOptions);
|
|
40
|
+
copyMetaAndAttributes(from: Element, to: Element): void;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class FallbackVisitor extends Visitor {
|
|
44
|
+
enter(element: Element): {};
|
|
45
|
+
}
|
|
451
46
|
|
|
452
47
|
declare class SwaggerVersion extends StringElement {
|
|
453
48
|
constructor(content?: string, meta?: Meta, attributes?: Attributes);
|
|
@@ -549,6 +144,182 @@ declare class Swagger extends ObjectElement {
|
|
|
549
144
|
set externalDocs(externalDocs: ExternalDocumentation | undefined);
|
|
550
145
|
}
|
|
551
146
|
|
|
147
|
+
/**
|
|
148
|
+
* This is a base Type for every visitor that does
|
|
149
|
+
* internal look-ups to retrieve other child visitors.
|
|
150
|
+
*/
|
|
151
|
+
interface SpecificationVisitorOptions extends VisitorOptions {
|
|
152
|
+
readonly specObj: typeof specification;
|
|
153
|
+
}
|
|
154
|
+
declare class SpecificationVisitor extends Visitor {
|
|
155
|
+
protected readonly specObj: typeof specification;
|
|
156
|
+
protected readonly passingOptionsNames: string[];
|
|
157
|
+
constructor({ specObj, ...rest }: SpecificationVisitorOptions);
|
|
158
|
+
retrievePassingOptions(): string extends keyof this ? Record<keyof this & string, this[keyof this]> : Pick<this, keyof this>;
|
|
159
|
+
retrieveFixedFields(specPath: string[]): string[];
|
|
160
|
+
retrieveVisitor(specPath: string[]): unknown;
|
|
161
|
+
retrieveVisitorInstance(specPath: string[], options?: {}): Visitor;
|
|
162
|
+
toRefractedElement(specPath: string[], element: any, options?: {}): any;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
interface ReferenceLikeElement extends ObjectElement {
|
|
166
|
+
hasKey: (value: '$ref') => true;
|
|
167
|
+
}
|
|
168
|
+
declare const isSwaggerExtension: (element: MemberElement) => boolean;
|
|
169
|
+
declare const isReferenceLikeElement: (element: unknown) => element is ReferenceLikeElement;
|
|
170
|
+
|
|
171
|
+
type SpecPath<T = string[]> = (element: unknown) => T;
|
|
172
|
+
interface FixedFieldsVisitorOptions extends SpecificationVisitorOptions {
|
|
173
|
+
readonly specPath: SpecPath;
|
|
174
|
+
readonly ignoredFields?: string[];
|
|
175
|
+
readonly canSupportSpecificationExtensions?: boolean;
|
|
176
|
+
readonly specificationExtensionPredicate?: typeof isSwaggerExtension;
|
|
177
|
+
}
|
|
178
|
+
declare class FixedFieldsVisitor extends SpecificationVisitor {
|
|
179
|
+
protected specPath: SpecPath;
|
|
180
|
+
protected ignoredFields: string[];
|
|
181
|
+
protected canSupportSpecificationExtensions: boolean;
|
|
182
|
+
protected specificationExtensionPredicate: (element: MemberElement) => boolean;
|
|
183
|
+
constructor({ specPath, ignoredFields, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: FixedFieldsVisitorOptions);
|
|
184
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare const SwaggerVisitor_base$1: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
188
|
+
declare class SwaggerVisitor$1 extends SwaggerVisitor_base$1 {
|
|
189
|
+
readonly element: Swagger;
|
|
190
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Swagger']>;
|
|
191
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
192
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
declare const SwaggerVisitor_base: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
196
|
+
declare class SwaggerVisitor extends SwaggerVisitor_base {
|
|
197
|
+
element: SwaggerVersion;
|
|
198
|
+
StringElement(stringElement: StringElement): {};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
declare class HostVisitor extends FallbackVisitor {
|
|
202
|
+
readonly element: StringElement;
|
|
203
|
+
StringElement(stringElement: StringElement): {};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
declare class BasePathVisitor extends FallbackVisitor {
|
|
207
|
+
readonly element: StringElement;
|
|
208
|
+
StringElement(stringElement: StringElement): {};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class SwaggerSchemes extends ArrayElement {
|
|
212
|
+
static primaryClass: string;
|
|
213
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare class SchemesVisitor$1 extends FallbackVisitor {
|
|
217
|
+
element: SwaggerSchemes;
|
|
218
|
+
constructor(options: VisitorOptions);
|
|
219
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
declare class SwaggerConsumes extends ArrayElement {
|
|
223
|
+
static primaryClass: string;
|
|
224
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare class ConsumesVisitor$1 extends FallbackVisitor {
|
|
228
|
+
element: SwaggerConsumes;
|
|
229
|
+
constructor(options: VisitorOptions);
|
|
230
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare class SwaggerProduces extends ArrayElement {
|
|
234
|
+
static primaryClass: string;
|
|
235
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
declare class ProducesVisitor$1 extends FallbackVisitor {
|
|
239
|
+
element: SwaggerProduces;
|
|
240
|
+
constructor(options: VisitorOptions);
|
|
241
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare class SwaggerSecurity extends ArrayElement {
|
|
245
|
+
static primaryClass: string;
|
|
246
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare const SecurityVisitor_base$1: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
250
|
+
declare class SecurityVisitor$1 extends SecurityVisitor_base$1 {
|
|
251
|
+
readonly element: SwaggerSecurity;
|
|
252
|
+
constructor(options: SpecificationVisitorOptions);
|
|
253
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
declare class SwaggerTags extends ArrayElement {
|
|
257
|
+
static primaryClass: string;
|
|
258
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare const TagsVisitor_base: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
262
|
+
declare class TagsVisitor$1 extends TagsVisitor_base {
|
|
263
|
+
readonly element: SwaggerTags;
|
|
264
|
+
constructor(options: SpecificationVisitorOptions);
|
|
265
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare const InfoVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
269
|
+
declare class InfoVisitor extends InfoVisitor_base {
|
|
270
|
+
readonly element: Info;
|
|
271
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Info']>;
|
|
272
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
273
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare class VersionVisitor extends FallbackVisitor {
|
|
277
|
+
readonly element: StringElement;
|
|
278
|
+
StringElement(stringElement: StringElement): {};
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
declare const ContactVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
282
|
+
declare class ContactVisitor extends ContactVisitor_base {
|
|
283
|
+
readonly element: Contact;
|
|
284
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Contact']>;
|
|
285
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
286
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
declare const LicenseVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
290
|
+
declare class LicenseVisitor extends LicenseVisitor_base {
|
|
291
|
+
readonly element: License;
|
|
292
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'License']>;
|
|
293
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
294
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
interface PatternedFieldsVisitorOptions extends SpecificationVisitorOptions {
|
|
298
|
+
readonly specPath: SpecPath;
|
|
299
|
+
readonly ignoredFields?: string[];
|
|
300
|
+
readonly fieldPatternPredicate?: (...args: unknown[]) => boolean;
|
|
301
|
+
readonly canSupportSpecificationExtensions?: boolean;
|
|
302
|
+
readonly specificationExtensionPredicate?: typeof isSwaggerExtension;
|
|
303
|
+
}
|
|
304
|
+
declare class PatternedFieldsVisitor extends SpecificationVisitor {
|
|
305
|
+
protected specPath: SpecPath;
|
|
306
|
+
protected ignoredFields: string[];
|
|
307
|
+
protected fieldPatternPredicate: (value: unknown) => boolean;
|
|
308
|
+
protected canSupportSpecificationExtensions: boolean;
|
|
309
|
+
protected specificationExtensionPredicate: (element: MemberElement) => boolean;
|
|
310
|
+
constructor({ specPath, ignoredFields, fieldPatternPredicate, canSupportSpecificationExtensions, specificationExtensionPredicate, ...rest }: PatternedFieldsVisitorOptions);
|
|
311
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare const PathsVisitor_base: ts_mixer_dist_types_types.Class<any[], PatternedFieldsVisitor & FallbackVisitor, typeof PatternedFieldsVisitor & typeof FallbackVisitor>;
|
|
315
|
+
declare class PathsVisitor extends PathsVisitor_base {
|
|
316
|
+
readonly element: Paths;
|
|
317
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'PathItem']>;
|
|
318
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
319
|
+
constructor(options: PatternedFieldsVisitorOptions);
|
|
320
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
321
|
+
}
|
|
322
|
+
|
|
552
323
|
declare class Schema extends JSONSchemaElement {
|
|
553
324
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
554
325
|
/**
|
|
@@ -674,6 +445,114 @@ declare class PathItem extends ObjectElement {
|
|
|
674
445
|
set parameters(parameters: ArrayElement | undefined);
|
|
675
446
|
}
|
|
676
447
|
|
|
448
|
+
declare const PathItemVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
449
|
+
declare class PathItemVisitor extends PathItemVisitor_base {
|
|
450
|
+
readonly element: PathItem;
|
|
451
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'PathItem']>;
|
|
452
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
453
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
declare class $RefVisitor$1 extends FallbackVisitor {
|
|
457
|
+
readonly element: StringElement;
|
|
458
|
+
StringElement(stringElement: StringElement): {};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare class PathItemParameters extends ArrayElement {
|
|
462
|
+
static primaryClass: string;
|
|
463
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
declare const ParametersVisitor_base$1: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
467
|
+
declare class ParametersVisitor$1 extends ParametersVisitor_base$1 {
|
|
468
|
+
readonly element: PathItemParameters;
|
|
469
|
+
constructor(options: SpecificationVisitorOptions);
|
|
470
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
declare const OperationVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
474
|
+
declare class OperationVisitor extends OperationVisitor_base {
|
|
475
|
+
readonly element: Operation;
|
|
476
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Operation']>;
|
|
477
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
declare class OperationTags extends ArrayElement {
|
|
481
|
+
static primaryClass: string;
|
|
482
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare class TagsVisitor extends FallbackVisitor {
|
|
486
|
+
element: OperationTags;
|
|
487
|
+
constructor(options: VisitorOptions);
|
|
488
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
declare class OperationConsumes extends ArrayElement {
|
|
492
|
+
static primaryClass: string;
|
|
493
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
declare class ConsumesVisitor extends FallbackVisitor {
|
|
497
|
+
element: OperationConsumes;
|
|
498
|
+
constructor(options: VisitorOptions);
|
|
499
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
declare class OperationProduces extends ArrayElement {
|
|
503
|
+
static primaryClass: string;
|
|
504
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare class ProducesVisitor extends FallbackVisitor {
|
|
508
|
+
element: OperationProduces;
|
|
509
|
+
constructor(options: VisitorOptions);
|
|
510
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare class OperationParameters extends ArrayElement {
|
|
514
|
+
static primaryClass: string;
|
|
515
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
declare const ParametersVisitor_base: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
519
|
+
declare class ParametersVisitor extends ParametersVisitor_base {
|
|
520
|
+
readonly element: OperationParameters;
|
|
521
|
+
constructor(options: SpecificationVisitorOptions);
|
|
522
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
declare class OperationSchemes extends ArrayElement {
|
|
526
|
+
static primaryClass: string;
|
|
527
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
declare class SchemesVisitor extends FallbackVisitor {
|
|
531
|
+
element: OperationSchemes;
|
|
532
|
+
constructor(options: VisitorOptions);
|
|
533
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare class OperationSecurity extends ArrayElement {
|
|
537
|
+
static primaryClass: string;
|
|
538
|
+
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
declare const SecurityVisitor_base: ts_mixer_dist_types_types.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
542
|
+
declare class SecurityVisitor extends SecurityVisitor_base {
|
|
543
|
+
readonly element: OperationSecurity;
|
|
544
|
+
constructor(options: SpecificationVisitorOptions);
|
|
545
|
+
ArrayElement(arrayElement: ArrayElement): {};
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
declare const ExternalDocumentationVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
549
|
+
declare class ExternalDocumentationVisitor extends ExternalDocumentationVisitor_base {
|
|
550
|
+
readonly element: ExternalDocumentation;
|
|
551
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'ExternalDocumentation']>;
|
|
552
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
553
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
554
|
+
}
|
|
555
|
+
|
|
677
556
|
declare class Parameter extends JSONSchemaElement {
|
|
678
557
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
679
558
|
/**
|
|
@@ -764,6 +643,14 @@ declare class Parameter extends JSONSchemaElement {
|
|
|
764
643
|
set schema(schema: Schema | undefined);
|
|
765
644
|
}
|
|
766
645
|
|
|
646
|
+
declare const ParameterVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
647
|
+
declare class ParameterVisitor extends ParameterVisitor_base {
|
|
648
|
+
readonly element: Parameter;
|
|
649
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Parameter']>;
|
|
650
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
651
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
652
|
+
}
|
|
653
|
+
|
|
767
654
|
declare class Items extends JSONSchemaElement {
|
|
768
655
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
769
656
|
/**
|
|
@@ -838,6 +725,89 @@ declare class Items extends JSONSchemaElement {
|
|
|
838
725
|
set readOnly(readOnly: BooleanElement | undefined);
|
|
839
726
|
}
|
|
840
727
|
|
|
728
|
+
declare const ItemsVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
729
|
+
declare class ItemsVisitor extends ItemsVisitor_base {
|
|
730
|
+
readonly element: Items;
|
|
731
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Items']>;
|
|
732
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
733
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
interface MixedFieldsVisitorOptions extends PatternedFieldsVisitorOptions {
|
|
737
|
+
readonly specPathFixedFields: SpecPath;
|
|
738
|
+
readonly specPathPatternedFields: SpecPath;
|
|
739
|
+
}
|
|
740
|
+
declare const MixedFieldsVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & PatternedFieldsVisitor, typeof FixedFieldsVisitor & typeof PatternedFieldsVisitor>;
|
|
741
|
+
declare class MixedFieldsVisitor extends MixedFieldsVisitor_base {
|
|
742
|
+
protected readonly specPathFixedFields: SpecPath;
|
|
743
|
+
protected readonly specPathPatternedFields: SpecPath;
|
|
744
|
+
constructor({ specPathFixedFields, specPathPatternedFields, ...rest }: MixedFieldsVisitorOptions);
|
|
745
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
declare const ResponsesVisitor_base: ts_mixer_dist_types_types.Class<any[], MixedFieldsVisitor & FallbackVisitor, typeof MixedFieldsVisitor & typeof FallbackVisitor>;
|
|
749
|
+
declare class ResponsesVisitor extends ResponsesVisitor_base {
|
|
750
|
+
readonly element: Responses;
|
|
751
|
+
protected readonly specPathFixedFields: SpecPath<['document', 'objects', 'Responses']>;
|
|
752
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
753
|
+
protected readonly specPathPatternedFields: SpecPath<[
|
|
754
|
+
'document',
|
|
755
|
+
'objects',
|
|
756
|
+
'Reference'
|
|
757
|
+
] | ['document', 'objects', 'Response']>;
|
|
758
|
+
constructor(options: MixedFieldsVisitorOptions);
|
|
759
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
type Alternator = {
|
|
763
|
+
predicate: (element: unknown) => boolean;
|
|
764
|
+
specPath: string[];
|
|
765
|
+
};
|
|
766
|
+
interface AlternatingVisitorOptions extends SpecificationVisitorOptions {
|
|
767
|
+
readonly alternator?: Alternator[];
|
|
768
|
+
}
|
|
769
|
+
declare class AlternatingVisitor extends SpecificationVisitor {
|
|
770
|
+
protected alternator: Alternator[];
|
|
771
|
+
constructor({ alternator, ...rest }: AlternatingVisitorOptions);
|
|
772
|
+
enter(element: Element): {};
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
declare const DefaultVisitor_base: ts_mixer_dist_types_types.Class<any[], AlternatingVisitor & FallbackVisitor, typeof AlternatingVisitor & typeof FallbackVisitor>;
|
|
776
|
+
declare class DefaultVisitor extends DefaultVisitor_base {
|
|
777
|
+
constructor(options: AlternatingVisitorOptions);
|
|
778
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
declare const ResponseVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
782
|
+
declare class ResponseVisitor extends ResponseVisitor_base {
|
|
783
|
+
readonly element: Response;
|
|
784
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Response']>;
|
|
785
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
786
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
interface MapVisitorOptions extends PatternedFieldsVisitorOptions {
|
|
790
|
+
}
|
|
791
|
+
declare class MapVisitor extends PatternedFieldsVisitor {
|
|
792
|
+
constructor(options: MapVisitorOptions);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare const HeadersVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
796
|
+
declare class HeadersVisitor extends HeadersVisitor_base {
|
|
797
|
+
readonly element: Headers;
|
|
798
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Header']>;
|
|
799
|
+
protected readonly canSupportSpecificationExtensions: false;
|
|
800
|
+
constructor(options: MapVisitorOptions);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
declare const ExampleVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
804
|
+
declare class ExampleVisitor extends ExampleVisitor_base {
|
|
805
|
+
readonly element: Example;
|
|
806
|
+
protected readonly specPath: SpecPath<['value']>;
|
|
807
|
+
protected readonly canSupportSpecificationExtensions: false;
|
|
808
|
+
constructor(options: MapVisitorOptions);
|
|
809
|
+
}
|
|
810
|
+
|
|
841
811
|
declare class Header extends JSONSchemaElement {
|
|
842
812
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
843
813
|
/**
|
|
@@ -910,6 +880,14 @@ declare class Header extends JSONSchemaElement {
|
|
|
910
880
|
set readOnly(readOnly: BooleanElement | undefined);
|
|
911
881
|
}
|
|
912
882
|
|
|
883
|
+
declare const HeaderVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
884
|
+
declare class HeaderVisitor extends HeaderVisitor_base {
|
|
885
|
+
readonly element: Header;
|
|
886
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Header']>;
|
|
887
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
888
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
889
|
+
}
|
|
890
|
+
|
|
913
891
|
declare class Tag extends ObjectElement {
|
|
914
892
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
915
893
|
get name(): StringElement | undefined;
|
|
@@ -920,6 +898,36 @@ declare class Tag extends ObjectElement {
|
|
|
920
898
|
set externalDocs(externalDocs: ExternalDocumentation | undefined);
|
|
921
899
|
}
|
|
922
900
|
|
|
901
|
+
declare const TagVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
902
|
+
declare class TagVisitor extends TagVisitor_base {
|
|
903
|
+
readonly element: Tag;
|
|
904
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Tag']>;
|
|
905
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
906
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
declare const ReferenceVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
910
|
+
declare class ReferenceVisitor extends ReferenceVisitor_base {
|
|
911
|
+
readonly element: Reference;
|
|
912
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Reference']>;
|
|
913
|
+
protected readonly canSupportSpecificationExtensions: false;
|
|
914
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
915
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
declare class $RefVisitor extends FallbackVisitor {
|
|
919
|
+
readonly element: StringElement;
|
|
920
|
+
StringElement(stringElement: StringElement): {};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
declare const SchemaVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
924
|
+
declare class SchemaVisitor extends SchemaVisitor_base {
|
|
925
|
+
readonly element: Schema;
|
|
926
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
927
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
928
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
929
|
+
}
|
|
930
|
+
|
|
923
931
|
declare class Xml extends ObjectElement {
|
|
924
932
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
925
933
|
get name(): StringElement | undefined;
|
|
@@ -934,6 +942,47 @@ declare class Xml extends ObjectElement {
|
|
|
934
942
|
set wrapped(wrapped: BooleanElement | undefined);
|
|
935
943
|
}
|
|
936
944
|
|
|
945
|
+
declare const XmlVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
946
|
+
declare class XmlVisitor extends XmlVisitor_base {
|
|
947
|
+
readonly element: Xml;
|
|
948
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'XML']>;
|
|
949
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
950
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
declare const DefinitionsVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
954
|
+
declare class DefinitionsVisitor extends DefinitionsVisitor_base {
|
|
955
|
+
readonly element: Definitions;
|
|
956
|
+
protected readonly specPath: SpecPath<[
|
|
957
|
+
'document',
|
|
958
|
+
'objects',
|
|
959
|
+
'JSONReference'
|
|
960
|
+
] | ['document', 'objects', 'Schema']>;
|
|
961
|
+
constructor(options: MapVisitorOptions);
|
|
962
|
+
ObjectElement(objectElement: ObjectElement): {};
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare const ResponsesDefinitionsVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
966
|
+
declare class ResponsesDefinitionsVisitor extends ResponsesDefinitionsVisitor_base {
|
|
967
|
+
readonly element: ResponsesDefinitions;
|
|
968
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Response']>;
|
|
969
|
+
constructor(options: MapVisitorOptions);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
declare const ParametersDefinitionsVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
973
|
+
declare class ParametersDefinitionsVisitor extends ParametersDefinitionsVisitor_base {
|
|
974
|
+
readonly element: ParametersDefinitions;
|
|
975
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'Parameter']>;
|
|
976
|
+
constructor(options: MapVisitorOptions);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
declare const SecurityDefinitionsVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
980
|
+
declare class SecurityDefinitionsVisitor extends SecurityDefinitionsVisitor_base {
|
|
981
|
+
readonly element: SecurityDefinitions;
|
|
982
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'SecurityScheme']>;
|
|
983
|
+
constructor(options: MapVisitorOptions);
|
|
984
|
+
}
|
|
985
|
+
|
|
937
986
|
declare class SecurityScheme extends ObjectElement {
|
|
938
987
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
939
988
|
get type(): StringElement | undefined;
|
|
@@ -954,14 +1003,459 @@ declare class SecurityScheme extends ObjectElement {
|
|
|
954
1003
|
set scopes(scopes: ArrayElement | undefined);
|
|
955
1004
|
}
|
|
956
1005
|
|
|
957
|
-
declare
|
|
958
|
-
|
|
1006
|
+
declare const SecuritySchemeVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
1007
|
+
declare class SecuritySchemeVisitor extends SecuritySchemeVisitor_base {
|
|
1008
|
+
readonly element: SecurityScheme;
|
|
1009
|
+
protected readonly specPath: SpecPath<['document', 'objects', 'SecurityScheme']>;
|
|
1010
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1011
|
+
constructor(options: FixedFieldsVisitorOptions);
|
|
959
1012
|
}
|
|
960
1013
|
|
|
961
1014
|
declare class Scopes extends ObjectElement {
|
|
962
1015
|
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
963
1016
|
}
|
|
964
1017
|
|
|
1018
|
+
declare const ScopesVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
1019
|
+
declare class ScopesVisitor extends ScopesVisitor_base {
|
|
1020
|
+
readonly element: Scopes;
|
|
1021
|
+
protected readonly specPath: SpecPath<['value']>;
|
|
1022
|
+
protected readonly canSupportSpecificationExtensions: true;
|
|
1023
|
+
constructor(options: MapVisitorOptions);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
declare class SecurityRequirement extends ObjectElement {
|
|
1027
|
+
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare const SecurityRequirementVisitor_base: ts_mixer_dist_types_types.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
1031
|
+
declare class SecurityRequirementVisitor extends SecurityRequirementVisitor_base {
|
|
1032
|
+
readonly element: SecurityRequirement;
|
|
1033
|
+
protected readonly specPath: SpecPath<['value']>;
|
|
1034
|
+
constructor(options: MapVisitorOptions);
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
declare class SpecificationExtensionVisitor extends SpecificationVisitor {
|
|
1038
|
+
element: MemberElement;
|
|
1039
|
+
MemberElement(memberElement: MemberElement): {};
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
declare const specification: {
|
|
1043
|
+
visitors: {
|
|
1044
|
+
value: typeof FallbackVisitor;
|
|
1045
|
+
document: {
|
|
1046
|
+
objects: {
|
|
1047
|
+
JSONReference: {
|
|
1048
|
+
$visitor: stampit.default.Stamp<any>;
|
|
1049
|
+
fixedFields: {
|
|
1050
|
+
$ref: stampit.default.Stamp<any>;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
JSONSchema: {
|
|
1054
|
+
$ref: string;
|
|
1055
|
+
};
|
|
1056
|
+
Swagger: {
|
|
1057
|
+
$visitor: typeof SwaggerVisitor$1;
|
|
1058
|
+
fixedFields: {
|
|
1059
|
+
swagger: typeof SwaggerVisitor;
|
|
1060
|
+
info: {
|
|
1061
|
+
$ref: string;
|
|
1062
|
+
};
|
|
1063
|
+
host: typeof HostVisitor;
|
|
1064
|
+
basePath: typeof BasePathVisitor;
|
|
1065
|
+
schemes: typeof SchemesVisitor$1;
|
|
1066
|
+
consumes: typeof ConsumesVisitor$1;
|
|
1067
|
+
produces: typeof ProducesVisitor$1;
|
|
1068
|
+
paths: {
|
|
1069
|
+
$ref: string;
|
|
1070
|
+
};
|
|
1071
|
+
definitions: {
|
|
1072
|
+
$ref: string;
|
|
1073
|
+
};
|
|
1074
|
+
parameters: {
|
|
1075
|
+
$ref: string;
|
|
1076
|
+
};
|
|
1077
|
+
responses: {
|
|
1078
|
+
$ref: string;
|
|
1079
|
+
};
|
|
1080
|
+
securityDefinitions: {
|
|
1081
|
+
$ref: string;
|
|
1082
|
+
};
|
|
1083
|
+
security: typeof SecurityVisitor$1;
|
|
1084
|
+
tags: typeof TagsVisitor$1;
|
|
1085
|
+
externalDocs: {
|
|
1086
|
+
$ref: string;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
Info: {
|
|
1091
|
+
$visitor: typeof InfoVisitor;
|
|
1092
|
+
fixedFields: {
|
|
1093
|
+
title: {
|
|
1094
|
+
$ref: string;
|
|
1095
|
+
};
|
|
1096
|
+
description: {
|
|
1097
|
+
$ref: string;
|
|
1098
|
+
};
|
|
1099
|
+
termsOfService: {
|
|
1100
|
+
$ref: string;
|
|
1101
|
+
};
|
|
1102
|
+
contact: {
|
|
1103
|
+
$ref: string;
|
|
1104
|
+
};
|
|
1105
|
+
license: {
|
|
1106
|
+
$ref: string;
|
|
1107
|
+
};
|
|
1108
|
+
version: typeof VersionVisitor;
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
Contact: {
|
|
1112
|
+
$visitor: typeof ContactVisitor;
|
|
1113
|
+
fixedFields: {
|
|
1114
|
+
name: {
|
|
1115
|
+
$ref: string;
|
|
1116
|
+
};
|
|
1117
|
+
url: {
|
|
1118
|
+
$ref: string;
|
|
1119
|
+
};
|
|
1120
|
+
email: {
|
|
1121
|
+
$ref: string;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
License: {
|
|
1126
|
+
$visitor: typeof LicenseVisitor;
|
|
1127
|
+
fixedFields: {
|
|
1128
|
+
name: {
|
|
1129
|
+
$ref: string;
|
|
1130
|
+
};
|
|
1131
|
+
url: {
|
|
1132
|
+
$ref: string;
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
Paths: {
|
|
1137
|
+
$visitor: typeof PathsVisitor;
|
|
1138
|
+
};
|
|
1139
|
+
PathItem: {
|
|
1140
|
+
$visitor: typeof PathItemVisitor;
|
|
1141
|
+
fixedFields: {
|
|
1142
|
+
$ref: typeof $RefVisitor$1;
|
|
1143
|
+
get: {
|
|
1144
|
+
$ref: string;
|
|
1145
|
+
};
|
|
1146
|
+
put: {
|
|
1147
|
+
$ref: string;
|
|
1148
|
+
};
|
|
1149
|
+
post: {
|
|
1150
|
+
$ref: string;
|
|
1151
|
+
};
|
|
1152
|
+
delete: {
|
|
1153
|
+
$ref: string;
|
|
1154
|
+
};
|
|
1155
|
+
options: {
|
|
1156
|
+
$ref: string;
|
|
1157
|
+
};
|
|
1158
|
+
head: {
|
|
1159
|
+
$ref: string;
|
|
1160
|
+
};
|
|
1161
|
+
patch: {
|
|
1162
|
+
$ref: string;
|
|
1163
|
+
};
|
|
1164
|
+
parameters: typeof ParametersVisitor$1;
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
Operation: {
|
|
1168
|
+
$visitor: typeof OperationVisitor;
|
|
1169
|
+
fixedFields: {
|
|
1170
|
+
tags: typeof TagsVisitor;
|
|
1171
|
+
summary: {
|
|
1172
|
+
$ref: string;
|
|
1173
|
+
};
|
|
1174
|
+
description: {
|
|
1175
|
+
$ref: string;
|
|
1176
|
+
};
|
|
1177
|
+
externalDocs: {
|
|
1178
|
+
$ref: string;
|
|
1179
|
+
};
|
|
1180
|
+
operationId: {
|
|
1181
|
+
$ref: string;
|
|
1182
|
+
};
|
|
1183
|
+
consumes: typeof ConsumesVisitor;
|
|
1184
|
+
produces: typeof ProducesVisitor;
|
|
1185
|
+
parameters: typeof ParametersVisitor;
|
|
1186
|
+
responses: {
|
|
1187
|
+
$ref: string;
|
|
1188
|
+
};
|
|
1189
|
+
schemes: typeof SchemesVisitor;
|
|
1190
|
+
deprecated: {
|
|
1191
|
+
$ref: string;
|
|
1192
|
+
};
|
|
1193
|
+
security: typeof SecurityVisitor;
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
ExternalDocumentation: {
|
|
1197
|
+
$visitor: typeof ExternalDocumentationVisitor;
|
|
1198
|
+
fixedFields: {
|
|
1199
|
+
description: {
|
|
1200
|
+
$ref: string;
|
|
1201
|
+
};
|
|
1202
|
+
url: {
|
|
1203
|
+
$ref: string;
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
Parameter: {
|
|
1208
|
+
$visitor: typeof ParameterVisitor;
|
|
1209
|
+
fixedFields: {
|
|
1210
|
+
name: {
|
|
1211
|
+
$ref: string;
|
|
1212
|
+
};
|
|
1213
|
+
in: {
|
|
1214
|
+
$ref: string;
|
|
1215
|
+
};
|
|
1216
|
+
description: stampit.default.Stamp<any>;
|
|
1217
|
+
required: stampit.default.Stamp<any>;
|
|
1218
|
+
schema: stampit.default.Stamp<any>;
|
|
1219
|
+
type: stampit.default.Stamp<any>;
|
|
1220
|
+
format: stampit.default.Stamp<any>;
|
|
1221
|
+
items: {
|
|
1222
|
+
$ref: string;
|
|
1223
|
+
};
|
|
1224
|
+
collectionFormat: {
|
|
1225
|
+
$ref: string;
|
|
1226
|
+
};
|
|
1227
|
+
default: stampit.default.Stamp<any>;
|
|
1228
|
+
maximum: stampit.default.Stamp<any>;
|
|
1229
|
+
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
1230
|
+
minimum: stampit.default.Stamp<any>;
|
|
1231
|
+
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
1232
|
+
maxLength: stampit.default.Stamp<any>;
|
|
1233
|
+
minLength: stampit.default.Stamp<any>;
|
|
1234
|
+
pattern: stampit.default.Stamp<any>;
|
|
1235
|
+
maxItems: stampit.default.Stamp<any>;
|
|
1236
|
+
minItems: stampit.default.Stamp<any>;
|
|
1237
|
+
uniqueItems: stampit.default.Stamp<any>;
|
|
1238
|
+
enum: stampit.default.Stamp<any>;
|
|
1239
|
+
multipleOf: stampit.default.Stamp<any>;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
Items: {
|
|
1243
|
+
$visitor: typeof ItemsVisitor;
|
|
1244
|
+
fixedFields: {
|
|
1245
|
+
type: stampit.default.Stamp<any>;
|
|
1246
|
+
format: stampit.default.Stamp<any>;
|
|
1247
|
+
items: {
|
|
1248
|
+
$ref: string;
|
|
1249
|
+
};
|
|
1250
|
+
collectionFormat: {
|
|
1251
|
+
$ref: string;
|
|
1252
|
+
};
|
|
1253
|
+
default: stampit.default.Stamp<any>;
|
|
1254
|
+
maximum: stampit.default.Stamp<any>;
|
|
1255
|
+
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
1256
|
+
minimum: stampit.default.Stamp<any>;
|
|
1257
|
+
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
1258
|
+
maxLength: stampit.default.Stamp<any>;
|
|
1259
|
+
minLength: stampit.default.Stamp<any>;
|
|
1260
|
+
pattern: stampit.default.Stamp<any>;
|
|
1261
|
+
maxItems: stampit.default.Stamp<any>;
|
|
1262
|
+
minItems: stampit.default.Stamp<any>;
|
|
1263
|
+
uniqueItems: stampit.default.Stamp<any>;
|
|
1264
|
+
enum: stampit.default.Stamp<any>;
|
|
1265
|
+
multipleOf: stampit.default.Stamp<any>;
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
Responses: {
|
|
1269
|
+
$visitor: typeof ResponsesVisitor;
|
|
1270
|
+
fixedFields: {
|
|
1271
|
+
default: typeof DefaultVisitor;
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
Response: {
|
|
1275
|
+
$visitor: typeof ResponseVisitor;
|
|
1276
|
+
fixedFields: {
|
|
1277
|
+
description: {
|
|
1278
|
+
$ref: string;
|
|
1279
|
+
};
|
|
1280
|
+
schema: stampit.default.Stamp<any>;
|
|
1281
|
+
headers: {
|
|
1282
|
+
$ref: string;
|
|
1283
|
+
};
|
|
1284
|
+
examples: {
|
|
1285
|
+
$ref: string;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
Headers: {
|
|
1290
|
+
$visitor: typeof HeadersVisitor;
|
|
1291
|
+
};
|
|
1292
|
+
Example: {
|
|
1293
|
+
$visitor: typeof ExampleVisitor;
|
|
1294
|
+
};
|
|
1295
|
+
Header: {
|
|
1296
|
+
$visitor: typeof HeaderVisitor;
|
|
1297
|
+
fixedFields: {
|
|
1298
|
+
description: stampit.default.Stamp<any>;
|
|
1299
|
+
type: stampit.default.Stamp<any>;
|
|
1300
|
+
format: stampit.default.Stamp<any>;
|
|
1301
|
+
items: {
|
|
1302
|
+
$ref: string;
|
|
1303
|
+
};
|
|
1304
|
+
collectionFormat: {
|
|
1305
|
+
$ref: string;
|
|
1306
|
+
};
|
|
1307
|
+
default: stampit.default.Stamp<any>;
|
|
1308
|
+
maximum: stampit.default.Stamp<any>;
|
|
1309
|
+
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
1310
|
+
minimum: stampit.default.Stamp<any>;
|
|
1311
|
+
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
1312
|
+
maxLength: stampit.default.Stamp<any>;
|
|
1313
|
+
minLength: stampit.default.Stamp<any>;
|
|
1314
|
+
pattern: stampit.default.Stamp<any>;
|
|
1315
|
+
maxItems: stampit.default.Stamp<any>;
|
|
1316
|
+
minItems: stampit.default.Stamp<any>;
|
|
1317
|
+
uniqueItems: stampit.default.Stamp<any>;
|
|
1318
|
+
enum: stampit.default.Stamp<any>;
|
|
1319
|
+
multipleOf: stampit.default.Stamp<any>;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
Tag: {
|
|
1323
|
+
$visitor: typeof TagVisitor;
|
|
1324
|
+
fixedFields: {
|
|
1325
|
+
name: {
|
|
1326
|
+
$ref: string;
|
|
1327
|
+
};
|
|
1328
|
+
description: {
|
|
1329
|
+
$ref: string;
|
|
1330
|
+
};
|
|
1331
|
+
externalDocs: {
|
|
1332
|
+
$ref: string;
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
Reference: {
|
|
1337
|
+
$visitor: typeof ReferenceVisitor;
|
|
1338
|
+
fixedFields: {
|
|
1339
|
+
$ref: typeof $RefVisitor;
|
|
1340
|
+
};
|
|
1341
|
+
};
|
|
1342
|
+
Schema: {
|
|
1343
|
+
$visitor: typeof SchemaVisitor;
|
|
1344
|
+
fixedFields: {
|
|
1345
|
+
format: stampit.default.Stamp<any>;
|
|
1346
|
+
title: stampit.default.Stamp<any>;
|
|
1347
|
+
description: stampit.default.Stamp<any>;
|
|
1348
|
+
default: stampit.default.Stamp<any>;
|
|
1349
|
+
multipleOf: stampit.default.Stamp<any>;
|
|
1350
|
+
maximum: stampit.default.Stamp<any>;
|
|
1351
|
+
exclusiveMaximum: stampit.default.Stamp<any>;
|
|
1352
|
+
minimum: stampit.default.Stamp<any>;
|
|
1353
|
+
exclusiveMinimum: stampit.default.Stamp<any>;
|
|
1354
|
+
maxLength: stampit.default.Stamp<any>;
|
|
1355
|
+
minLength: stampit.default.Stamp<any>;
|
|
1356
|
+
pattern: stampit.default.Stamp<any>;
|
|
1357
|
+
maxItems: stampit.default.Stamp<any>;
|
|
1358
|
+
minItems: stampit.default.Stamp<any>;
|
|
1359
|
+
uniqueItems: stampit.default.Stamp<any>;
|
|
1360
|
+
maxProperties: stampit.default.Stamp<any>;
|
|
1361
|
+
minProperties: stampit.default.Stamp<any>;
|
|
1362
|
+
required: stampit.default.Stamp<any>;
|
|
1363
|
+
enum: stampit.default.Stamp<any>;
|
|
1364
|
+
type: stampit.default.Stamp<any>;
|
|
1365
|
+
readOnly: stampit.default.Stamp<any>;
|
|
1366
|
+
items: stampit.default.Stamp<any>;
|
|
1367
|
+
allOf: stampit.default.Stamp<any>;
|
|
1368
|
+
properties: stampit.default.Stamp<any>;
|
|
1369
|
+
additionalProperties: stampit.default.Stamp<any>;
|
|
1370
|
+
discriminator: {
|
|
1371
|
+
$ref: string;
|
|
1372
|
+
};
|
|
1373
|
+
xml: {
|
|
1374
|
+
$ref: string;
|
|
1375
|
+
};
|
|
1376
|
+
externalDocs: {
|
|
1377
|
+
$ref: string;
|
|
1378
|
+
};
|
|
1379
|
+
example: {
|
|
1380
|
+
$ref: string;
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
XML: {
|
|
1385
|
+
$visitor: typeof XmlVisitor;
|
|
1386
|
+
fixedFields: {
|
|
1387
|
+
name: {
|
|
1388
|
+
$ref: string;
|
|
1389
|
+
};
|
|
1390
|
+
namespace: {
|
|
1391
|
+
$ref: string;
|
|
1392
|
+
};
|
|
1393
|
+
prefix: {
|
|
1394
|
+
$ref: string;
|
|
1395
|
+
};
|
|
1396
|
+
attribute: {
|
|
1397
|
+
$ref: string;
|
|
1398
|
+
};
|
|
1399
|
+
wrapped: {
|
|
1400
|
+
$ref: string;
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
Definitions: {
|
|
1405
|
+
$visitor: typeof DefinitionsVisitor;
|
|
1406
|
+
};
|
|
1407
|
+
ParametersDefinitions: {
|
|
1408
|
+
$visitor: typeof ParametersDefinitionsVisitor;
|
|
1409
|
+
};
|
|
1410
|
+
ResponsesDefinitions: {
|
|
1411
|
+
$visitor: typeof ResponsesDefinitionsVisitor;
|
|
1412
|
+
};
|
|
1413
|
+
SecurityDefinitions: {
|
|
1414
|
+
$visitor: typeof SecurityDefinitionsVisitor;
|
|
1415
|
+
};
|
|
1416
|
+
SecurityScheme: {
|
|
1417
|
+
$visitor: typeof SecuritySchemeVisitor;
|
|
1418
|
+
fixedFields: {
|
|
1419
|
+
type: {
|
|
1420
|
+
$ref: string;
|
|
1421
|
+
};
|
|
1422
|
+
description: {
|
|
1423
|
+
$ref: string;
|
|
1424
|
+
};
|
|
1425
|
+
name: {
|
|
1426
|
+
$ref: string;
|
|
1427
|
+
};
|
|
1428
|
+
in: {
|
|
1429
|
+
$ref: string;
|
|
1430
|
+
};
|
|
1431
|
+
flow: {
|
|
1432
|
+
$ref: string;
|
|
1433
|
+
};
|
|
1434
|
+
authorizationUrl: {
|
|
1435
|
+
$ref: string;
|
|
1436
|
+
};
|
|
1437
|
+
token: {
|
|
1438
|
+
$ref: string;
|
|
1439
|
+
};
|
|
1440
|
+
scopes: {
|
|
1441
|
+
$ref: string;
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
};
|
|
1445
|
+
Scopes: {
|
|
1446
|
+
$visitor: typeof ScopesVisitor;
|
|
1447
|
+
};
|
|
1448
|
+
SecurityRequirement: {
|
|
1449
|
+
$visitor: typeof SecurityRequirementVisitor;
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
extension: {
|
|
1453
|
+
$visitor: typeof SpecificationExtensionVisitor;
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
|
|
965
1459
|
declare const isSwaggerElement: _swagger_api_apidom_core.ElementPredicate<Swagger>;
|
|
966
1460
|
declare const isSwaggerVersionElement: _swagger_api_apidom_core.ElementPredicate<SwaggerVersion>;
|
|
967
1461
|
declare const isInfoElement: _swagger_api_apidom_core.ElementPredicate<Info>;
|
|
@@ -990,38 +1484,6 @@ declare const isSecuritySchemeElement: _swagger_api_apidom_core.ElementPredicate
|
|
|
990
1484
|
declare const isScopesElement: _swagger_api_apidom_core.ElementPredicate<Scopes>;
|
|
991
1485
|
declare const isSecurityRequirementElement: _swagger_api_apidom_core.ElementPredicate<SecurityRequirement>;
|
|
992
1486
|
|
|
993
|
-
interface ReferenceLikeElement extends ObjectElement {
|
|
994
|
-
hasKey: (value: '$ref') => true;
|
|
995
|
-
}
|
|
996
|
-
declare const isSwaggerExtension: (element: MemberElement) => boolean;
|
|
997
|
-
declare const isReferenceLikeElement: (element: unknown) => element is ReferenceLikeElement;
|
|
998
|
-
|
|
999
|
-
declare const AlternatingVisitor: stampit__default.Stamp<any>;
|
|
1000
|
-
|
|
1001
|
-
declare const FixedFieldsVisitor: stampit__default.Stamp<any>;
|
|
1002
|
-
|
|
1003
|
-
declare const MapVisitor: stampit__default.Stamp<any>;
|
|
1004
|
-
|
|
1005
|
-
declare const MixedFieldsVisitor: stampit__default.Stamp<any>;
|
|
1006
|
-
|
|
1007
|
-
declare const PatternedFieldsJsonObjectVisitor: stampit__default.Stamp<any>;
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* This visitor is responsible for falling back to current traversed element
|
|
1011
|
-
* Given OpenApi3_0Visitor expects ObjectElement to be traversed. If
|
|
1012
|
-
* different Element is provided FallBackVisitor is responsible to assigning
|
|
1013
|
-
* this Element as current element.
|
|
1014
|
-
*/
|
|
1015
|
-
declare const FallbackVisitor: stampit__default.Stamp<any>;
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* This is a base Type for every visitor that does
|
|
1019
|
-
* internal look-ups to retrieve other child visitors.
|
|
1020
|
-
*/
|
|
1021
|
-
declare const SpecificationVisitor: stampit__default.Stamp<any>;
|
|
1022
|
-
|
|
1023
|
-
declare const Visitor: stampit__default.Stamp<any>;
|
|
1024
|
-
|
|
1025
1487
|
declare const getNodeType: <T extends Element>(element: T) => string | undefined;
|
|
1026
1488
|
/**
|
|
1027
1489
|
* There are unfortunately two `LinkElement` types. One is from base namespace
|
|
@@ -1075,64 +1537,4 @@ declare const keyMap: {
|
|
|
1075
1537
|
SecurityRequirementElement: string[];
|
|
1076
1538
|
};
|
|
1077
1539
|
|
|
1078
|
-
|
|
1079
|
-
static primaryClass: string;
|
|
1080
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
declare class OperationParameters extends ArrayElement {
|
|
1084
|
-
static primaryClass: string;
|
|
1085
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
declare class OperationProduces extends ArrayElement {
|
|
1089
|
-
static primaryClass: string;
|
|
1090
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
declare class OperationSchemes extends ArrayElement {
|
|
1094
|
-
static primaryClass: string;
|
|
1095
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
declare class OperationSecurity extends ArrayElement {
|
|
1099
|
-
static primaryClass: string;
|
|
1100
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
declare class OperationTags extends ArrayElement {
|
|
1104
|
-
static primaryClass: string;
|
|
1105
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
declare class PathItemParameters extends ArrayElement {
|
|
1109
|
-
static primaryClass: string;
|
|
1110
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
declare class SwaggerSchemes extends ArrayElement {
|
|
1114
|
-
static primaryClass: string;
|
|
1115
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
declare class SwaggerConsumes extends ArrayElement {
|
|
1119
|
-
static primaryClass: string;
|
|
1120
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
declare class SwaggerProduces extends ArrayElement {
|
|
1124
|
-
static primaryClass: string;
|
|
1125
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
declare class SwaggerSecurity extends ArrayElement {
|
|
1129
|
-
static primaryClass: string;
|
|
1130
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
declare class SwaggerTags extends ArrayElement {
|
|
1134
|
-
static primaryClass: string;
|
|
1135
|
-
constructor(content?: Array<unknown>, meta?: Meta, attributes?: Attributes);
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
export { AlternatingVisitor, Contact as ContactElement, Definitions as DefinitionsElement, Example as ExampleElement, ExternalDocumentation as ExternalDocumentationElement, FallbackVisitor, FixedFieldsVisitor, Header as HeaderElement, Headers as HeadersElement, Info as InfoElement, Items as ItemsElement, License as LicenseElement, MapVisitor, MixedFieldsVisitor, OpenAPIMediaTypes, OperationConsumes as OperationConsumesElement, Operation as OperationElement, OperationParameters as OperationParametersElement, OperationProduces as OperationProducesElement, OperationSchemes as OperationSchemesElement, OperationSecurity as OperationSecurityElement, OperationTags as OperationTagsElement, Parameter as ParameterElement, ParametersDefinitions as ParametersDefinitionsElement, PathItem as PathItemElement, PathItemParameters as PathItemParametersElement, Paths as PathsElement, PatternedFieldsJsonObjectVisitor as PatternedFieldsVisitor, Reference as ReferenceElement, Response as ResponseElement, ResponsesDefinitions as ResponsesDefinitionsElement, Responses as ResponsesElement, Schema as SchemaElement, Scopes as ScopesElement, SecurityDefinitions as SecurityDefinitionsElement, SecurityRequirement as SecurityRequirementElement, SecurityScheme as SecuritySchemeElement, SpecificationVisitor, SwaggerConsumes as SwaggerConsumesElement, Swagger as SwaggerElement, SwaggerProduces as SwaggerProducesElement, SwaggerSchemes as SwaggerSchemesElement, SwaggerSecurity as SwaggerSecurityElement, SwaggerTags as SwaggerTagsElement, SwaggerVersion as SwaggerVersionElement, Tag as TagElement, Visitor, Xml as XmlElement, createRefractor, openApi2 as default, getNodeType, isContactElement, isDefinitionsElement, isExampleElement, isExternalDocumentationElement, isHeaderElement, isHeadersElement, isInfoElement, isItemsElement, isLicenseElement, isOperationElement, isParameterElement, isParametersDefinitionsElement, isPathItemElement, isPathsElement, isReferenceElement, isReferenceLikeElement, isResponseElement, isResponsesDefinitionsElement, isResponsesElement, isSchemaElement, isScopesElement, isSecurityDefinitionsElement, isSecurityRequirementElement, isSecuritySchemeElement, isSwaggerElement, isSwaggerExtension, isSwaggerVersionElement, isTagElement, isXmlElement, keyMap, mediaTypes, refract, plugin as refractorPluginReplaceEmptyElement, specification as specificationObj };
|
|
1540
|
+
export { AlternatingVisitor, Contact as ContactElement, Definitions as DefinitionsElement, Example as ExampleElement, ExternalDocumentation as ExternalDocumentationElement, FallbackVisitor, FixedFieldsVisitor, Header as HeaderElement, Headers as HeadersElement, Info as InfoElement, Items as ItemsElement, License as LicenseElement, MapVisitor, MixedFieldsVisitor, OpenAPIMediaTypes, OperationConsumes as OperationConsumesElement, Operation as OperationElement, OperationParameters as OperationParametersElement, OperationProduces as OperationProducesElement, OperationSchemes as OperationSchemesElement, OperationSecurity as OperationSecurityElement, OperationTags as OperationTagsElement, Parameter as ParameterElement, ParametersDefinitions as ParametersDefinitionsElement, PathItem as PathItemElement, PathItemParameters as PathItemParametersElement, Paths as PathsElement, PatternedFieldsVisitor, Reference as ReferenceElement, Response as ResponseElement, ResponsesDefinitions as ResponsesDefinitionsElement, Responses as ResponsesElement, Schema as SchemaElement, Scopes as ScopesElement, SecurityDefinitions as SecurityDefinitionsElement, SecurityRequirement as SecurityRequirementElement, SecurityScheme as SecuritySchemeElement, SpecificationVisitor, SwaggerConsumes as SwaggerConsumesElement, Swagger as SwaggerElement, SwaggerProduces as SwaggerProducesElement, SwaggerSchemes as SwaggerSchemesElement, SwaggerSecurity as SwaggerSecurityElement, SwaggerTags as SwaggerTagsElement, SwaggerVersion as SwaggerVersionElement, Tag as TagElement, Visitor, Xml as XmlElement, createRefractor, openApi2 as default, getNodeType, isContactElement, isDefinitionsElement, isExampleElement, isExternalDocumentationElement, isHeaderElement, isHeadersElement, isInfoElement, isItemsElement, isLicenseElement, isOperationElement, isParameterElement, isParametersDefinitionsElement, isPathItemElement, isPathsElement, isReferenceElement, isReferenceLikeElement, isResponseElement, isResponsesDefinitionsElement, isResponsesElement, isSchemaElement, isScopesElement, isSecurityDefinitionsElement, isSecurityRequirementElement, isSecuritySchemeElement, isSwaggerElement, isSwaggerExtension, isSwaggerVersionElement, isTagElement, isXmlElement, keyMap, mediaTypes, refract, plugin as refractorPluginReplaceEmptyElement, specification as specificationObj };
|