@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.
Files changed (89) hide show
  1. package/lib/config/group-assertion-rules.d.ts.map +1 -1
  2. package/lib/config/group-assertion-rules.js +2 -1
  3. package/lib/config/group-assertion-rules.js.map +1 -1
  4. package/lib/config/utils.js +1 -1
  5. package/lib/config/utils.js.map +1 -1
  6. package/lib/oas-types.d.ts +190 -0
  7. package/lib/oas-types.d.ts.map +1 -1
  8. package/lib/rules/arazzo/parameters-unique.d.ts.map +1 -1
  9. package/lib/rules/arazzo/parameters-unique.js +1 -3
  10. package/lib/rules/arazzo/parameters-unique.js.map +1 -1
  11. package/lib/rules/arazzo/step-onFailure-unique.d.ts.map +1 -1
  12. package/lib/rules/arazzo/step-onFailure-unique.js +1 -3
  13. package/lib/rules/arazzo/step-onFailure-unique.js.map +1 -1
  14. package/lib/rules/arazzo/step-onSuccess-unique.d.ts.map +1 -1
  15. package/lib/rules/arazzo/step-onSuccess-unique.js +1 -3
  16. package/lib/rules/arazzo/step-onSuccess-unique.js.map +1 -1
  17. package/lib/rules/catalog-entity/entity-key-valid.d.ts.map +1 -1
  18. package/lib/rules/catalog-entity/entity-key-valid.js +2 -1
  19. package/lib/rules/catalog-entity/entity-key-valid.js.map +1 -1
  20. package/lib/rules/common/assertions/asserts.js +1 -1
  21. package/lib/rules/common/assertions/asserts.js.map +1 -1
  22. package/lib/rules/common/assertions/index.d.ts.map +1 -1
  23. package/lib/rules/common/assertions/index.js +2 -1
  24. package/lib/rules/common/assertions/index.js.map +1 -1
  25. package/lib/rules/common/no-invalid-parameter-examples.d.ts.map +1 -1
  26. package/lib/rules/common/no-invalid-parameter-examples.js +3 -2
  27. package/lib/rules/common/no-invalid-parameter-examples.js.map +1 -1
  28. package/lib/rules/common/no-invalid-schema-examples.js +1 -1
  29. package/lib/rules/common/no-invalid-schema-examples.js.map +1 -1
  30. package/lib/rules/common/path-params-defined.d.ts +1 -1
  31. package/lib/rules/common/path-params-defined.d.ts.map +1 -1
  32. package/lib/rules/common/path-params-defined.js +2 -1
  33. package/lib/rules/common/path-params-defined.js.map +1 -1
  34. package/lib/rules/oas3/no-invalid-media-type-examples.d.ts.map +1 -1
  35. package/lib/rules/oas3/no-invalid-media-type-examples.js +2 -1
  36. package/lib/rules/oas3/no-invalid-media-type-examples.js.map +1 -1
  37. package/lib/rules/other/stats.d.ts.map +1 -1
  38. package/lib/rules/other/stats.js +8 -6
  39. package/lib/rules/other/stats.js.map +1 -1
  40. package/lib/rules/utils.js +1 -1
  41. package/lib/rules/utils.js.map +1 -1
  42. package/lib/types/arazzo.d.ts.map +1 -1
  43. package/lib/types/arazzo.js +196 -44
  44. package/lib/types/arazzo.js.map +1 -1
  45. package/lib/types/asyncapi2.d.ts.map +1 -1
  46. package/lib/types/asyncapi2.js +307 -57
  47. package/lib/types/asyncapi2.js.map +1 -1
  48. package/lib/types/asyncapi3.d.ts +1 -1
  49. package/lib/types/asyncapi3.d.ts.map +1 -1
  50. package/lib/types/asyncapi3.js +213 -48
  51. package/lib/types/asyncapi3.js.map +1 -1
  52. package/lib/types/index.d.ts +18 -2
  53. package/lib/types/index.d.ts.map +1 -1
  54. package/lib/types/index.js +4 -2
  55. package/lib/types/index.js.map +1 -1
  56. package/lib/types/oas2.d.ts +22 -0
  57. package/lib/types/oas2.d.ts.map +1 -1
  58. package/lib/types/oas3.d.ts +44 -0
  59. package/lib/types/oas3.d.ts.map +1 -1
  60. package/lib/types/oas3.js +344 -70
  61. package/lib/types/oas3.js.map +1 -1
  62. package/lib/types/oas3_1.d.ts +46 -0
  63. package/lib/types/oas3_1.d.ts.map +1 -1
  64. package/lib/types/oas3_1.js +37 -29
  65. package/lib/types/oas3_1.js.map +1 -1
  66. package/lib/types/oas3_2.d.ts +46 -0
  67. package/lib/types/oas3_2.d.ts.map +1 -1
  68. package/lib/types/oas3_2.js +96 -23
  69. package/lib/types/oas3_2.js.map +1 -1
  70. package/lib/types/openrpc.d.ts +32 -0
  71. package/lib/types/openrpc.d.ts.map +1 -1
  72. package/lib/types/openrpc.js +200 -46
  73. package/lib/types/openrpc.js.map +1 -1
  74. package/lib/types/overlay.d.ts.map +1 -1
  75. package/lib/types/overlay.js +31 -7
  76. package/lib/types/overlay.js.map +1 -1
  77. package/lib/types/redocly-yaml.d.ts +1 -1
  78. package/lib/types/redocly-yaml.d.ts.map +1 -1
  79. package/lib/types/redocly-yaml.js +150 -38
  80. package/lib/types/redocly-yaml.js.map +1 -1
  81. package/lib/typings/openapi.d.ts.map +1 -1
  82. package/lib/utils/read-file-from-url.js +1 -1
  83. package/lib/utils/read-file-from-url.js.map +1 -1
  84. package/lib/visitors.js +1 -1
  85. package/lib/visitors.js.map +1 -1
  86. package/lib/walk.d.ts.map +1 -1
  87. package/lib/walk.js +2 -1
  88. package/lib/walk.js.map +1 -1
  89. package/package.json +2 -2
