@redocly/openapi-core 0.0.0-snapshot.1769415576 → 0.0.0-snapshot.1769422714

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 (59) hide show
  1. package/lib/config/config.d.ts +5 -2
  2. package/lib/config/config.d.ts.map +1 -1
  3. package/lib/config/config.js +36 -2
  4. package/lib/config/config.js.map +1 -1
  5. package/lib/config/load.d.ts +4 -2
  6. package/lib/config/load.d.ts.map +1 -1
  7. package/lib/config/load.js +41 -2
  8. package/lib/config/load.js.map +1 -1
  9. package/lib/config/types.d.ts +5 -0
  10. package/lib/config/types.d.ts.map +1 -1
  11. package/lib/index.d.ts +3 -3
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +2 -2
  14. package/lib/index.js.map +1 -1
  15. package/lib/oas-types.d.ts +0 -190
  16. package/lib/oas-types.d.ts.map +1 -1
  17. package/lib/ref-utils.d.ts +2 -0
  18. package/lib/ref-utils.d.ts.map +1 -1
  19. package/lib/ref-utils.js +16 -1
  20. package/lib/ref-utils.js.map +1 -1
  21. package/lib/types/arazzo.d.ts.map +1 -1
  22. package/lib/types/arazzo.js +44 -210
  23. package/lib/types/arazzo.js.map +1 -1
  24. package/lib/types/asyncapi2.d.ts.map +1 -1
  25. package/lib/types/asyncapi2.js +57 -385
  26. package/lib/types/asyncapi2.js.map +1 -1
  27. package/lib/types/asyncapi3.d.ts.map +1 -1
  28. package/lib/types/asyncapi3.js +47 -228
  29. package/lib/types/asyncapi3.js.map +1 -1
  30. package/lib/types/index.d.ts +2 -18
  31. package/lib/types/index.d.ts.map +1 -1
  32. package/lib/types/index.js +2 -4
  33. package/lib/types/index.js.map +1 -1
  34. package/lib/types/oas2.d.ts +0 -22
  35. package/lib/types/oas2.d.ts.map +1 -1
  36. package/lib/types/oas3.d.ts +0 -44
  37. package/lib/types/oas3.d.ts.map +1 -1
  38. package/lib/types/oas3.js +70 -345
  39. package/lib/types/oas3.js.map +1 -1
  40. package/lib/types/oas3_1.d.ts +0 -46
  41. package/lib/types/oas3_1.d.ts.map +1 -1
  42. package/lib/types/oas3_1.js +29 -38
  43. package/lib/types/oas3_1.js.map +1 -1
  44. package/lib/types/oas3_2.d.ts +0 -46
  45. package/lib/types/oas3_2.d.ts.map +1 -1
  46. package/lib/types/oas3_2.js +23 -101
  47. package/lib/types/oas3_2.js.map +1 -1
  48. package/lib/types/openrpc.d.ts +0 -32
  49. package/lib/types/openrpc.d.ts.map +1 -1
  50. package/lib/types/openrpc.js +46 -215
  51. package/lib/types/openrpc.js.map +1 -1
  52. package/lib/types/overlay.d.ts.map +1 -1
  53. package/lib/types/overlay.js +7 -34
  54. package/lib/types/overlay.js.map +1 -1
  55. package/lib/types/redocly-yaml.d.ts +1 -1
  56. package/lib/types/redocly-yaml.d.ts.map +1 -1
  57. package/lib/types/redocly-yaml.js +38 -150
  58. package/lib/types/redocly-yaml.js.map +1 -1
  59. package/package.json +1 -1
@@ -2,10 +2,7 @@ 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: {
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
- },
5
+ openrpc: { type: 'string' },
9
6
  info: 'Info',
10
7
  servers: 'ServerList',
11
8
  methods: 'MethodList',
@@ -14,138 +11,68 @@ const Root = {
14
11
  },
15
12
  required: ['openrpc', 'info', 'methods'],
16
13
  extensionsPrefix: 'x-',
17
- documentationLink: 'https://spec.open-rpc.org/#openrpc-object',
18
- 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.',
19
14
  };
20
15
  const Info = {
21
16
  properties: {
22
- title: {
23
- type: 'string',
24
- description: 'REQUIRED. The title of the application.',
25
- },
26
- description: {
27
- type: 'string',
28
- description: 'A verbose description of the application. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
29
- },
30
- termsOfService: {
31
- type: 'string',
32
- description: 'A URL to the Terms of Service for the API. MUST be in the format of a URL.',
33
- },
17
+ title: { type: 'string' },
18
+ description: { type: 'string' },
19
+ termsOfService: { type: 'string' },
34
20
  contact: 'Contact',
35
21
  license: 'License',
36
- version: {
37
- type: 'string',
38
- description: 'REQUIRED. The version of the OpenRPC document (which is distinct from the OpenRPC Specification version or the API implementation version).',
39
- },
22
+ version: { type: 'string' },
40
23
  },
41
24
  required: ['title', 'version'],
42
25
  extensionsPrefix: 'x-',
43
- description: 'REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required.',
44
- documentationLink: 'https://spec.open-rpc.org/#info-object',
45
26
  };
