Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit b302b75

Browse files
timonbackstavshamir
authored andcommitted
feat: Switch anchorIdentifier property order
1 parent 60ff15d commit b302b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/asyncapi-mapper.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class AsyncApiMapperService {
112112
const operation = this.mapOperation(operationType, message, serverOperation.bindings)
113113
return {
114114
name: topicName,
115-
anchorIdentifier: CHANNEL_ANCHOR_PREFIX + topicName + "-" + operation.protocol + "-" + operationType,
115+
anchorIdentifier: CHANNEL_ANCHOR_PREFIX + [operation.protocol, topicName, operation.operation].join( "-"),
116116
description: description,
117117
operation: operation,
118118
}

0 commit comments

Comments
 (0)