@redocly/openapi-core 2.15.0 → 2.15.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/lib/config/group-assertion-rules.d.ts.map +1 -1
- package/lib/config/group-assertion-rules.js +2 -1
- package/lib/config/group-assertion-rules.js.map +1 -1
- package/lib/config/utils.js +1 -1
- package/lib/config/utils.js.map +1 -1
- package/lib/oas-types.d.ts +190 -0
- package/lib/oas-types.d.ts.map +1 -1
- package/lib/rules/arazzo/parameters-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/parameters-unique.js +1 -3
- package/lib/rules/arazzo/parameters-unique.js.map +1 -1
- package/lib/rules/arazzo/step-onFailure-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/step-onFailure-unique.js +1 -3
- package/lib/rules/arazzo/step-onFailure-unique.js.map +1 -1
- package/lib/rules/arazzo/step-onSuccess-unique.d.ts.map +1 -1
- package/lib/rules/arazzo/step-onSuccess-unique.js +1 -3
- package/lib/rules/arazzo/step-onSuccess-unique.js.map +1 -1
- package/lib/rules/catalog-entity/entity-key-valid.d.ts.map +1 -1
- package/lib/rules/catalog-entity/entity-key-valid.js +2 -1
- package/lib/rules/catalog-entity/entity-key-valid.js.map +1 -1
- package/lib/rules/common/assertions/asserts.js +1 -1
- package/lib/rules/common/assertions/asserts.js.map +1 -1
- package/lib/rules/common/assertions/index.d.ts.map +1 -1
- package/lib/rules/common/assertions/index.js +2 -1
- package/lib/rules/common/assertions/index.js.map +1 -1
- package/lib/rules/common/no-invalid-parameter-examples.d.ts.map +1 -1
- package/lib/rules/common/no-invalid-parameter-examples.js +3 -2
- package/lib/rules/common/no-invalid-parameter-examples.js.map +1 -1
- package/lib/rules/common/no-invalid-schema-examples.js +1 -1
- package/lib/rules/common/no-invalid-schema-examples.js.map +1 -1
- package/lib/rules/common/path-params-defined.d.ts +1 -1
- package/lib/rules/common/path-params-defined.d.ts.map +1 -1
- package/lib/rules/common/path-params-defined.js +2 -1
- package/lib/rules/common/path-params-defined.js.map +1 -1
- package/lib/rules/oas3/no-invalid-media-type-examples.d.ts.map +1 -1
- package/lib/rules/oas3/no-invalid-media-type-examples.js +2 -1
- package/lib/rules/oas3/no-invalid-media-type-examples.js.map +1 -1
- package/lib/rules/other/stats.d.ts.map +1 -1
- package/lib/rules/other/stats.js +8 -6
- package/lib/rules/other/stats.js.map +1 -1
- package/lib/rules/utils.js +1 -1
- package/lib/rules/utils.js.map +1 -1
- package/lib/types/arazzo.d.ts.map +1 -1
- package/lib/types/arazzo.js +196 -44
- package/lib/types/arazzo.js.map +1 -1
- package/lib/types/asyncapi2.d.ts.map +1 -1
- package/lib/types/asyncapi2.js +307 -57
- package/lib/types/asyncapi2.js.map +1 -1
- package/lib/types/asyncapi3.d.ts +1 -1
- package/lib/types/asyncapi3.d.ts.map +1 -1
- package/lib/types/asyncapi3.js +213 -48
- package/lib/types/asyncapi3.js.map +1 -1
- package/lib/types/index.d.ts +18 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +4 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/oas2.d.ts +22 -0
- package/lib/types/oas2.d.ts.map +1 -1
- package/lib/types/oas3.d.ts +44 -0
- package/lib/types/oas3.d.ts.map +1 -1
- package/lib/types/oas3.js +344 -70
- package/lib/types/oas3.js.map +1 -1
- package/lib/types/oas3_1.d.ts +46 -0
- package/lib/types/oas3_1.d.ts.map +1 -1
- package/lib/types/oas3_1.js +37 -29
- package/lib/types/oas3_1.js.map +1 -1
- package/lib/types/oas3_2.d.ts +46 -0
- package/lib/types/oas3_2.d.ts.map +1 -1
- package/lib/types/oas3_2.js +96 -23
- package/lib/types/oas3_2.js.map +1 -1
- package/lib/types/openrpc.d.ts +32 -0
- package/lib/types/openrpc.d.ts.map +1 -1
- package/lib/types/openrpc.js +200 -46
- package/lib/types/openrpc.js.map +1 -1
- package/lib/types/overlay.d.ts.map +1 -1
- package/lib/types/overlay.js +31 -7
- package/lib/types/overlay.js.map +1 -1
- package/lib/types/redocly-yaml.d.ts +1 -1
- package/lib/types/redocly-yaml.d.ts.map +1 -1
- package/lib/types/redocly-yaml.js +150 -38
- package/lib/types/redocly-yaml.js.map +1 -1
- package/lib/typings/openapi.d.ts.map +1 -1
- package/lib/utils/read-file-from-url.js +1 -1
- package/lib/utils/read-file-from-url.js.map +1 -1
- package/lib/visitors.js +1 -1
- package/lib/visitors.js.map +1 -1
- package/lib/walk.d.ts.map +1 -1
- package/lib/walk.js +2 -1
- package/lib/walk.js.map +1 -1
- package/package.json +2 -2
package/lib/types/oas3_2.js
CHANGED
|
@@ -5,31 +5,54 @@ const Root = {
|
|
|
5
5
|
...Oas3_1Types.Root,
|
|
6
6
|
properties: {
|
|
7
7
|
...Oas3_1Types.Root.properties,
|
|
8
|
-
$self: {
|
|
8
|
+
$self: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
description: 'This string MUST be in the form of a URI reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1. Implementations MUST support identifying the targets of API description URIs using the URI defined by this field when it is present. See Establishing the Base URI for the base URI behavior when $self is absent or relative, and see Appendix F for examples of using $self to resolve references.',
|
|
11
|
+
},
|
|
9
12
|
},
|
|
10
13
|
};
|
|
11
14
|
const Tag = {
|
|
12
15
|
...Oas3_1Types.Tag,
|
|
13
16
|
properties: {
|
|
14
17
|
...Oas3_1Types.Tag.properties,
|
|
15
|
-
kind: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
kind: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'A machine-readable string to categorize what sort of tag it is. Any string value can be used; common uses are nav for Navigation, badge for visible badges, audience for APIs used by different groups. A registry of the most commonly used values is available.',
|
|
21
|
+
},
|
|
22
|
+
parent: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references between parent and child tags MUST NOT be used.',
|
|
25
|
+
},
|
|
26
|
+
summary: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: 'A short summary of the tag, used for display purposes.',
|
|
29
|
+
},
|
|
18
30
|
},
|
|
31
|
+
description: 'Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.',
|
|
19
32
|
};
|
|
20
33
|
const Server = {
|
|
21
34
|
...Oas3_1Types.Server,
|
|
22
35
|
properties: {
|
|
23
36
|
...Oas3_1Types.Server.properties,
|
|
24
|
-
name: {
|
|
37
|
+
name: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
description: 'An optional unique string to refer to the host designated by the URL.',
|
|
40
|
+
},
|
|
25
41
|
},
|
|
42
|
+
description: 'An object representing a Server.',
|
|
26
43
|
};
|
|
27
44
|
const SecurityScheme = {
|
|
28
45
|
...Oas3_1Types.SecurityScheme,
|
|
29
46
|
properties: {
|
|
30
47
|
...Oas3_1Types.SecurityScheme.properties,
|
|
31
|
-
deprecated: {
|
|
32
|
-
|
|
48
|
+
deprecated: {
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
description: 'Declares this security scheme to be deprecated. Consumers SHOULD refrain from usage of the declared scheme. Default value is false.',
|
|
51
|
+
}, // added in OAS 3.2
|
|
52
|
+
oauth2MetadataUrl: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'URL to the OAuth2 authorization server metadata [RFC8414]. TLS is required.',
|
|
55
|
+
}, // added in OAS 3.2
|
|
33
56
|
},
|
|
34
57
|
allowed(value) {
|
|
35
58
|
switch (value?.type) {
|
|
@@ -122,6 +145,7 @@ const SecurityScheme = {
|
|
|
122
145
|
];
|
|
123
146
|
}
|
|
124
147
|
},
|
|
148
|
+
description: 'Defines a security scheme that can be used by the operations.',
|
|
125
149
|
};
|
|
126
150
|
const OAuth2Flows = {
|
|
127
151
|
...Oas3_1Types.OAuth2Flows,
|
|
@@ -132,13 +156,25 @@ const OAuth2Flows = {
|
|
|
132
156
|
};
|
|
133
157
|
const DeviceAuthorization = {
|
|
134
158
|
properties: {
|
|
135
|
-
deviceAuthorizationUrl: {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
159
|
+
deviceAuthorizationUrl: {
|
|
160
|
+
type: 'string',
|
|
161
|
+
description: 'REQUIRED. The device authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
162
|
+
},
|
|
163
|
+
tokenUrl: {
|
|
164
|
+
type: 'string',
|
|
165
|
+
description: 'REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
166
|
+
},
|
|
167
|
+
refreshUrl: {
|
|
168
|
+
type: 'string',
|
|
169
|
+
description: 'The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
170
|
+
},
|
|
171
|
+
scopes: mapOf('string', {
|
|
172
|
+
description: 'REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.',
|
|
173
|
+
}),
|
|
139
174
|
},
|
|
140
175
|
required: ['deviceAuthorizationUrl', 'tokenUrl', 'scopes'],
|
|
141
176
|
extensionsPrefix: 'x-',
|
|
177
|
+
description: 'Configuration for the OAuth Device Authorization flow.',
|
|
142
178
|
};
|
|
143
179
|
const PathItem = {
|
|
144
180
|
...Oas3Types.PathItem,
|
|
@@ -152,14 +188,20 @@ const Parameter = {
|
|
|
152
188
|
...Oas3_1Types.Parameter,
|
|
153
189
|
properties: {
|
|
154
190
|
...Oas3_1Types.Parameter.properties,
|
|
155
|
-
in: {
|
|
191
|
+
in: {
|
|
192
|
+
description: 'REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie".',
|
|
193
|
+
enum: ['query', 'header', 'path', 'cookie', 'querystring'],
|
|
194
|
+
},
|
|
156
195
|
},
|
|
157
196
|
};
|
|
158
197
|
const Response = {
|
|
159
198
|
...Oas3_1Types.Response,
|
|
160
199
|
properties: {
|
|
161
200
|
...Oas3_1Types.Response.properties,
|
|
162
|
-
summary: {
|
|
201
|
+
summary: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
description: 'A short summary of the meaning of the response.',
|
|
204
|
+
},
|
|
163
205
|
},
|
|
164
206
|
};
|
|
165
207
|
const MediaType = {
|
|
@@ -167,7 +209,9 @@ const MediaType = {
|
|
|
167
209
|
properties: {
|
|
168
210
|
...Oas3_1Types.MediaType.properties,
|
|
169
211
|
itemSchema: 'Schema',
|
|
170
|
-
prefixEncoding: listOf('Encoding'
|
|
212
|
+
prefixEncoding: listOf('Encoding', {
|
|
213
|
+
description: 'A map between a property name and its encoding information, as defined under Encoding By Name. The encoding field SHALL only apply when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. This field MUST NOT be present if prefixEncoding or itemEncoding are present.',
|
|
214
|
+
}),
|
|
171
215
|
itemEncoding: 'Encoding',
|
|
172
216
|
},
|
|
173
217
|
};
|
|
@@ -175,27 +219,56 @@ const Discriminator = {
|
|
|
175
219
|
...Oas3_1Types.Discriminator,
|
|
176
220
|
properties: {
|
|
177
221
|
...Oas3_1Types.Discriminator.properties,
|
|
178
|
-
defaultMapping: {
|
|
222
|
+
defaultMapping: {
|
|
223
|
+
type: 'string',
|
|
224
|
+
description: 'The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.',
|
|
225
|
+
},
|
|
179
226
|
},
|
|
180
227
|
};
|
|
181
228
|
const Example = {
|
|
182
229
|
...Oas3_1Types.Example,
|
|
183
230
|
properties: {
|
|
184
231
|
...Oas3_1Types.Example.properties,
|
|
185
|
-
dataValue: {
|
|
186
|
-
|
|
232
|
+
dataValue: {
|
|
233
|
+
resolvable: false,
|
|
234
|
+
description: 'An example of the data structure that MUST be valid according to the relevant Schema Object. If this field is present, value MUST be absent.',
|
|
235
|
+
},
|
|
236
|
+
serializedValue: {
|
|
237
|
+
type: 'string',
|
|
238
|
+
description: 'An example of the serialized form of the value, including encoding and escaping as described under Validating Examples. If dataValue is present, then this field SHOULD contain the serialization of the given data. Otherwise, it SHOULD be the valid serialization of a data value that itself MUST be valid as described for dataValue. This field SHOULD NOT be used if the serialization format is JSON, as the data form is easier to work with. If this field is present, value, and externalValue MUST be absent.',
|
|
239
|
+
},
|
|
187
240
|
},
|
|
188
241
|
};
|
|
189
242
|
const Xml = {
|
|
190
243
|
properties: {
|
|
191
|
-
nodeType: {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
244
|
+
nodeType: {
|
|
245
|
+
type: 'string',
|
|
246
|
+
enum: ['element', 'attribute', 'text', 'cdata', 'none'],
|
|
247
|
+
description: 'One of element, attribute, text, cdata, or none, as explained under XML Node Types. The default value is none if $ref, $dynamicRef, or type: "array" is present in the Schema Object containing the XML Object, and element otherwise.',
|
|
248
|
+
},
|
|
249
|
+
name: {
|
|
250
|
+
type: 'string',
|
|
251
|
+
description: 'Sets the name of the element/attribute corresponding to the schema, replacing the name that was inferred as described under XML Node Names. This field SHALL be ignored if the nodeType is text, cdata, or none.',
|
|
252
|
+
},
|
|
253
|
+
namespace: {
|
|
254
|
+
type: 'string',
|
|
255
|
+
description: 'The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.',
|
|
256
|
+
},
|
|
257
|
+
prefix: {
|
|
258
|
+
type: 'string',
|
|
259
|
+
description: 'The prefix to be used for the name.',
|
|
260
|
+
},
|
|
261
|
+
attribute: {
|
|
262
|
+
type: 'boolean',
|
|
263
|
+
description: 'Declares whether the property definition translates to an attribute instead of an element. Default value is false. If nodeType is present, this field MUST NOT be present.Deprecated: Use nodeType: "attribute" instead of attribute: true.',
|
|
264
|
+
},
|
|
265
|
+
wrapped: {
|
|
266
|
+
type: 'boolean',
|
|
267
|
+
description: 'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). If nodeType is present, this field MUST NOT be present. Deprecated: Use nodeType: "element" instead of wrapped: true.',
|
|
268
|
+
}, // Deprecated in OAS 3.2: Use nodeType: "element" instead
|
|
197
269
|
},
|
|
198
270
|
extensionsPrefix: 'x-',
|
|
271
|
+
description: 'A metadata object that allows for more fine-tuned XML model definitions. When using a Schema Object with XML, if no XML Object is present, the behavior is determined by the XML Object’s default field values.',
|
|
199
272
|
};
|
|
200
273
|
// based on draft-2020-12
|
|
201
274
|
const Schema = {
|
package/lib/types/oas3_2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oas3_2.js","sourceRoot":"","sources":["../../src/types/oas3_2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,IAAI,GAAa;IACrB,GAAG,WAAW,CAAC,IAAI;IACnB,UAAU,EAAE;QACV,GAAG,WAAW,CAAC,IAAI,CAAC,UAAU;QAC9B,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"oas3_2.js","sourceRoot":"","sources":["../../src/types/oas3_2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,IAAI,GAAa;IACrB,GAAG,WAAW,CAAC,IAAI;IACnB,UAAU,EAAE;QACV,GAAG,WAAW,CAAC,IAAI,CAAC,UAAU;QAC9B,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,6gBAA6gB;SAChhB;KACF;CACF,CAAC;AAEF,MAAM,GAAG,GAAa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AAE,qCAAqC;SACnD;QACD,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EACT,6OAA6O;SAChP;QACD,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,WAAW,EACT,4YAA4Y;SAC/Y,EAAE,yDAAyD;KAC7D;IACD,gBAAgB,EAAE,IAAI;IACtB,WAAW,EACT,iNAAiN;CACpN,CAAC;AAEF,yBAAyB;AACzB,MAAM,MAAM,GAAa;IACvB,GAAG,WAAW,CAAC,MAAM;IACrB,UAAU,EAAE;QACV,GAAG,WAAW,CAAC,MAAM,CAAC,UAAU;QAChC,GAAG,EAAE,KAAK;KACX;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,GAAG,WAAW;IACd,IAAI;IACJ,GAAG;IACH,MAAM;IACN,cAAc;IACd,WAAW;IACX,mBAAmB;IACnB,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,SAAS;IACT,aAAa;IACb,OAAO;IACP,GAAG;IACH,MAAM;CACE,CAAC"}
|
package/lib/types/openrpc.d.ts
CHANGED
|
@@ -6,48 +6,64 @@ export declare const OpenRpcTypes: {
|
|
|
6
6
|
readonly License: NodeType;
|
|
7
7
|
readonly Server: NodeType;
|
|
8
8
|
readonly ServerList: {
|
|
9
|
+
description?: string;
|
|
10
|
+
documentationLink?: string;
|
|
9
11
|
name: string;
|
|
10
12
|
properties: {};
|
|
11
13
|
items: string;
|
|
12
14
|
};
|
|
13
15
|
readonly ServerVariable: NodeType;
|
|
14
16
|
readonly ServerVariablesMap: {
|
|
17
|
+
description?: string;
|
|
18
|
+
documentationLink?: string;
|
|
15
19
|
name: string;
|
|
16
20
|
properties: {};
|
|
17
21
|
additionalProperties: () => string;
|
|
18
22
|
};
|
|
19
23
|
readonly Method: NodeType;
|
|
20
24
|
readonly MethodList: {
|
|
25
|
+
description?: string;
|
|
26
|
+
documentationLink?: string;
|
|
21
27
|
name: string;
|
|
22
28
|
properties: {};
|
|
23
29
|
items: string;
|
|
24
30
|
};
|
|
25
31
|
readonly ContentDescriptor: NodeType;
|
|
26
32
|
readonly ContentDescriptorList: {
|
|
33
|
+
description?: string;
|
|
34
|
+
documentationLink?: string;
|
|
27
35
|
name: string;
|
|
28
36
|
properties: {};
|
|
29
37
|
items: string;
|
|
30
38
|
};
|
|
31
39
|
readonly ExamplePairing: NodeType;
|
|
32
40
|
readonly ExamplePairingList: {
|
|
41
|
+
description?: string;
|
|
42
|
+
documentationLink?: string;
|
|
33
43
|
name: string;
|
|
34
44
|
properties: {};
|
|
35
45
|
items: string;
|
|
36
46
|
};
|
|
37
47
|
readonly Example: NodeType;
|
|
38
48
|
readonly ExampleList: {
|
|
49
|
+
description?: string;
|
|
50
|
+
documentationLink?: string;
|
|
39
51
|
name: string;
|
|
40
52
|
properties: {};
|
|
41
53
|
items: string;
|
|
42
54
|
};
|
|
43
55
|
readonly Link: NodeType;
|
|
44
56
|
readonly LinkList: {
|
|
57
|
+
description?: string;
|
|
58
|
+
documentationLink?: string;
|
|
45
59
|
name: string;
|
|
46
60
|
properties: {};
|
|
47
61
|
items: string;
|
|
48
62
|
};
|
|
49
63
|
readonly ErrorObject: NodeType;
|
|
50
64
|
readonly ErrorList: {
|
|
65
|
+
description?: string;
|
|
66
|
+
documentationLink?: string;
|
|
51
67
|
name: string;
|
|
52
68
|
properties: {};
|
|
53
69
|
items: string;
|
|
@@ -55,6 +71,8 @@ export declare const OpenRpcTypes: {
|
|
|
55
71
|
readonly Components: NodeType;
|
|
56
72
|
readonly Tag: NodeType;
|
|
57
73
|
readonly TagList: {
|
|
74
|
+
description?: string;
|
|
75
|
+
documentationLink?: string;
|
|
58
76
|
name: string;
|
|
59
77
|
properties: {};
|
|
60
78
|
items: string;
|
|
@@ -66,36 +84,50 @@ export declare const OpenRpcTypes: {
|
|
|
66
84
|
readonly DiscriminatorMapping: NodeType;
|
|
67
85
|
readonly Discriminator: NodeType;
|
|
68
86
|
readonly NamedContentDescriptors: {
|
|
87
|
+
description?: string;
|
|
88
|
+
documentationLink?: string;
|
|
69
89
|
name: string;
|
|
70
90
|
properties: {};
|
|
71
91
|
additionalProperties: () => string;
|
|
72
92
|
};
|
|
73
93
|
readonly NamedSchemas: {
|
|
94
|
+
description?: string;
|
|
95
|
+
documentationLink?: string;
|
|
74
96
|
name: string;
|
|
75
97
|
properties: {};
|
|
76
98
|
additionalProperties: () => string;
|
|
77
99
|
};
|
|
78
100
|
readonly NamedExamples: {
|
|
101
|
+
description?: string;
|
|
102
|
+
documentationLink?: string;
|
|
79
103
|
name: string;
|
|
80
104
|
properties: {};
|
|
81
105
|
additionalProperties: () => string;
|
|
82
106
|
};
|
|
83
107
|
readonly NamedLinks: {
|
|
108
|
+
description?: string;
|
|
109
|
+
documentationLink?: string;
|
|
84
110
|
name: string;
|
|
85
111
|
properties: {};
|
|
86
112
|
additionalProperties: () => string;
|
|
87
113
|
};
|
|
88
114
|
readonly NamedErrors: {
|
|
115
|
+
description?: string;
|
|
116
|
+
documentationLink?: string;
|
|
89
117
|
name: string;
|
|
90
118
|
properties: {};
|
|
91
119
|
additionalProperties: () => string;
|
|
92
120
|
};
|
|
93
121
|
readonly NamedExamplePairingObjects: {
|
|
122
|
+
description?: string;
|
|
123
|
+
documentationLink?: string;
|
|
94
124
|
name: string;
|
|
95
125
|
properties: {};
|
|
96
126
|
additionalProperties: () => string;
|
|
97
127
|
};
|
|
98
128
|
readonly NamedTags: {
|
|
129
|
+
description?: string;
|
|
130
|
+
documentationLink?: string;
|
|
99
131
|
name: string;
|
|
100
132
|
properties: {};
|
|
101
133
|
additionalProperties: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openrpc.d.ts","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"openrpc.d.ts","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAyX1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCf,CAAC"}
|