@redocly/openapi-core 0.0.0-snapshot.1769439476 → 0.0.0-snapshot.1769511679

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.
Files changed (45) hide show
  1. package/lib/config/load.d.ts +1 -1
  2. package/lib/config/load.d.ts.map +1 -1
  3. package/lib/config/load.js +2 -2
  4. package/lib/config/load.js.map +1 -1
  5. package/lib/oas-types.d.ts +190 -0
  6. package/lib/oas-types.d.ts.map +1 -1
  7. package/lib/types/arazzo.d.ts.map +1 -1
  8. package/lib/types/arazzo.js +210 -44
  9. package/lib/types/arazzo.js.map +1 -1
  10. package/lib/types/asyncapi2.d.ts.map +1 -1
  11. package/lib/types/asyncapi2.js +385 -57
  12. package/lib/types/asyncapi2.js.map +1 -1
  13. package/lib/types/asyncapi3.d.ts.map +1 -1
  14. package/lib/types/asyncapi3.js +228 -47
  15. package/lib/types/asyncapi3.js.map +1 -1
  16. package/lib/types/index.d.ts +18 -2
  17. package/lib/types/index.d.ts.map +1 -1
  18. package/lib/types/index.js +4 -2
  19. package/lib/types/index.js.map +1 -1
  20. package/lib/types/oas2.d.ts +22 -0
  21. package/lib/types/oas2.d.ts.map +1 -1
  22. package/lib/types/oas3.d.ts +44 -0
  23. package/lib/types/oas3.d.ts.map +1 -1
  24. package/lib/types/oas3.js +345 -70
  25. package/lib/types/oas3.js.map +1 -1
  26. package/lib/types/oas3_1.d.ts +46 -0
  27. package/lib/types/oas3_1.d.ts.map +1 -1
  28. package/lib/types/oas3_1.js +38 -29
  29. package/lib/types/oas3_1.js.map +1 -1
  30. package/lib/types/oas3_2.d.ts +46 -0
  31. package/lib/types/oas3_2.d.ts.map +1 -1
  32. package/lib/types/oas3_2.js +101 -23
  33. package/lib/types/oas3_2.js.map +1 -1
  34. package/lib/types/openrpc.d.ts +32 -0
  35. package/lib/types/openrpc.d.ts.map +1 -1
  36. package/lib/types/openrpc.js +215 -46
  37. package/lib/types/openrpc.js.map +1 -1
  38. package/lib/types/overlay.d.ts.map +1 -1
  39. package/lib/types/overlay.js +34 -7
  40. package/lib/types/overlay.js.map +1 -1
  41. package/lib/types/redocly-yaml.d.ts +1 -1
  42. package/lib/types/redocly-yaml.d.ts.map +1 -1
  43. package/lib/types/redocly-yaml.js +150 -38
  44. package/lib/types/redocly-yaml.js.map +1 -1
  45. package/package.json +1 -1
@@ -5,31 +5,57 @@ const Root = {
5
5
  ...Oas3_1Types.Root,
6
6
  properties: {
7
7
  ...Oas3_1Types.Root.properties,
8
- $self: { type: 'string' },
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
  },
13
+ documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object',
10
14
  };
11
15
  const Tag = {
12
16
  ...Oas3_1Types.Tag,
13
17
  properties: {
14
18
  ...Oas3_1Types.Tag.properties,
15
- kind: { type: 'string' },
16
- parent: { type: 'string' },
17
- summary: { type: 'string' },
19
+ kind: {
20
+ type: 'string',
21
+ 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.',
22
+ },
23
+ parent: {
24
+ type: 'string',
25
+ 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.',
26
+ },
27
+ summary: {
28
+ type: 'string',
29
+ description: 'A short summary of the tag, used for display purposes.',
30
+ },
18
31
  },
32
+ documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#tag-object',
33
+ 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
34
  };
20
35
  const Server = {
21
36
  ...Oas3_1Types.Server,
22
37
  properties: {
23
38
  ...Oas3_1Types.Server.properties,
24
- name: { type: 'string' },
39
+ name: {
40
+ type: 'string',
41
+ description: 'An optional unique string to refer to the host designated by the URL.',
42
+ },
25
43
  },
44
+ documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#server-object',
45
+ description: 'An object representing a Server.',
26
46
  };
27
47
  const SecurityScheme = {
28
48
  ...Oas3_1Types.SecurityScheme,
29
49
  properties: {
30
50
  ...Oas3_1Types.SecurityScheme.properties,
31
- deprecated: { type: 'boolean' }, // added in OAS 3.2
32
- oauth2MetadataUrl: { type: 'string' }, // added in OAS 3.2
51
+ deprecated: {
52
+ type: 'boolean',
53
+ description: 'Declares this security scheme to be deprecated. Consumers SHOULD refrain from usage of the declared scheme. Default value is false.',
54
+ }, // added in OAS 3.2
55
+ oauth2MetadataUrl: {
56
+ type: 'string',
57
+ description: 'URL to the OAuth2 authorization server metadata [RFC8414]. TLS is required.',
58
+ }, // added in OAS 3.2
33
59
  },
34
60
  allowed(value) {
35
61
  switch (value?.type) {
@@ -122,6 +148,8 @@ const SecurityScheme = {
122
148
  ];
123
149
  }
124
150
  },
151
+ documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object',
152
+ description: 'Defines a security scheme that can be used by the operations.',
125
153
  };
