@@ -172,9 +172,6 @@ $defs:
172172 description :
173173 description : A description of the step. CommonMark syntax MAY be used for rich text representation
174174 type : string
175- operationId :
176- description : The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions
177- type : string
178175 timeout :
179176 description : The duration in milliseconds to wait before timing out the step
180177 type : integer
@@ -233,29 +230,28 @@ $defs:
233230 - $ref : ' #/$defs/selector-object'
234231 required :
235232 - stepId
233+ operation-step-parameters :
234+ type : array
235+ uniqueItems : true
236+ items :
237+ oneOf :
238+ - $ref : ' #/$defs/reusable-object'
239+ - $ref : ' #/$defs/parameter-object'
240+ required :
241+ - in
236242 openapi-step-object :
237243 allOf :
238244 - $ref : ' #/$defs/step-object-base'
239245 - type : object
240246 properties :
247+ operationId :
248+ description : The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions
249+ type : string
241250 operationPath :
242251 description : A reference to a Source combined with a JSON Pointer to reference an operation
243252 type : string
244- - if :
245- oneOf :
246- - required :
247- - operationPath
248- - required :
249- - operationId
250- then :
251- properties :
252- parameters :
253- items :
254- oneOf :
255- - $ref : ' #/$defs/reusable-object'
256- - $ref : ' #/$defs/parameter-object'
257- required :
258- - in
253+ parameters :
254+ $ref : ' #/$defs/operation-step-parameters'
259255 - oneOf :
260256 - required :
261257 - operationId
@@ -268,6 +264,9 @@ $defs:
268264 - $ref : ' #/$defs/step-object-base'
269265 - type : object
270266 properties :
267+ operationId :
268+ description : The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions
269+ type : string
271270 channelPath :
272271 description : A reference to a Source combined with a JSON Pointer to reference an async channel
273272 type : string
@@ -284,23 +283,10 @@ $defs:
284283 enum :
285284 - send
286285 - receive
286+ parameters :
287+ $ref : ' #/$defs/operation-step-parameters'
287288 required :
288289 - action
289- - if :
290- oneOf :
291- - required :
292- - operationId
293- - required :
294- - channelPath
295- then :
296- properties :
297- parameters :
298- items :
299- oneOf :
300- - $ref : ' #/$defs/reusable-object'
301- - $ref : ' #/$defs/parameter-object'
302- required :
303- - in
304290 - if :
305291 required :
306292 - correlationId
0 commit comments