46
27
  const Contact = {
47
28
  properties: {
48
- name: {
49
- type: 'string',
50
- description: 'The identifying name of the contact person/organization.',
51
- },
52
- url: {
53
- type: 'string',
54
- description: 'The URL pointing to the contact information. MUST be in the format of a URL.',
55
- },
56
- email: {
57
- type: 'string',
58
- description: 'The email address of the contact person/organization. MUST be in the format of an email address.',
59
- },
29
+ name: { type: 'string' },
30
+ url: { type: 'string' },
31
+ email: { type: 'string' },
60
32
  },
61
33
  extensionsPrefix: 'x-',
62
- documentationLink: 'https://spec.open-rpc.org/#contact-object',
63
- description: 'Contact information for the exposed API.',
64
34
  };
65
35
  const License = {
66
36
  properties: {
67
- name: {
68
- type: 'string',
69
- description: 'REQUIRED. The license name used for the API.',
70
- },
71
- url: {
72
- type: 'string',
73
- description: 'A URL to the license used for the API. MUST be in the format of a URL.',
74
- },
37
+ name: { type: 'string' },
38
+ url: { type: 'string' },
75
39
  },
76
40
  required: ['name'],
77
41
  extensionsPrefix: 'x-',
78
- documentationLink: 'https://spec.open-rpc.org/#license-object',
79
- description: 'License information for the exposed API.',
80
42
  };
81
43
  const Server = {
82
44
  properties: {
83
- url: {
84
- type: 'string',
85
- 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.',
86
- },
87
- name: {
88
- type: 'string',
89
- description: 'REQUIRED. A name to be used as the canonical name for the server.',
90
- },
91
- description: {
92
- type: 'string',
93
- description: 'An optional string describing the host designated by the URL. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
94
- },
95
- summary: {
96
- type: 'string',
97
- description: 'A short summary of what the server is.',
98
- },
45
+ url: { type: 'string' },
46
+ name: { type: 'string' },
47
+ description: { type: 'string' },
48
+ summary: { type: 'string' },
99
49
  variables: 'ServerVariablesMap',
100
50
  },
101
51
  required: ['url'],
102
52
  extensionsPrefix: 'x-',
103
- documentationLink: 'https://spec.open-rpc.org/#server-object',
104
- description: 'An object representing a Server.',
105
53
  };
