Skip to content

Commit

Permalink
Moving titles to the right place for async classes
Browse files Browse the repository at this point in the history
I guess this was a typo

Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
  • Loading branch information
fjtirado committed Jan 27, 2025
1 parent 9de4c03 commit ba0e578
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1710,23 +1710,24 @@ $defs:
title: AsyncApiMessageConsumptionPolicyFor
description: Specifies the time period over which messages will be consumed.
oneOf:

- properties:
amount:
type: integer
title: AsyncApiMessageConsumptionPolicyAmount
description: The amount of (filtered) messages to consume before disposing of the subscription.
title: AsyncApiMessageConsumptionPolicyAmount
required: [ amount ]
- properties:
while:
$ref: '#/$defs/runtimeExpression'
title: AsyncApiMessageConsumptionPolicyWhile
description: A runtime expression evaluated after each consumed (filtered) message to decide if message consumption should continue.
title: AsyncApiMessageConsumptionPolicyWhile
required: [ while ]
- properties:
until:
$ref: '#/$defs/runtimeExpression'
title: AsyncApiMessageConsumptionPolicyUntil
description: A runtime expression evaluated before each consumed (filtered) message to decide if message consumption should continue.
title: AsyncApiMessageConsumptionPolicyUntil
required: [ until ]
subscriptionIterator:
type: object
Expand Down

0 comments on commit ba0e578

Please sign in to comment.