126
154
  const OAuth2Flows = {
127
155
  ...Oas3_1Types.OAuth2Flows,
@@ -132,13 +160,25 @@ const OAuth2Flows = {
132
160
  };
133
161
  const DeviceAuthorization = {
134
162
  properties: {
135
- deviceAuthorizationUrl: { type: 'string' },
136
- tokenUrl: { type: 'string' },
137
- refreshUrl: { type: 'string' },
138
- scopes: mapOf('string'),
163
+ deviceAuthorizationUrl: {
164
+ type: 'string',
165
+ 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.',
166
+ },
167
+ tokenUrl: {
168
+ type: 'string',
169
+ 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.',
170
+ },
171
+ refreshUrl: {
172
+ type: 'string',
173
+ 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.',
174
+ },
175
+ scopes: mapOf('string', {
176
+ 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.',
177
+ }),
139
178
  },
140
179
  required: ['deviceAuthorizationUrl', 'tokenUrl', 'scopes'],
141
180
  extensionsPrefix: 'x-',
181
+ description: 'Configuration for the OAuth Device Authorization flow.',
142
182
  };
143
183
  const PathItem = {
144
184
  ...Oas3Types.PathItem,
@@ -152,14 +192,20 @@ const Parameter = {
152
192
  ...Oas3_1Types.Parameter,
153
193
  properties: {
154
194
  ...Oas3_1Types.Parameter.properties,
155
- in: { enum: ['query', 'header', 'path', 'cookie', 'querystring'] },
195
+ in: {
196
+ description: 'REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie".',
197
+ enum: ['query', 'header', 'path', 'cookie', 'querystring'],
198
+ },
156
199
  },
157
200
  };
158
201
  const Response = {
159
202
  ...Oas3_1Types.Response,
160
203
  properties: {
161
204
  ...Oas3_1Types.Response.properties,
162
- summary: { type: 'string' },
205
+ summary: {
206
+ type: 'string',
207
+ description: 'A short summary of the meaning of the response.',
208
+ },
163
209
  },
164
210
  };
165
211
  const MediaType = {
@@ -167,7 +213,9 @@ const MediaType = {
167
213
  properties: {
168
214
  ...Oas3_1Types.MediaType.properties,
169
215
  itemSchema: 'Schema',
170
- prefixEncoding: listOf('Encoding'),
216
+ prefixEncoding: listOf('Encoding', {
217
+ 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.',
218
+ }),
171
219
  itemEncoding: 'Encoding',
172
220
  },
173
221
  };
@@ -175,27 +223,57 @@ const Discriminator = {
175
223
  ...Oas3_1Types.Discriminator,
176
224
  properties: {
177
225
  ...Oas3_1Types.Discriminator.properties,
178
- defaultMapping: { type: 'string' },
226
+ defaultMapping: {
227
+ type: 'string',
228
+ 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.',
229
+ },
179
230
  },
180
231
  };
181
232
  const Example = {
182
233
  ...Oas3_1Types.Example,
183
234
  properties: {
184
235
  ...Oas3_1Types.Example.properties,
185
- dataValue: { resolvable: false },
186
- serializedValue: { type: 'string' },
236
+ dataValue: {
237
+ resolvable: false,
238
+ 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.',
239
+ },
240
+ serializedValue: {
241
+ type: 'string',
242
+ 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.',
243
+ },
187
244
  },
188
245
  };
189
246
  const Xml = {
190
247
  properties: {
191
- nodeType: { type: 'string', enum: ['element', 'attribute', 'text', 'cdata', 'none'] },
192
- name: { type: 'string' },
193
- namespace: { type: 'string' },
194
- prefix: { type: 'string' },
195
- attribute: { type: 'boolean' }, // Deprecated in OAS 3.2: Use nodeType: "attribute" instead
196
- wrapped: { type: 'boolean' }, // Deprecated in OAS 3.2: Use nodeType: "element" instead
248
+ nodeType: {
249
+ type: 'string',
250
+ enum: ['element', 'attribute', 'text', 'cdata', 'none'],
251
+ 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.',
252
+ },
253
+ name: {
254
+ type: 'string',
255
+ 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.',
256
+ },
257
+ namespace: {
258
+ type: 'string',
259
+ description: 'The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.',
260
+ },
261
+ prefix: {
262
+ type: 'string',
263
+ description: 'The prefix to be used for the name.',
264
+ },
265
+ attribute: {
266
+ type: 'boolean',
267
+ 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.',
268
+ },
269
+ wrapped: {
270
+ type: 'boolean',
271
+ 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.',
272
+ }, // Deprecated in OAS 3.2: Use nodeType: "element" instead
197
273
  },
198
274
  extensionsPrefix: 'x-',
275
+ documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#xml-object',
276
+ 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
277
  };
200
278
  // based on draft-2020-12
201
279
  const Schema = {
@@ -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,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC1B;CACF,CAAC;AAEF,MAAM,GAAG,GAAa;IACpB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C"}
@@ -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;AA6L1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCf,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;AAwY1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCf,CAAC"}