@redocly/openapi-core 0.0.0-snapshot.1769191069 → 0.0.0-snapshot.1769415576
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/oas-types.d.ts +190 -0
- package/lib/oas-types.d.ts.map +1 -1
- package/lib/types/arazzo.d.ts.map +1 -1
- package/lib/types/arazzo.js +210 -44
- package/lib/types/arazzo.js.map +1 -1
- package/lib/types/asyncapi2.d.ts.map +1 -1
- package/lib/types/asyncapi2.js +385 -57
- package/lib/types/asyncapi2.js.map +1 -1
- package/lib/types/asyncapi3.d.ts.map +1 -1
- package/lib/types/asyncapi3.js +228 -47
- package/lib/types/asyncapi3.js.map +1 -1
- package/lib/types/index.d.ts +18 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +4 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/oas2.d.ts +22 -0
- package/lib/types/oas2.d.ts.map +1 -1
- package/lib/types/oas3.d.ts +44 -0
- package/lib/types/oas3.d.ts.map +1 -1
- package/lib/types/oas3.js +345 -70
- package/lib/types/oas3.js.map +1 -1
- package/lib/types/oas3_1.d.ts +46 -0
- package/lib/types/oas3_1.d.ts.map +1 -1
- package/lib/types/oas3_1.js +38 -29
- package/lib/types/oas3_1.js.map +1 -1
- package/lib/types/oas3_2.d.ts +46 -0
- package/lib/types/oas3_2.d.ts.map +1 -1
- package/lib/types/oas3_2.js +101 -23
- package/lib/types/oas3_2.js.map +1 -1
- package/lib/types/openrpc.d.ts +32 -0
- package/lib/types/openrpc.d.ts.map +1 -1
- package/lib/types/openrpc.js +215 -46
- package/lib/types/openrpc.js.map +1 -1
- package/lib/types/overlay.d.ts.map +1 -1
- package/lib/types/overlay.js +34 -7
- package/lib/types/overlay.js.map +1 -1
- package/lib/types/redocly-yaml.d.ts +1 -1
- package/lib/types/redocly-yaml.d.ts.map +1 -1
- package/lib/types/redocly-yaml.js +150 -38
- package/lib/types/redocly-yaml.js.map +1 -1
- package/package.json +1 -1
package/lib/oas-types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oas-types.d.ts","sourceRoot":"","sources":["../src/oas-types.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,UAAU,EACV,mBAAmB,EACnB,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACb,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,YAAY,wGAUf,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,UAAU,GACV,UAAU,CAAC;AAcf,MAAM,MAAM,OAAO,CAAC,GAAG,SAAS,MAAM,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAC7D,CAAC,SAAS,UAAU,GAAG,GAAG,GAAG,MAAM,EACnC,UAAU,CACX,CAAC;AACF,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,SAAS,IAAI,OAAO,CAC9C,iBAAiB,GAAG,mBAAmB,GAAG,YAAY,EACtD,QAAQ,EACR,CAAC,CACF,CAAC;AACF,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,SAAS,IAAI,OAAO,CAC9C,iBAAiB,GAAG,mBAAmB,GAAG,YAAY,EACtD,QAAQ,EACR,CAAC,CACF,CAAC;AACF,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,SAAS,IAAI,OAAO,CAChD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arazzo.d.ts","sourceRoot":"","sources":["../../src/types/arazzo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"arazzo.d.ts","sourceRoot":"","sources":["../../src/types/arazzo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAse1D,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA+CjD,CAAC"}
|
package/lib/types/arazzo.js
CHANGED
|
@@ -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: {
|
|
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,27 @@ const Components = {
|
|
|
35
38
|
const NamedInputs = mapOf('Schema');
|
|
36
39
|
const Info = {
|
|
37
40
|
properties: {
|
|
38
|
-
title: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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.',
|
|
61
|
+
documentationLink: `https://spec.openapis.org/arazzo/latest.html#info-object`,
|
|
45
62
|
};
|
|
46
63
|
const SourceDescriptions = {
|
|
47
64
|
properties: {},
|
|
@@ -56,39 +73,77 @@ const SourceDescriptions = {
|
|
|
56
73
|
};
|
|
57
74
|
const OpenAPISourceDescription = {
|
|
58
75
|
properties: {
|
|
59
|
-
name: {
|
|
60
|
-
|
|
61
|
-
|
|
76
|
+
name: {
|
|
77
|
+
type: 'string',
|
|
78
|
+
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_-]+.`,
|
|
79
|
+
},
|
|
80
|
+
type: {
|
|
81
|
+
type: 'string',
|
|
82
|
+
enum: ['openapi'],
|
|
83
|
+
description: 'The type of source description. Possible values are "openapi".',
|
|
84
|
+
},
|
|
85
|
+
url: {
|
|
86
|
+
type: 'string',
|
|
87
|
+
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.',
|
|
88
|
+
},
|
|
62
89
|
'x-serverUrl': { type: 'string' },
|
|
63
90
|
},
|
|
64
91
|
required: ['name', 'type', 'url'],
|
|
65
92
|
extensionsPrefix: 'x-',
|
|
93
|
+
description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
|
|
94
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#source-description-object',
|
|
66
95
|
};
|
|
67
96
|
const ArazzoSourceDescription = {
|
|
68
97
|
properties: {
|
|
69
|
-
name: {
|
|
70
|
-
|
|
71
|
-
|
|
98
|
+
name: {
|
|
99
|
+
type: 'string',
|
|
100
|
+
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_-]+.`,
|
|
101
|
+
},
|
|
102
|
+
type: {
|
|
103
|
+
type: 'string',
|
|
104
|
+
enum: ['arazzo'],
|
|
105
|
+
description: 'The type of source description. Possible values are "arazzo".',
|
|
106
|
+
},
|
|
107
|
+
url: {
|
|
108
|
+
type: 'string',
|
|
109
|
+
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.',
|
|
110
|
+
},
|
|
72
111
|
},
|
|
73
112
|
required: ['name', 'type', 'url'],
|
|
74
113
|
extensionsPrefix: 'x-',
|
|
114
|
+
description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
|
|
115
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#source-description-object',
|
|
75
116
|
};
|
|
76
117
|
const ReusableObject = {
|
|
77
118
|
properties: {
|
|
78
|
-
reference: {
|
|
119
|
+
reference: {
|
|
120
|
+
type: 'string',
|
|
121
|
+
description: 'REQUIRED. A Runtime Expression used to reference the desired object.',
|
|
122
|
+
},
|
|
79
123
|
value: {}, // any
|
|
80
124
|
},
|
|
81
125
|
required: ['reference'],
|
|
82
126
|
extensionsPrefix: 'x-',
|
|
127
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#reusable-object',
|
|
128
|
+
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
129
|
};
|
|
84
130
|
const Parameter = {
|
|
85
131
|
properties: {
|
|
86
|
-
in: {
|
|
87
|
-
|
|
132
|
+
in: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
enum: ['header', 'query', 'path', 'cookie'],
|
|
135
|
+
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.',
|
|
136
|
+
},
|
|
137
|
+
name: {
|
|
138
|
+
type: 'string',
|
|
139
|
+
description: 'REQUIRED. The name of the parameter. Parameter names are case sensitive.',
|
|
140
|
+
},
|
|
88
141
|
value: {}, // any
|
|
89
142
|
},
|
|
90
143
|
required: ['name', 'value'],
|
|
91
144
|
extensionsPrefix: 'x-',
|
|
145
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#parameter-object',
|
|
146
|
+
description: 'Describes a single step parameter. A unique parameter is defined by the combination of a name and in fields.',
|
|
92
147
|
};
|
|
93
148
|
const Parameters = {
|
|
94
149
|
properties: {},
|
|
@@ -103,11 +158,24 @@ const Parameters = {
|
|
|
103
158
|
};
|
|
104
159
|
const Workflow = {
|
|
105
160
|
properties: {
|
|
106
|
-
workflowId: {
|
|
107
|
-
|
|
108
|
-
|
|
161
|
+
workflowId: {
|
|
162
|
+
type: 'string',
|
|
163
|
+
description: 'REQUIRED. The unique identifier of the workflow.',
|
|
164
|
+
},
|
|
165
|
+
summary: {
|
|
166
|
+
type: 'string',
|
|
167
|
+
description: 'A short summary of what the workflow does.',
|
|
168
|
+
},
|
|
169
|
+
description: {
|
|
170
|
+
type: 'string',
|
|
171
|
+
description: 'A verbose explanation of the workflow behavior. CommonMark syntax MAY be used for rich text representation.',
|
|
172
|
+
},
|
|
109
173
|
parameters: 'Parameters',
|
|
110
|
-
dependsOn: {
|
|
174
|
+
dependsOn: {
|
|
175
|
+
type: 'array',
|
|
176
|
+
items: { type: 'string' },
|
|
177
|
+
description: 'A list of workflows that MUST be completed before this workflow can be processed. Each value provided MUST be a workflowId.',
|
|
178
|
+
},
|
|
111
179
|
inputs: 'Schema',
|
|
112
180
|
outputs: 'Outputs',
|
|
113
181
|
steps: 'Steps',
|
|
@@ -117,18 +185,37 @@ const Workflow = {
|
|
|
117
185
|
},
|
|
118
186
|
required: ['workflowId', 'steps'],
|
|
119
187
|
extensionsPrefix: 'x-',
|
|
188
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#workflow-object',
|
|
189
|
+
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
190
|
};
|
|
121
191
|
const Workflows = listOf('Workflow');
|
|
122
192
|
const Steps = listOf('Step');
|
|
123
193
|
const Step = {
|
|
124
194
|
properties: {
|
|
125
|
-
stepId: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
195
|
+
stepId: {
|
|
196
|
+
type: 'string',
|
|
197
|
+
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_-]+.`,
|
|
198
|
+
},
|
|
199
|
+
description: {
|
|
200
|
+
type: 'string',
|
|
201
|
+
description: 'A description of the step. CommonMark syntax MAY be used for rich text representation.',
|
|
202
|
+
},
|
|
203
|
+
operationId: {
|
|
204
|
+
type: 'string',
|
|
205
|
+
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.',
|
|
206
|
+
},
|
|
207
|
+
operationPath: {
|
|
208
|
+
type: 'string',
|
|
209
|
+
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.',
|
|
210
|
+
},
|
|
211
|
+
workflowId: {
|
|
212
|
+
type: 'string',
|
|
213
|
+
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.',
|
|
214
|
+
},
|
|
130
215
|
parameters: 'Parameters',
|
|
131
|
-
successCriteria: listOf('CriterionObject'
|
|
216
|
+
successCriteria: listOf('CriterionObject', {
|
|
217
|
+
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.',
|
|
218
|
+
}),
|
|
132
219
|
onSuccess: 'OnSuccessActionList',
|
|
133
220
|
onFailure: 'OnFailureActionList',
|
|
134
221
|
outputs: 'Outputs',
|
|
@@ -139,42 +226,65 @@ const Step = {
|
|
|
139
226
|
required: ['stepId'],
|
|
140
227
|
requiredOneOf: ['x-operation', 'operationId', 'operationPath', 'workflowId'],
|
|
141
228
|
extensionsPrefix: 'x-',
|
|
229
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#step-object',
|
|
230
|
+
description: 'Describes a single workflow step which MAY be a call to an API operation (OpenAPI Operation Object) or another Workflow Object.',
|
|
142
231
|
};
|
|
143
232
|
const Outputs = {
|
|
144
233
|
properties: {},
|
|
145
234
|
additionalProperties: {
|
|
146
235
|
type: 'string',
|
|
147
236
|
},
|
|
237
|
+
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
238
|
};
|
|
149
239
|
const RequestBody = {
|
|
150
240
|
properties: {
|
|
151
|
-
contentType: {
|
|
241
|
+
contentType: {
|
|
242
|
+
type: 'string',
|
|
243
|
+
description: 'The Content-Type for the request content. If omitted then refer to Content-Type specified at the targeted operation to understand serialization requirements.',
|
|
244
|
+
},
|
|
152
245
|
payload: {},
|
|
153
|
-
replacements: listOf('Replacement'
|
|
246
|
+
replacements: listOf('Replacement', {
|
|
247
|
+
description: 'A list of locations and values to set within a payload.',
|
|
248
|
+
}),
|
|
154
249
|
},
|
|
155
250
|
required: ['payload'],
|
|
156
251
|
extensionsPrefix: 'x-',
|
|
252
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#request-body-object',
|
|
253
|
+
description: 'A single request body describing the Content-Type and request body content to be passed by a step to an operation.',
|
|
157
254
|
};
|
|
158
255
|
const Replacement = {
|
|
159
256
|
properties: {
|
|
160
|
-
target: {
|
|
257
|
+
target: {
|
|
258
|
+
type: 'string',
|
|
259
|
+
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.',
|
|
260
|
+
},
|
|
161
261
|
value: {},
|
|
162
262
|
},
|
|
163
263
|
required: ['target', 'value'],
|
|
164
264
|
extensionsPrefix: 'x-',
|
|
265
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#payload-replacement-object',
|
|
266
|
+
description: 'Describes a location within a payload (e.g., a request body) and a value to set within the location.',
|
|
165
267
|
};
|
|
166
268
|
const ExtendedSecurity = {
|
|
167
269
|
properties: {
|
|
168
|
-
schemeName: {
|
|
270
|
+
schemeName: {
|
|
271
|
+
type: 'string',
|
|
272
|
+
description: 'REQUIRED. Name of the security scheme from your OpenAPI specification. Use with operationId or operationPath at the step level.',
|
|
273
|
+
},
|
|
169
274
|
values: {},
|
|
170
275
|
scheme: 'SecurityScheme',
|
|
171
276
|
},
|
|
172
277
|
required: ['values'],
|
|
173
278
|
requiredOneOf: ['schemeName', 'scheme'],
|
|
279
|
+
documentationLink: 'https://redocly.com/docs/respect/extensions/x-security#x-security-extension',
|
|
280
|
+
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
281
|
};
|
|
175
282
|
const ExtendedOperation = {
|
|
176
283
|
properties: {
|
|
177
|
-
url: {
|
|
284
|
+
url: {
|
|
285
|
+
type: 'string',
|
|
286
|
+
description: 'REQUIRED. A valid url including the protocol (such as http://localhost:4000/my-api or https://example.com/api/my-api).',
|
|
287
|
+
},
|
|
178
288
|
method: {
|
|
179
289
|
enum: [
|
|
180
290
|
'get',
|
|
@@ -198,20 +308,32 @@ const ExtendedOperation = {
|
|
|
198
308
|
'CONNECT',
|
|
199
309
|
'QUERY',
|
|
200
310
|
],
|
|
311
|
+
description: 'REQUIRED. HTTP operation method. Possible values: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, CONNECT, TRACE. You can also use their lowercase equivalents.',
|
|
201
312
|
},
|
|
202
313
|
},
|
|
203
314
|
required: ['url', 'method'],
|
|
315
|
+
documentationLink: 'https://redocly.com/docs/respect/extensions/x-operation',
|
|
316
|
+
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
317
|
};
|
|
205
318
|
const CriterionObject = {
|
|
206
319
|
properties: {
|
|
207
|
-
condition: {
|
|
208
|
-
|
|
320
|
+
condition: {
|
|
321
|
+
type: 'string',
|
|
322
|
+
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.',
|
|
323
|
+
},
|
|
324
|
+
context: {
|
|
325
|
+
type: 'string',
|
|
326
|
+
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).',
|
|
327
|
+
},
|
|
209
328
|
type: (value) => {
|
|
210
329
|
if (!value) {
|
|
211
330
|
return undefined;
|
|
212
331
|
}
|
|
213
332
|
else if (typeof value === 'string') {
|
|
214
|
-
return {
|
|
333
|
+
return {
|
|
334
|
+
enum: ['regex', 'jsonpath', 'simple', 'xpath'],
|
|
335
|
+
description: 'The type of condition to be applied.',
|
|
336
|
+
};
|
|
215
337
|
}
|
|
216
338
|
else if (value?.type === 'jsonpath') {
|
|
217
339
|
return 'JSONPathCriterion';
|
|
@@ -222,6 +344,8 @@ const CriterionObject = {
|
|
|
222
344
|
},
|
|
223
345
|
},
|
|
224
346
|
required: ['condition'],
|
|
347
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#criterion-object',
|
|
348
|
+
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
349
|
};
|
|
226
350
|
const JSONPathCriterion = {
|
|
227
351
|
properties: {
|
|
@@ -237,13 +361,30 @@ const XPathCriterion = {
|
|
|
237
361
|
};
|
|
238
362
|
const SuccessActionObject = {
|
|
239
363
|
properties: {
|
|
240
|
-
name: {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
364
|
+
name: {
|
|
365
|
+
type: 'string',
|
|
366
|
+
description: 'REQUIRED. The name of the success action. Names are case sensitive.',
|
|
367
|
+
},
|
|
368
|
+
type: {
|
|
369
|
+
type: 'string',
|
|
370
|
+
enum: ['goto', 'end'],
|
|
371
|
+
description: 'REQUIRED. The type of action to take. Possible values are "end" or "goto".',
|
|
372
|
+
},
|
|
373
|
+
stepId: {
|
|
374
|
+
type: 'string',
|
|
375
|
+
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.',
|
|
376
|
+
},
|
|
377
|
+
workflowId: {
|
|
378
|
+
type: 'string',
|
|
379
|
+
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.',
|
|
380
|
+
},
|
|
381
|
+
criteria: listOf('CriterionObject', {
|
|
382
|
+
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.',
|
|
383
|
+
}),
|
|
245
384
|
},
|
|
246
385
|
required: ['type', 'name'],
|
|
386
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#success-action-object',
|
|
387
|
+
description: 'A single success action which describes an action to take upon success of a workflow step.',
|
|
247
388
|
};
|
|
248
389
|
const OnSuccessActionList = {
|
|
249
390
|
properties: {},
|
|
@@ -258,15 +399,40 @@ const OnSuccessActionList = {
|
|
|
258
399
|
};
|
|
259
400
|
const FailureActionObject = {
|
|
260
401
|
properties: {
|
|
261
|
-
name: {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
402
|
+
name: {
|
|
403
|
+
type: 'string',
|
|
404
|
+
description: 'REQUIRED. The name of the failure action. Names are case sensitive.',
|
|
405
|
+
},
|
|
406
|
+
type: {
|
|
407
|
+
type: 'string',
|
|
408
|
+
enum: ['goto', 'retry', 'end'],
|
|
409
|
+
description: 'REQUIRED. The type of action to take. Possible values are "end", "retry", or "goto".',
|
|
410
|
+
},
|
|
411
|
+
workflowId: {
|
|
412
|
+
type: 'string',
|
|
413
|
+
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.',
|
|
414
|
+
},
|
|
415
|
+
stepId: {
|
|
416
|
+
type: 'string',
|
|
417
|
+
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.',
|
|
418
|
+
},
|
|
419
|
+
retryAfter: {
|
|
420
|
+
type: 'number',
|
|
421
|
+
minimum: 0,
|
|
422
|
+
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".',
|
|
423
|
+
},
|
|
424
|
+
retryLimit: {
|
|
425
|
+
type: 'number',
|
|
426
|
+
minimum: 0,
|
|
427
|
+
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.',
|
|
428
|
+
},
|
|
429
|
+
criteria: listOf('CriterionObject', {
|
|
430
|
+
description: 'A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object.',
|
|
431
|
+
}),
|
|
268
432
|
},
|
|
269
433
|
required: ['type', 'name'],
|
|
434
|
+
documentationLink: 'https://spec.openapis.org/arazzo/latest.html#failure-action-object',
|
|
435
|
+
description: 'A single failure action which describes an action to take upon failure of a workflow step.',
|
|
270
436
|
};
|
|
271
437
|
const OnFailureActionList = {
|
|
272
438
|
properties: {},
|
package/lib/types/arazzo.js.map
CHANGED
|
@@ -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,
|
|
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;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,8LAA8L;SACjM;QACD,IAAI,EAAE,MAAM;QACZ,kBAAkB,EAAE,oBAAoB;QACxC,SAAS,EAAE,WAAW;QACtB,UAAU,EAAE,YAAY;KACzB;IACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB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S;IACT,cAAc;IACd,SAAS;IACT,QAAQ;IACR,KAAK;IACL,IAAI;IACJ,WAAW;IACX,WAAW;IACX,iBAAiB;IACjB,oBAAoB,EAAE,MAAM,CAAC,kBAAkB,CAAC;IAChD,gBAAgB;IAChB,OAAO;IACP,eAAe;IACf,cAAc;IACd,iBAAiB;IACjB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,MAAM,EAAE,WAAW,CAAC,MAAM;IAC1B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC;IAC7B,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,oBAAoB,EAAE,WAAW,CAAC,oBAAoB;IACtD,aAAa,EAAE,WAAW,CAAC,aAAa;IACxC,iBAAiB,EAAE,WAAW,CAAC,iBAAiB;IAChD,gBAAgB,EAAE,WAAW,CAAC,gBAAgB;IAC9C,iBAAiB,EAAE,WAAW,CAAC,gBAAgB;IAC/C,UAAU;IACV,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,mBAAmB;IACnB,GAAG,EAAE,WAAW,CAAC,GAAG;IACpB,cAAc,EAAE,WAAW,CAAC,cAAc;IAC1C,WAAW,EAAE,WAAW,CAAC,WAAW;IACpC,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,iBAAiB,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;
|
|
1
|
+
{"version":3,"file":"asyncapi2.d.ts","sourceRoot":"","sources":["../../src/types/asyncapi2.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAgF3C,eAAO,MAAM,GAAG,EAAE,QAajB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAiB1B,CAAC;AA4EF,eAAO,MAAM,SAAS,EAAE,QAKvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,QA4B5B,CAAC;AAgCF,eAAO,MAAM,OAAO,EAAE,QAmBrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,QAerB,CAAC;AAoBF,eAAO,MAAM,aAAa,EAAE,QAkB3B,CAAC;AA8NF,eAAO,MAAM,cAAc,EAAE,QAuB5B,CAAC;AA8DF,eAAO,MAAM,mBAAmB,EAAE,QAOjC,CAAC;AA0nBF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA8EtD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAiDnD,CAAC"}
|