@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 { Oas3_2Types } from './oas3_2.js';
3
3
  const Root = {
4
4
  properties: {
5
- arazzo: { type: 'string' },
5
+ arazzo: {
6
+ type: 'string',
7
+ description: 'REQUIRED. This string MUST be the version number of the Arazzo Specification that the Arazzo Description uses. The arazzo field MUST be used by tooling to interpret the Arazzo Description.',
8
+ },
6
9
  info: 'Info',
7
10
  sourceDescriptions: 'SourceDescriptions',
8
11
  workflows: 'Workflows',
@@ -35,13 +38,26 @@ const Components = {
35
38
  const NamedInputs = mapOf('Schema');
36
39
  const Info = {
37
40
  properties: {
38
- title: { type: 'string' },
39
- description: { type: 'string' },
40
- summary: { type: 'string' },
41
- version: { type: 'string' },
41
+ title: {
42
+ type: 'string',
43
+ description: 'REQUIRED. A human readable title of the Arazzo Description.',
44
+ },
45
+ description: {
46
+ type: 'string',
47
+ description: 'A description of the purpose of the workflows defined. CommonMark syntax MAY be used for rich text representation.',
48
+ },
49
+ summary: {
50
+ type: 'string',
51
+ description: 'A short summary of the Arazzo Description.',
52
+ },
53
+ version: {
54
+ type: 'string',
55
+ description: 'REQUIRED. The version identifier of the Arazzo document (which is distinct from the Arazzo Specification version).',
56
+ },
42
57
  },
43
58
  required: ['title', 'version'],
44
59
  extensionsPrefix: 'x-',
60
+ description: 'The object provides metadata about API workflows defined in this Arazzo document. The metadata MAY be used by the clients if needed.',
45
61
  };
46
62
  const SourceDescriptions = {
47
63
  properties: {},
@@ -56,39 +72,73 @@ const SourceDescriptions = {
56
72
  };
57
73
  const OpenAPISourceDescription = {
58
74
  properties: {
59
- name: { type: 'string' },
60
- type: { type: 'string', enum: ['openapi'] },
61
- url: { type: 'string' },
75
+ name: {
76
+ type: 'string',
77
+ description: `REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
78
+ },
79
+ type: {
80
+ type: 'string',
81
+ enum: ['openapi'],
82
+ description: 'The type of source description. Possible values are "openapi".',
83
+ },
84
+ url: {
85
+ type: 'string',
86
+ description: 'REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.',
87
+ },
62
88
  'x-serverUrl': { type: 'string' },
63
89
  },
64
90
  required: ['name', 'type', 'url'],
65
91
  extensionsPrefix: 'x-',
92
+ description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
66
93
  };
67
94
  const ArazzoSourceDescription = {
68
95
  properties: {
69
- name: { type: 'string' },
70
- type: { type: 'string', enum: ['arazzo'] },
71
- url: { type: 'string' },
96
+ name: {
97
+ type: 'string',
98
+ description: `REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
99
+ },
100
+ type: {
101
+ type: 'string',
102
+ enum: ['arazzo'],
103
+ description: 'The type of source description. Possible values are "arazzo".',
104
+ },
105
+ url: {
106
+ type: 'string',
107
+ description: 'REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.',
108
+ },
72
109
  },
73
110
  required: ['name', 'type', 'url'],
74
111
  extensionsPrefix: 'x-',
112
+ description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
75
113
  };
76
114
  const ReusableObject = {
77
115
  properties: {
78
- reference: { type: 'string' },
116
+ reference: {
117
+ type: 'string',
118
+ description: 'REQUIRED. A Runtime Expression used to reference the desired object.',
119
+ },
79
120
  value: {}, // any
80
121
  },
81
122
  required: ['reference'],
82
123
  extensionsPrefix: 'x-',
124
+ description: 'A simple object to allow referencing of objects contained within the Components Object. It can be used from locations within steps or workflows in the Arazzo Description. Note - Input Objects MUST use standard JSON Schema referencing via the $ref keyword while all non JSON Schema objects use this object and its expression based referencing mechanism.',
83
125
  };
84
126
  const Parameter = {
85
127
  properties: {
86
- in: { type: 'string', enum: ['header', 'query', 'path', 'cookie'] },
87
- name: { type: 'string' },
128
+ in: {
129
+ type: 'string',
130
+ enum: ['header', 'query', 'path', 'cookie'],
131
+ description: 'The location of the parameter. Possible values are "path", "query", "header", or "cookie". When the step in context specifies a workflowId, then all parameters map to workflow inputs. In all other scenarios (e.g., a step specifies an operationId), the in field MUST be specified.',
132
+ },
133
+ name: {
134
+ type: 'string',
135
+ description: 'REQUIRED. The name of the parameter. Parameter names are case sensitive.',
136
+ },
88
137
  value: {}, // any
89
138
  },
90
139
  required: ['name', 'value'],
91
140
  extensionsPrefix: 'x-',
141
+ description: 'Describes a single step parameter. A unique parameter is defined by the combination of a name and in fields.',
92
142
  };
93
143
  const Parameters = {
94
144
  properties: {},
@@ -103,11 +153,24 @@ const Parameters = {
103
153
  };
104
154
  const Workflow = {
105
155
  properties: {
106
- workflowId: { type: 'string' },
107
- summary: { type: 'string' },
108
- description: { type: 'string' },
156
+ workflowId: {
157
+ type: 'string',
158
+ description: 'REQUIRED. The unique identifier of the workflow.',
159
+ },
160
+ summary: {
161
+ type: 'string',
162
+ description: 'A short summary of what the workflow does.',
163
+ },
164
+ description: {
165
+ type: 'string',
166
+ description: 'A verbose explanation of the workflow behavior. CommonMark syntax MAY be used for rich text representation.',
167
+ },
109
168
  parameters: 'Parameters',
110
- dependsOn: { type: 'array', items: { type: 'string' } },
169
+ dependsOn: {
170
+ type: 'array',
171
+ items: { type: 'string' },
172
+ description: 'A list of workflows that MUST be completed before this workflow can be processed. Each value provided MUST be a workflowId.',
173
+ },
111
174
  inputs: 'Schema',
112
175
  outputs: 'Outputs',
113
176
  steps: 'Steps',
@@ -117,18 +180,36 @@ const Workflow = {
117
180
  },
118
181
  required: ['workflowId', 'steps'],
119
182
  extensionsPrefix: 'x-',
183
+ description: 'Describes the steps to be taken across one or more APIs to achieve an objective. The workflow object MAY define inputs needed in order to execute workflow steps, where the defined steps represent a call to an API operation or another workflow, and a set of outputs.',
120
184
  };
121
185
  const Workflows = listOf('Workflow');
122
186
  const Steps = listOf('Step');
123
187
  const Step = {
124
188
  properties: {
125
- stepId: { type: 'string' },
126
- description: { type: 'string' },
127
- operationId: { type: 'string' },
128
- operationPath: { type: 'string' },
129
- workflowId: { type: 'string' },
189
+ stepId: {
190
+ type: 'string',
191
+ description: `REQUIRED. Unique string to represent the step. The stepId MUST be unique amongst all steps described in the workflow. The stepId value is case-sensitive. Tools and libraries MAY use the stepId to uniquely identify a workflow step, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
192
+ },
193
+ description: {
194
+ type: 'string',
195
+ description: 'A description of the step. CommonMark syntax MAY be used for rich text representation.',
196
+ },
197
+ operationId: {
198
+ type: 'string',
199
+ description: 'The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions. The referenced operation will be invoked by this workflow step. If multiple (non arazzo type) sourceDescriptions are defined, then the operationId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<operationId>) to avoid ambiguity or potential clashes. This field is mutually exclusive of the operationPath and workflowId fields respectively.',
200
+ },
201
+ operationPath: {
202
+ type: 'string',
203
+ description: 'A reference to a Source Description Object combined with a JSON Pointer to reference an operation. This field is mutually exclusive of the operationId and workflowId fields respectively. The operation being referenced MUST be described within one of the sourceDescriptions descriptions. A Runtime Expression syntax MUST be used to identify the source description document. If the referenced operation has an operationId defined then the operationId SHOULD be preferred over the operationPath.',
204
+ },
205
+ workflowId: {
206
+ type: 'string',
207
+ description: 'The workflowId referencing an existing workflow within the Arazzo Description. If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. The field is mutually exclusive of the operationId and operationPath fields respectively.',
208
+ },
130
209
  parameters: 'Parameters',
131
- successCriteria: listOf('CriterionObject'),
210
+ successCriteria: listOf('CriterionObject', {
211
+ description: 'A list of assertions to determine the success of the step. Each assertion is described using a Criterion Object. All assertions MUST be satisfied for the step to be deemed successful.',
212
+ }),
132
213
  onSuccess: 'OnSuccessActionList',
133
214
  onFailure: 'OnFailureActionList',
134
215
  outputs: 'Outputs',
@@ -139,42 +220,61 @@ const Step = {
139
220
  required: ['stepId'],
140
221
  requiredOneOf: ['x-operation', 'operationId', 'operationPath', 'workflowId'],
141
222
  extensionsPrefix: 'x-',
223
+ description: 'Describes a single workflow step which MAY be a call to an API operation (OpenAPI Operation Object) or another Workflow Object.',
142
224
  };
143
225
  const Outputs = {
144
226
  properties: {},
145
227
  additionalProperties: {
146
228
  type: 'string',
147
229
  },
230
+ description: 'A map between a friendly name and a dynamic output value defined using a Runtime Expression. The name MUST use keys that match the regular expression: ^[a-zA-Z0-9_.-]+$.',
148
231
  };
149
232
  const RequestBody = {
150
233
  properties: {
151
- contentType: { type: 'string' },
234
+ contentType: {
235
+ type: 'string',
236
+ description: 'The Content-Type for the request content. If omitted then refer to Content-Type specified at the targeted operation to understand serialization requirements.',
237
+ },
152
238
  payload: {},
153
- replacements: listOf('Replacement'),
239
+ replacements: listOf('Replacement', {
240
+ description: 'A list of locations and values to set within a payload.',
241
+ }),
154
242
  },
155
243
  required: ['payload'],
156
244
  extensionsPrefix: 'x-',
245
+ description: 'A single request body describing the Content-Type and request body content to be passed by a step to an operation.',
157
246
  };
158
247
  const Replacement = {
159
248
  properties: {
160
- target: { type: 'string' },
249
+ target: {
250
+ type: 'string',
251
+ description: 'REQUIRED. A JSON Pointer or XPath Expression which MUST be resolved against the request body. Used to identify the location to inject the value.',
252
+ },
161
253
  value: {},
162
254
  },
163
255
  required: ['target', 'value'],
164
256
  extensionsPrefix: 'x-',
257
+ description: 'Describes a location within a payload (e.g., a request body) and a value to set within the location.',
165
258
  };
166
259
  const ExtendedSecurity = {
167
260
  properties: {
168
- schemeName: { type: 'string' },
261
+ schemeName: {
262
+ type: 'string',
263
+ description: 'REQUIRED. Name of the security scheme from your OpenAPI specification. Use with operationId or operationPath at the step level.',
264
+ },
169
265
  values: {},
170
266
  scheme: 'SecurityScheme',
171
267
  },
172
268
  required: ['values'],
173
269
  requiredOneOf: ['schemeName', 'scheme'],
270
+ description: 'Use the x-security extension to define authorization flows based on OpenAPI security schemes. Respect automatically constructs appropriate authorization headers, queries, or cookies based on your parameters.',
174
271
  };
175
272
  const ExtendedOperation = {
176
273
  properties: {
177
- url: { type: 'string' },
274
+ url: {
275
+ type: 'string',
276
+ description: 'REQUIRED. A valid url including the protocol (such as http://localhost:4000/my-api or https://example.com/api/my-api).',
277
+ },
178
278
  method: {
179
279
  enum: [
180
280
  'get',
@@ -198,20 +298,31 @@ const ExtendedOperation = {
198
298
  'CONNECT',
199
299
  'QUERY',
200
300
  ],
301
+ description: 'REQUIRED. HTTP operation method. Possible values: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, CONNECT, TRACE. You can also use their lowercase equivalents.',
201
302
  },
202
303
  },
203
304
  required: ['url', 'method'],
305
+ description: 'x-operation enables you to specify a URL and HTTP method for an operation that is not described in the Arazzo sourceDescriptions section. The primary application of the x-operation extension is to facilitate calls to third-party APIs or other endpoints that are needed in a sequence of API calls.',
204
306
  };
205
307
  const CriterionObject = {
206
308
  properties: {
207
- condition: { type: 'string' },
208
- context: { type: 'string' },
309
+ condition: {
310
+ type: 'string',
311
+ description: 'REQUIRED. The condition to apply. Conditions can be simple (e.g. $statusCode == 200 which applies an operator on a value obtained from a runtime expression), or a regex, or a JSONPath expression. For regex or JSONPath, the type and context MUST be specified.',
312
+ },
313
+ context: {
314
+ type: 'string',
315
+ description: 'A Runtime Expression used to set the context for the condition to be applied on. If type is specified, then the context MUST be provided (e.g. $response.body would set the context that a JSONPath query expression could be applied to).',
316
+ },
209
317
  type: (value) => {
210
318
  if (!value) {
211
319
  return undefined;
212
320
  }
213
321
  else if (typeof value === 'string') {
214
- return { enum: ['regex', 'jsonpath', 'simple', 'xpath'] };
322
+ return {
323
+ enum: ['regex', 'jsonpath', 'simple', 'xpath'],
324
+ description: 'The type of condition to be applied.',
325
+ };
215
326
  }
216
327
  else if (value?.type === 'jsonpath') {
217
328
  return 'JSONPathCriterion';
@@ -222,6 +333,7 @@ const CriterionObject = {
222
333
  },
223
334
  },
224
335
  required: ['condition'],
336
+ description: 'An object used to specify the context, conditions, and condition types that can be used to prove or satisfy assertions specified in Step Object successCriteria, Success Action Object criteria, and Failure Action Object criteria.',
225
337
  };
226
338
  const JSONPathCriterion = {
227
339
  properties: {
@@ -237,13 +349,29 @@ const XPathCriterion = {
237
349
  };
238
350
  const SuccessActionObject = {
239
351
  properties: {
240
- name: { type: 'string' },
241
- type: { type: 'string', enum: ['goto', 'end'] },
242
- stepId: { type: 'string' },
243
- workflowId: { type: 'string' },
244
- criteria: listOf('CriterionObject'),
352
+ name: {
353
+ type: 'string',
354
+ description: 'REQUIRED. The name of the success action. Names are case sensitive.',
355
+ },
356
+ type: {
357
+ type: 'string',
358
+ enum: ['goto', 'end'],
359
+ description: 'REQUIRED. The type of action to take. Possible values are "end" or "goto".',
360
+ },
361
+ stepId: {
362
+ type: 'string',
363
+ description: 'The stepId to transfer to upon success of the step. This field is only relevant when the type field value is "goto". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId.',
364
+ },
365
+ workflowId: {
366
+ type: 'string',
367
+ description: 'The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon success of the step. This field is only relevant when the type field value is "goto". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId.',
368
+ },
369
+ criteria: listOf('CriterionObject', {
370
+ description: 'A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object. All criteria assertions MUST be satisfied for the action to be executed.',
371
+ }),
245
372
  },
246
373
  required: ['type', 'name'],
374
+ description: 'A single success action which describes an action to take upon success of a workflow step.',
247
375
  };
248
376
  const OnSuccessActionList = {
249
377
  properties: {},
@@ -258,15 +386,39 @@ const OnSuccessActionList = {
258
386
  };
259
387
  const FailureActionObject = {
260
388
  properties: {
261
- name: { type: 'string' },
262
- type: { type: 'string', enum: ['goto', 'retry', 'end'] },
263
- workflowId: { type: 'string' },
264
- stepId: { type: 'string' },
265
- retryAfter: { type: 'number', minimum: 0 },
266
- retryLimit: { type: 'number', minimum: 0 },
267
- criteria: listOf('CriterionObject'),
389
+ name: {
390
+ type: 'string',
391
+ description: 'REQUIRED. The name of the failure action. Names are case sensitive.',
392
+ },
393
+ type: {
394
+ type: 'string',
395
+ enum: ['goto', 'retry', 'end'],
396
+ description: 'REQUIRED. The type of action to take. Possible values are "end", "retry", or "goto".',
397
+ },
398
+ workflowId: {
399
+ type: 'string',
400
+ description: 'The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId. When used with "retry", context transfers back upon completion of the specified workflow.',
401
+ },
402
+ stepId: {
403
+ type: 'string',
404
+ description: 'The stepId to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId. When used with "retry", context transfers back upon completion of the specified step.',
405
+ },
406
+ retryAfter: {
407
+ type: 'number',
408
+ minimum: 0,
409
+ description: 'A non-negative decimal indicating the seconds to delay after the step failure before another attempt SHALL be made. Note: if an HTTP Retry-After response header was returned to a step from a targeted operation, then it SHOULD overrule this particular field value. This field only applies when the type field value is "retry".',
410
+ },
411
+ retryLimit: {
412
+ type: 'number',
413
+ minimum: 0,
414
+ description: 'A non-negative integer indicating how many attempts to retry the step MAY be attempted before failing the overall step. If not specified then a single retry SHALL be attempted. This field only applies when the type field value is "retry". The retryLimit MUST be exhausted prior to executing subsequent failure actions.',
415
+ },
416
+ criteria: listOf('CriterionObject', {
417
+ description: 'A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object.',
418
+ }),
268
419
  },
269
420
  required: ['type', 'name'],
421
+ description: 'A single failure action which describes an action to take upon failure of a workflow step.',
270
422
  };
271
423
  const OnFailureActionList = {
272
424
  properties: {},
@@ -1 +1 @@
1
- {"version":3,"file":"arazzo.js","sourceRoot":"","sources":["../../src/types/arazzo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,IAAI,GAAa;IACrB,UAAU,EAAE;QACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,IAAI,EAAE,MAAM;QACZ,kBAAkB,EAAE,oBAAoB;QACxC,SAAS,EAAE,WAAW;QACtB,UAAU,EAAE,YAAY;KACzB;IACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM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BAAiB,EAAE,WAAW,CAAC,iBAAiB;IAChD,iBAAiB,EAAE,WAAW,CAAC,iBAAiB;IAChD,mBAAmB,EAAE,WAAW,CAAC,mBAAmB;CACrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"asyncapi2.d.ts","sourceRoot":"","sources":["../../src/types/asyncapi2.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA8D3C,eAAO,MAAM,GAAG,EAAE,QAOjB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAM1B,CAAC;AAkDF,eAAO,MAAM,SAAS,EAAE,QAKvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,QAc5B,CAAC;AAcF,eAAO,MAAM,OAAO,EAAE,QAMrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,QAMrB,CAAC;AAUF,eAAO,MAAM,aAAa,EAAE,QAM3B,CAAC;AAoIF,eAAO,MAAM,cAAc,EAAE,QAO5B,CAAC;AA0DF,eAAO,MAAM,mBAAmB,EAAE,QAOjC,CAAC;AAyeF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA8EtD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAiDnD,CAAC"}
1
+ {"version":3,"file":"asyncapi2.d.ts","sourceRoot":"","sources":["../../src/types/asyncapi2.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA4E3C,eAAO,MAAM,GAAG,EAAE,QAYjB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAe1B,CAAC;AAuEF,eAAO,MAAM,SAAS,EAAE,QAKvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,QA0B5B,CAAC;AA+BF,eAAO,MAAM,OAAO,EAAE,QAkBrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,QAcrB,CA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