106
54
  const ServerVariable = {
107
55
  properties: {
108
56
  enum: {
109
57
  type: 'array',
110
58
  items: { type: 'string' },
111
- description: 'An enumeration of string values to be used if the substitution options are from a limited set.',
112
- },
113
- default: {
114
- type: 'string',
115
- 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.`,
116
- },
117
- description: {
118
- type: 'string',
119
- description: 'An optional description for the server variable. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
120
59
  },
60
+ default: { type: 'string' },
61
+ description: { type: 'string' },
121
62
  },
122
63
  required: ['default'],
123
64
  extensionsPrefix: 'x-',
124
- documentationLink: 'https://spec.open-rpc.org/#server-variable-object',
125
- description: 'An object representing a Server Variable for server URL template substitution.',
126
65
  };
127
66
  const Method = {
128
67
  properties: {
129
- name: {
130
- type: 'string',
131
- description: 'REQUIRED. The cannonical name for the method. The name MUST be unique within the methods array.',
132
- },
68
+ name: { type: 'string' },
133
69
  tags: 'TagList',
134
- summary: {
135
- type: 'string',
136
- description: 'A short summary of what the method does.',
137
- },
138
- description: {
139
- type: 'string',
140
- description: 'A verbose explanation of the method behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
141
- },
70
+ summary: { type: 'string' },
71
+ description: { type: 'string' },
142
72
  externalDocs: 'ExternalDocs',
143
73
  params: 'ContentDescriptorList',
144
74
  result: 'ContentDescriptor',
145
- deprecated: {
146
- type: 'boolean',
147
- description: 'Declares this method to be deprecated. Consumers SHOULD refrain from usage of the declared method. Default value is false.',
148
- },
75
+ deprecated: { type: 'boolean' },
149
76
  servers: 'ServerList',
150
77
  errors: 'ErrorList',
151
78
  links: 'LinkList',
@@ -154,134 +81,59 @@ const Method = {
154
81
  },
155
82
  required: ['name', 'params'],
156
83
  extensionsPrefix: 'x-',
157
- documentationLink: 'https://spec.open-rpc.org/#method-object',
158
- 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.',
159
84
  };
160
85
  const ContentDescriptor = {
161
86
  properties: {
162
- name: {
163
- type: 'string',
164
- 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).',
165
- },
166
- summary: {
167
- type: 'string',
168
- description: 'A short summary of the content that is being described.',
169
- },
170
- description: {
171
- type: 'string',
172
- description: `A verbose explanation of the content descriptor behavior. GitHub Flavored Markdown syntax MAY be used for rich text representation.`,
173
- },
174
- required: {
175
- type: 'boolean',
176
- description: 'Determines if the content is a required field. Default value is false.',
177
- },
87
+ name: { type: 'string' },
88
+ summary: { type: 'string' },
89
+ description: { type: 'string' },
90
+ required: { type: 'boolean' },
178
91
  schema: 'Schema',
179
- deprecated: {
180
- type: 'boolean',
181
- description: 'Specifies that the content is deprecated and SHOULD be transitioned out of usage. Default value is false.',
182
- },
92
+ deprecated: { type: 'boolean' },
183
93
  },
184
94
  required: ['name', 'schema'],
185
95
  extensionsPrefix: 'x-',
186
- documentationLink: 'https://spec.open-rpc.org/#content-descriptor-object',
187
- 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.',
188
96
  };
189
97
  const ExamplePairing = {
190
98
  properties: {
191
- name: {
192
- type: 'string',
193
- description: 'REQUIRED Name for the example pairing.',
194
- },
195
- description: {
196
- type: 'string',
197
- description: 'A verbose explanation of the example pairing.',
198
- },
199
- summary: {
200
- type: 'string',
201
- description: 'Short description for the example pairing.',
202
- },
99
+ name: { type: 'string' },
100
+ description: { type: 'string' },
101
+ summary: { type: 'string' },
203
102
  params: 'ExampleList',
204
103
  result: 'Example',
205
104
  },
206
105
  extensionsPrefix: 'x-',
207
- documentationLink: 'https://spec.open-rpc.org/#example-pairing-object',
208
- 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.',
209
106
  };
210
107
  const Example = {
211
108
  properties: {
212
- name: {
213
- type: 'string',
214
- description: 'Cannonical name of the example.',
215
- },
216
- summary: {
217
- type: 'string',
218
- description: 'Short description for the example.',
219
- },
220
- description: {
221
- type: 'string',
222
- description: 'A verbose explanation of the example. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
223
- },
224
- value: {
225
- resolvable: false,
226
- 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.',
227
- },
228
- externalValue: {
229
- type: 'string',
230
- 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.',
231
- },
109
+ name: { type: 'string' },
110
+ summary: { type: 'string' },
111
+ description: { type: 'string' },
112
+ value: { resolvable: false },
113
+ externalValue: { type: 'string' },
232
114
  },
233
115
  extensionsPrefix: 'x-',
234
- documentationLink: 'https://spec.open-rpc.org/#example-object',
235
- description: 'The Example object is an object that defines an example that is intended to match the schema of a given Content Descriptor.',
236
116
  };
237
117
  const Link = {
238
118
  properties: {
239
- name: {
240
- type: 'string',
241
- description: 'REQUIRED. Canonical name of the link.',
242
- },
243
- description: {
244
- type: 'string',
245
- description: 'A description of the link. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
246
- },
247
- summary: {
248
- type: 'string',
249
- description: 'Short description for the link.',
250
- },
251
- method: {
252
- type: 'string',
253
- 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.',
254
- },
255
- params: {
256
- type: 'object',
257
- 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.',
258
- }, // Map[string, Any | Runtime Expression]
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]
259
124
  server: 'Server',
260
125
  },
261
126
  required: ['name'],
262
127
  extensionsPrefix: 'x-',
263
- documentationLink: 'https://spec.open-rpc.org/#link-object',
264
- 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.',
265
128
  };
266
129
  const ErrorObject = {
267
130
  properties: {
268
- code: {
269
- type: 'integer',
270
- 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.',
271
- },
272
- message: {
273
- type: 'string',
274
- description: 'REQUIRED. A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.',
275
- },
276
- data: {
277
- resolvable: false,
278
- 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.).',
279
- },
131
+ code: { type: 'integer' },
132
+ message: { type: 'string' },
133
+ data: { resolvable: false },
280
134
  },
281
135
  required: ['code', 'message'],
282
136
  extensionsPrefix: 'x-',
283
- documentationLink: 'https://spec.open-rpc.org/#error-object',
284
- description: 'Defines an application level error.',
285
137
  };
286
138
  const Components = {
287
139
  properties: {
@@ -294,45 +146,24 @@ const Components = {
294
146
  tags: 'NamedTags',
295
147
  },
296
148
  extensionsPrefix: 'x-',
297
- documentationLink: 'https://spec.open-rpc.org/#components-object',
298
- 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.',
299
149
  };
300
150
  const Tag = {
301
151
  properties: {
302
- name: {
303
- type: 'string',
304
- description: 'REQUIRED. The name of the tag.',
305
- },
306
- summary: {
307
- type: 'string',
308
- description: 'A short summary of the tag.',
309
- },
310
- description: {
311
- type: 'string',
312
- description: 'A verbose explanation for the tag. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
313
- },
152
+ name: { type: 'string' },
153
+ summary: { type: 'string' },
154
+ description: { type: 'string' },
314
155
  externalDocs: 'ExternalDocs',
315
156
  },
316
157
  required: ['name'],
317
158
  extensionsPrefix: 'x-',
318
- documentationLink: 'https://spec.open-rpc.org/#tag-object',
319
- 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.',
320
159
  };
321
160
  const ExternalDocs = {
322
161
  properties: {
323
- description: {
324
- type: 'string',
325
- description: 'A verbose explanation of the target documentation. GitHub Flavored Markdown syntax MAY be used for rich text representation.',
326
- },
327
- url: {
328
- type: 'string',
329
- description: 'REQUIRED. The URL for the target documentation. Value MUST be in the format of a URL.',
330
- },
162
+ description: { type: 'string' },
163
+ url: { type: 'string' },
331
164
  },
332
165
  required: ['url'],
333
166
  extensionsPrefix: 'x-',
334
- documentationLink: 'https://spec.open-rpc.org/#external-documentation-object',
335
- description: 'Allows referencing an external resource for extended documentation.',
336
167
  };
337
168
  export const OpenRpcTypes = {
338
169
  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,g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B,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;AAmEnD,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;AAkCnD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAKlD,CAAC"}
@@ -1,59 +1,32 @@
1
1
  import { listOf } from './index.js';
2
2
  const Root = {
3
3
  properties: {
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
- },
4
+ overlay: { type: 'string' },
8
5
  info: 'Info',
9
- extends: {
10
- type: 'string',
11
- description: 'URI reference that identifies the target document (such as an [OpenAPI] document) this overlay applies to.',
12
- },
6
+ extends: { type: 'string' },
13
7
  actions: 'Actions',
14
8
  },
15
9
  required: ['overlay', 'info', 'actions'],
16
10
  extensionsPrefix: 'x-',
17
- documentationLink: 'https://spec.openapis.org/overlay/v1.0.0.html#overlay-object',
18
- description: 'This is the root object of the Overlay.',
19
11
  };
20
12
  const Info = {
21
13
  properties: {
22
- title: {
23
- type: 'string',
24
- description: 'REQUIRED. A human readable description of the purpose of the overlay.',
25
- },
26
- version: {
27
- type: 'string',
28
- description: 'REQUIRED. A version identifer for indicating changes to the Overlay document.',
29
- },
14
+ title: { type: 'string' },
15
+ version: { type: 'string' },
30
16
  },
31
17
  required: ['title', 'version'],
32
18
  extensionsPrefix: 'x-',
33
- documentationLink: 'https://spec.openapis.org/overlay/v1.0.0.html#info-object',
34
- description: 'The object provides metadata about the Overlay. The metadata MAY be used by the clients if needed.',
35
19
  };
36
20
  const Actions = listOf('Action');
37
21
  const Action = {
38
22
  properties: {
39
- target: {
40
- type: 'string',
41
- description: 'REQUIRED A JSONPath expression selecting nodes in the target document.',
42
- },
43
- description: {
44
- type: 'string',
45
- description: 'A description of the action. [CommonMark] syntax MAY be used for rich text representation.',
46
- },
23
+ target: { type: 'string' },
24
+ description: { type: 'string' },
47
25
  update: {}, // any
48
- remove: {
49
- type: 'boolean',
50
- 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.',
51
- },
26
+ remove: { type: 'boolean' },
52
27
  },
53
28
  required: ['target'],
54
29
  extensionsPrefix: 'x-',
55
- documentationLink: 'https://spec.openapis.org/overlay/v1.0.0.html#action-object',
56
- description: 'This object represents one or more changes to be applied to the target document at the location defined by the target JSONPath expression',
57
30
  };
58
31
  export const Overlay1Types = {
59
32
  Root,
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.js","sourceRoot":"","sources":["../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,MAAM,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 @@ export declare function createConfigTypes(extraSchemas: JSONSchema, config?: Con
21
21
  'rootRedoclyConfigSchema.scorecard.levels_items': NodeType;
22
22
  ConfigRoot: NodeType;
23
23
  ConfigApisProperties: NodeType;
24
- Subject: NodeType;
24
+ AssertionDefinitionSubject: 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,MAAM,oBAAoB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAEtE,QAAA,MAAM,oBAAoB,2BAA4B,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAExE,QAA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