@@ -2,7 +2,10 @@ import { listOf, mapOf } from './index.js';
2
2
  import { Schema, SchemaProperties, Dependencies, DiscriminatorMapping, Discriminator, } from './json-schema-draft7.shared.js';
3
3
  const Root = {
4
4
  properties: {
5
- openrpc: { type: 'string' },
5
+ openrpc: {
6
+ type: 'string',
7
+ description: 'REQUIRED. This string MUST be the semantic version number of the OpenRPC Specification version that the OpenRPC document uses. The openrpc field SHOULD be used by tooling specifications and clients to interpret the OpenRPC document. This is not related to the API info.version string.',
8
+ },
6
9
  info: 'Info',
7
10
  servers: 'ServerList',
8
11
  methods: 'MethodList',
@@ -11,68 +14,132 @@ const Root = {
11
14
  },
12
15
  required: ['openrpc', 'info', 'methods'],
13
16
  extensionsPrefix: 'x-',
17
+ description: 'This is the root object of the OpenRPC document. The contents of this object represent a whole OpenRPC document. How this object is constructed or stored is outside the scope of the OpenRPC Specification.',
14
18
  };
15
19
  const Info = {
16
20
  properties: {
17
- title: { type: 'string' },
18
- description: { type: 'string' },
19
- termsOfService: { type: 'string' },
21
+ title: {
22
+ type: 'string',
23
+ description: 'REQUIRED. The title of the application.',
24
+ },
25
+ description: {
26
+ type: 'string',
27
+ description: 'A verbose description of the application. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
28
+ },
29
+ termsOfService: {
30
+ type: 'string',
31
+ description: 'A URL to the Terms of Service for the API. MUST be in the format of a URL.',
32
+ },
20
33
  contact: 'Contact',
21
34
  license: 'License',
22
- version: { type: 'string' },
35
+ version: {
36
+ type: 'string',
37
+ description: 'REQUIRED. The version of the OpenRPC document (which is distinct from the OpenRPC Specification version or the API implementation version).',
38
+ },
23
39
  },
24
40
  required: ['title', 'version'],
25
41
  extensionsPrefix: 'x-',
42
+ description: 'REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required.',
26
43
  };
27
44
  const Contact = {
28
45
  properties: {
29
- name: { type: 'string' },
30
- url: { type: 'string' },
31
- email: { type: 'string' },
46
+ name: {
47
+ type: 'string',
48
+ description: 'The identifying name of the contact person/organization.',
49
+ },
50
+ url: {
51
+ type: 'string',
52
+ description: 'The URL pointing to the contact information. MUST be in the format of a URL.',
53
+ },
54
+ email: {
55
+ type: 'string',
56
+ description: 'The email address of the contact person/organization. MUST be in the format of an email address.',
57
+ },
32
58
  },
33
59
  extensionsPrefix: 'x-',
60
+ description: 'Contact information for the exposed API.',
34
61
  };
35
62
  const License = {
36
63
  properties: {
37
- name: { type: 'string' },
38
- url: { type: 'string' },
64
+ name: {
65
+ type: 'string',
66
+ description: 'REQUIRED. The license name used for the API.',
67
+ },
68
+ url: {
69
+ type: 'string',
70
+ description: 'A URL to the license used for the API. MUST be in the format of a URL.',
71
+ },
39
72
  },
40
73
  required: ['name'],
41
74
  extensionsPrefix: 'x-',
75
+ description: 'License information for the exposed API.',
42
76
  };
43
77
  const Server = {
44
78
  properties: {
45
- url: { type: 'string' },
46
- name: { type: 'string' },
47
- description: { type: 'string' },
48
- summary: { type: 'string' },
79
+ url: {
80
+ type: 'string',
81
+ description: 'REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenRPC document is being served. Server Variables are passed into the Runtime Expression to produce a server URL.',
82
+ },
83
+ name: {
84
+ type: 'string',
85
+ description: 'REQUIRED. A name to be used as the canonical name for the server.',
86
+ },
87
+ description: {
88
+ type: 'string',
89
+ description: 'An optional string describing the host designated by the URL. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
90
+ },
91
+ summary: {
92
+ type: 'string',
93
+ description: 'A short summary of what the server is.',
94
+ },
49
95
  variables: 'ServerVariablesMap',
50
96
  },
51
97
  required: ['url'],
52
98
  extensionsPrefix: 'x-',
99
+ description: 'An object representing a Server.',
53
100
  };
54
101
  const ServerVariable = {
55
102
  properties: {
56
103
  enum: {
57
104
  type: 'array',
58
105
  items: { type: 'string' },
106
+ description: 'An enumeration of string values to be used if the substitution options are from a limited set.',
107
+ },
108
+ default: {
109
+ type: 'string',
110
+ description: `REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. Note this behavior is different than the Schema Object’s treatment of default values, because in those cases parameter values are optional.`,
111
+ },
112
+ description: {
113
+ type: 'string',
114
+ description: 'An optional description for the server variable. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
59
115
  },
60
- default: { type: 'string' },
61
- description: { type: 'string' },
62
116
  },
63
117
  required: ['default'],
64
118
  extensionsPrefix: 'x-',
119
+ description: 'An object representing a Server Variable for server URL template substitution.',
65
120
  };
66
121
  const Method = {
67
122
  properties: {
68
- name: { type: 'string' },
123
+ name: {
124
+ type: 'string',
125
+ description: 'REQUIRED. The cannonical name for the method. The name MUST be unique within the methods array.',
126
+ },
69
127
  tags: 'TagList',
70
- summary: { type: 'string' },
71
- description: { type: 'string' },
128
+ summary: {
129
+ type: 'string',
130
+ description: 'A short summary of what the method does.',
131
+ },
132
+ description: {
133
+ type: 'string',
134
+ description: 'A verbose explanation of the method behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
135
+ },
72
136
  externalDocs: 'ExternalDocs',
73
137
  params: 'ContentDescriptorList',
74
138
  result: 'ContentDescriptor',
75
- deprecated: { type: 'boolean' },
139
+ deprecated: {
140
+ type: 'boolean',
141
+ description: 'Declares this method to be deprecated. Consumers SHOULD refrain from usage of the declared method. Default value is false.',
142
+ },
76
143
  servers: 'ServerList',
77
144
  errors: 'ErrorList',
78
145
  links: 'LinkList',
@@ -81,59 +148,128 @@ const Method = {
81
148
  },
82
149
  required: ['name', 'params'],
83
150
  extensionsPrefix: 'x-',
151
+ description: 'Describes the interface for the given method name. The method name is used as the method field of the JSON-RPC body. It therefore MUST be unique.',
84
152
  };
85
153
  const ContentDescriptor = {
86
154
  properties: {
87
- name: { type: 'string' },
88
- summary: { type: 'string' },
89
- description: { type: 'string' },
90
- required: { type: 'boolean' },
155
+ name: {
156
+ type: 'string',
157
+ description: 'REQUIRED. Name of the content that is being described. If the content described is a method parameter assignable by-name, this field SHALL define the parameter’s key (ie name).',
158
+ },
159
+ summary: {
160
+ type: 'string',
161
+ description: 'A short summary of the content that is being described.',
162
+ },
163
+ description: {
164
+ type: 'string',
165
+ description: `A verbose explanation of the content descriptor behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.`,
166
+ },
167
+ required: {
168
+ type: 'boolean',
169
+ description: 'Determines if the content is a required field. Default value is false.',
170
+ },
91
171
  schema: 'Schema',
92
- deprecated: { type: 'boolean' },
172
+ deprecated: {
173
+ type: 'boolean',
174
+ description: 'Specifies that the content is deprecated and SHOULD be transitioned out of usage. Default value is false.',
175
+ },
93
176
  },
94
177
  required: ['name', 'schema'],
95
178
  extensionsPrefix: 'x-',
179
+ description: 'Content Descriptors are objects that do just as they suggest - describe content. They are reusable ways of describing either parameters or result. They MUST have a schema.',
96
180
  };
97
181
  const ExamplePairing = {
98
182
  properties: {
99
- name: { type: 'string' },
100
- description: { type: 'string' },
101
- summary: { type: 'string' },
183
+ name: {
184
+ type: 'string',
185
+ description: 'REQUIRED Name for the example pairing.',
186
+ },
187
+ description: {
188
+ type: 'string',
189
+ description: 'A verbose explanation of the example pairing.',
190
+ },
191
+ summary: {
192
+ type: 'string',
193
+ description: 'Short description for the example pairing.',
194
+ },
102
195
  params: 'ExampleList',
103
196
  result: 'Example',
104
197
  },
105
198
  extensionsPrefix: 'x-',
199
+ description: 'The Example Pairing object consists of a set of example params and result. The result is what you can expect from the JSON-RPC service given the exact params.',
106
200
  };
107
201
  const Example = {
108
202
  properties: {
109
- name: { type: 'string' },
110
- summary: { type: 'string' },
111
- description: { type: 'string' },
112
- value: { resolvable: false },
113
- externalValue: { type: 'string' },
203
+ name: {
204
+ type: 'string',
205
+ description: 'Cannonical name of the example.',
206
+ },
207
+ summary: {
208
+ type: 'string',
209
+ description: 'Short description for the example.',
210
+ },
211
+ description: {
212
+ type: 'string',
213
+ description: 'A verbose explanation of the example. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
214
+ },
215
+ value: {
216
+ resolvable: false,
217
+ description: 'Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON, use a string value to contain the example, escaping where necessary.',
218
+ },
219
+ externalValue: {
220
+ type: 'string',
221
+ description: 'A URL that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON documents. The value field and externalValue field are mutually exclusive.',
222
+ },
114
223
  },
115
224
  extensionsPrefix: 'x-',
225
+ description: 'The Example object is an object that defines an example that is intended to match the schema of a given Content Descriptor.',
116
226
  };
117
227
  const Link = {
118
228
  properties: {
119
- name: { type: 'string' },
120
- description: { type: 'string' },
121
- summary: { type: 'string' },
122
- method: { type: 'string' },
123
- params: { type: 'object' }, // Map[string, Any | Runtime Expression]
229
+ name: {
230
+ type: 'string',
231
+ description: 'REQUIRED. Canonical name of the link.',
232
+ },
233
+ description: {
234
+ type: 'string',
235
+ description: 'A description of the link. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
236
+ },
237
+ summary: {
238
+ type: 'string',
239
+ description: 'Short description for the link.',
240
+ },
241
+ method: {
242
+ type: 'string',
243
+ description: 'The name of an existing, resolvable OpenRPC method, as defined with a unique method. This field MUST resolve to a unique Method Object. As opposed to Open Api, Relative method values ARE NOT permitted.',
244
+ },
245
+ params: {
246
+ type: 'object',
247
+ description: 'A map representing parameters to pass to a method as specified with method. The key is the parameter name to be used, whereas the value can be a constant or a runtime expression to be evaluated and passed to the linked method.',
248
+ }, // Map[string, Any | Runtime Expression]
124
249
  server: 'Server',
125
250
  },
126
251
  required: ['name'],
127
252
  extensionsPrefix: 'x-',
253
+ description: 'The Link object represents a possible design-time link for a result. The presence of a link does not guarantee the caller’s ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between results and other methods.',
128
254
  };
129
255
  const ErrorObject = {
130
256
  properties: {
131
- code: { type: 'integer' },
132
- message: { type: 'string' },
133
- data: { resolvable: false },
257
+ code: {
258
+ type: 'integer',
259
+ description: 'REQUIRED. A Number that indicates the error type that occurred. This MUST be an integer. The error codes from and including -32768 to -32000 are reserved for pre-defined errors. These pre-defined errors SHOULD be assumed to be returned from any JSON-RPC api.',
260
+ },
261
+ message: {
262
+ type: 'string',
263
+ description: 'REQUIRED. A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.',
264
+ },
265
+ data: {
266
+ resolvable: false,
267
+ description: 'A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).',
268
+ },
134
269
  },
135
270
  required: ['code', 'message'],
136
271
  extensionsPrefix: 'x-',
272
+ description: 'Defines an application level error.',
137
273
  };
138
274
  const Components = {
139
275
  properties: {
@@ -146,24 +282,42 @@ const Components = {
146
282
  tags: 'NamedTags',
147
283
  },
148
284
  extensionsPrefix: 'x-',
285
+ description: 'Holds a set of reusable objects for different aspects of the OpenRPC. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.',
149
286
  };
150
287
  const Tag = {
151
288
  properties: {
152
- name: { type: 'string' },
153
- summary: { type: 'string' },
154
- description: { type: 'string' },
289
+ name: {
290
+ type: 'string',
291
+ description: 'REQUIRED. The name of the tag.',
292
+ },
293
+ summary: {
294
+ type: 'string',
295
+ description: 'A short summary of the tag.',
296
+ },
297
+ description: {
298
+ type: 'string',
299
+ description: 'A verbose explanation for the tag. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
300
+ },
155
301
  externalDocs: 'ExternalDocs',
156
302
  },
157
303
  required: ['name'],
158
304
  extensionsPrefix: 'x-',
305
+ description: 'Adds metadata to a single tag that is used by the Method Object. It is not mandatory to have a Tag Object per tag defined in the Method Object instances.',
159
306
  };
160
307
  const ExternalDocs = {
161
308
  properties: {
162
- description: { type: 'string' },
163
- url: { type: 'string' },
309
+ description: {
310
+ type: 'string',
311
+ description: 'A verbose explanation of the target documentation. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
312
+ },
313
+ url: {
314
+ type: 'string',
315
+ description: 'REQUIRED. The URL for the target documentation. Value MUST be in the format of a URL.',
316
+ },
164
317
  },
165
318
  required: ['url'],
166
319
  extensionsPrefix: 'x-',
320
+ description: 'Allows referencing an external resource for extended documentation.',
167
321
  };
168
322
  export const OpenRpcTypes = {
169
323
  Root,
@@ -1 +1 @@
1
- {"version":3,"file":"openrpc.js","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,aAAa,GACd,MAAM,gCAAgC,CAAC;AAExC,MAAM,IAAI,GAAa;IACrB,UAAU,EAAE;QACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,YAAY;QACrB,UAAU,EAAE,YAAY;QACxB,YAAY,EAAE,cAAc;KAC7B;IACD,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC;IACxC,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,MAAM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AI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,MAAM;IACN,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC5B,cAAc;IACd,kBAAkB,EAAE,KAAK,CAAC,gBAAgB,CAAC;IAC3C,MAAM;IACN,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC5B,iBAAiB;IACjB,qBAAqB,EAAE,MAAM,CAAC,mBAAmB,CAAC;IAClD,cAAc;IACd,kBAAkB,EAAE,MAAM,CAAC,gBAAgB,CAAC;IAC5C,OAAO;IACP,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC;IAC9B,IAAI;IACJ,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;IACxB,WAAW;IACX,SAAS,EAAE,MAAM,CAAC,aAAa,CAAC;IAChC,UAAU;IACV,GAAG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC;IACtB,YAAY;IACZ,MAAM;IACN,gBAAgB;IAChB,YAAY;IACZ,oBAAoB;IACpB,aAAa;IACb,uBAAuB,EAAE,KAAK,CAAC,mBAAmB,CAAC;IACnD,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC7B,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC;IACzB,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,0BAA0B,EAAE,KAAK,CAAC,gBAAgB,CAAC;IACnD,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC;CACf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,YAAY,CAAC;AAkCnD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAKlD,CAAC"}
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,YAAY,CAAC;AAgEnD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAKlD,CAAC"}
@@ -1,32 +1,56 @@
1
1
  import { listOf } from './index.js';
2
2
  const Root = {
3
3
  properties: {
4
- overlay: { type: 'string' },
4
+ overlay: {
5
+ type: 'string',
6
+ description: 'REQUIRED. This string MUST be the version number of the Overlay Specification that the Overlay document uses. The overlay field SHOULD be used by tooling to interpret the Overlay document.',
7
+ },
5
8
  info: 'Info',
6
- extends: { type: 'string' },
9
+ extends: {
10
+ type: 'string',
11
+ description: 'URI reference that identifies the target document (such as an [OpenAPI] document) this overlay applies to.',
12
+ },
7
13
  actions: 'Actions',
8
14
  },
9
15
  required: ['overlay', 'info', 'actions'],
10
16
  extensionsPrefix: 'x-',
17
+ description: 'This is the root object of the Overlay.',
11
18
  };
12
19
  const Info = {
13
20
  properties: {
14
- title: { type: 'string' },
15
- version: { type: 'string' },
21
+ title: {
22
+ type: 'string',
23
+ description: 'REQUIRED. A human readable description of the purpose of the overlay.',
24
+ },
25
+ version: {
26
+ type: 'string',
27
+ description: 'REQUIRED. A version identifer for indicating changes to the Overlay document.',
28
+ },
16
29
  },
17
30
  required: ['title', 'version'],
18
31
  extensionsPrefix: 'x-',
32
+ description: 'The object provides metadata about the Overlay. The metadata MAY be used by the clients if needed.',
19
33
  };
20
34
  const Actions = listOf('Action');
21
35
  const Action = {
22
36
  properties: {
23
- target: { type: 'string' },
24
- description: { type: 'string' },
37
+ target: {
38
+ type: 'string',
39
+ description: 'REQUIRED A JSONPath expression selecting nodes in the target document.',
40
+ },
41
+ description: {
42
+ type: 'string',
43
+ description: 'A description of the action. [CommonMark] syntax MAY be used for rich text representation.',
44
+ },
25
45
  update: {}, // any
26
- remove: { type: 'boolean' },
46
+ remove: {
47
+ type: 'boolean',
48
+ description: 'A boolean value that indicates that the target object or array MUST be removed from the the map or array it is contained in. The default value is false.',
49
+ },
27
50
  },
28
51
  required: ['target'],
29
52
  extensionsPrefix: 'x-',
53
+ description: 'This object represents one or more changes to be applied to the target document at the location defined by the target JSONPath expression',
30
54
  };
31
55
  export const Overlay1Types = {
32
56
  Root,
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.js","sourceRoot":"","sources":["../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,MAAM,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,IAAI,GAAa;IACrB,UAAU,EAAE;QACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC;IACxC,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,MAAM,IAAI,GAAa;IACrB,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC5B;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;IAC9B,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,MAAM,OAAO,GAAa,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC3C,MAAM,MAAM,GAAa;IACvB,UAAU,EAAE;QACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,MAAM,EAAE,EAAE,EAAE,MAAM;QAClB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC5B;IACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;IACpB,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA6B;IACrD,I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C;IACpB,gBAAgB,EAAE,IAAI;IACtB,WAAW,EACT,2IAA2I;CAC9I,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA6B;IACrD,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,MAAM;CACP,CAAC"}
@@ -21,7 +21,7 @@ export declare function createConfigTypes(extraSchemas: JSONSchema, config?: Con
21
21
  'rootRedoclyConfigSchema.scorecard.levels_items': NodeType;
22
22
  ConfigRoot: NodeType;
23
23
  ConfigApisProperties: NodeType;
24
- AssertionDefinitionSubject: NodeType;
24
+ Subject: NodeType;
25
25
  };
26
26
  export declare const ConfigTypes: Record<string, NodeType>;
27
27
  export declare const NormalizedConfigTypes: Record<string, import("./index.js").NormalizedNodeType>;
@@ -1 +1 @@
1
- {"version":3,"file":"redocly-yaml.d.ts","sourceRoot":"","sources":["../../src/types/redocly-yaml.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAY,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAuB,MAAM,oBAAoB,CAAC;AAEtE,QAAA,MAAM,gBAAgB,ulCA2CZ,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEhE,QAAA,MAAM,gBAAgB,smDA4DZ,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEhE,QAAA,MAAM,kBAAkB,iSAYd,CAAC;AAEX,QAAA,MAAM,kBAAkB,iSAYd,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEpE,QAAA,MAAM,mBAAmB,olBAqBf,CAAC;AAEX,MAAM,MAA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