package transformation
- Alphabetic
- Public
- All
Type Members
-
class
Async3OperationFlatteningStage extends TransformationStep
Flatten AsyncAPI 3.0 top-level operations into the 2.x channel.operations shape so that downstream resolution stages and emitters can traverse
api.endPoints.flatMap(_.operations)uniformly across spec versions.Flatten AsyncAPI 3.0 top-level operations into the 2.x channel.operations shape so that downstream resolution stages and emitters can traverse
api.endPoints.flatMap(_.operations)uniformly across spec versions.For each operation in
AsyncApi.operationswe look up the matchingEndPointinapi.endPointsby path (the channel address, set byAsync3OperationParseron the link vialink.withPath(channel.path.value())) and append the operation to itsoperationslist. We write to the api-level EndPoint, not toop.channel, becauseWebApiReferenceResolutionStagedeep-copies the link target onto each operation — mutatingop.channelwould land on an orphan copy that consumers can't reach viaapi.endPoints. Idempotent via theAsync3FlattenedOperationmarker annotation. -
class
Async3ReplyCycleDetectionStage extends TransformationStep
Walks reply.channel.operations.reply chains starting from each top-level operation and raises a violation if the same operation is reached twice along a single reply chain.
Walks reply.channel.operations.reply chains starting from each top-level operation and raises a violation if the same operation is reached twice along a single reply chain. Runs in both default and editing pipelines.
Channel references on operations and replies are deep-copies of the root channel after
WebApiReferenceResolutionStage, so theiroperationsarrays are empty. We must look up the matching root channel inapi.endPointsby path to find the operations attached to that channel (populated byAsync3OperationFlatteningStage). - class AsyncContentTypeResolutionStage extends TransformationStep
- class AsyncExamplePropagationResolutionStage extends TransformationStep with ExamplePropagationHelper
- class JsonMergePatchStage extends TransformationStep
- class ServerVariableExampleResolutionStage extends TransformationStep with ExamplePropagationHelper
Value Members
- object AsyncJsonMergePatch
- object CustomMessageExamplesMerge extends CustomMerge
- object PayloadMediaTypeMerge extends CustomMerge