diff --git a/springwolf-ui/src/app/components/new/channels/channels.component.html b/springwolf-ui/src/app/components/new/channels/channels.component.html
index 7ee69ca09..b213b6100 100644
--- a/springwolf-ui/src/app/components/new/channels/channels.component.html
+++ b/springwolf-ui/src/app/components/new/channels/channels.component.html
@@ -3,6 +3,22 @@
Channels
@for (channel of channels; track channel) {
{{ channel.name }}
+
+
+
+
Channel Binding
+
+
+
+
@for (channelOperation of channel.operations; track channelOperation) {
{
this.channels = asyncapi.channels;
});
+
+ this.uiService.isShowBindings$.subscribe(
+ (value) => (this.isShowBindings = value)
+ );
}
}
diff --git a/springwolf-ui/src/app/service/asyncapi/asyncapi-mapper.service.ts b/springwolf-ui/src/app/service/asyncapi/asyncapi-mapper.service.ts
index 7739f8041..b7444f50c 100644
--- a/springwolf-ui/src/app/service/asyncapi/asyncapi-mapper.service.ts
+++ b/springwolf-ui/src/app/service/asyncapi/asyncapi-mapper.service.ts
@@ -258,7 +258,7 @@ export class AsyncApiMapperService {
"message of channel " + channelName,
() => {
const messageId = this.resolveRefId(operationMessage.$ref);
- const channelMessage = channel.messages[messageId];
+ const channelMessage = channel.messages!![messageId];
const channelMessageId = this.resolveRefId(channelMessage.$ref);
const message = messages[channelMessageId];
diff --git a/springwolf-ui/src/app/service/asyncapi/models/channels.model.ts b/springwolf-ui/src/app/service/asyncapi/models/channels.model.ts
index caae40d9f..0a538c6dc 100644
--- a/springwolf-ui/src/app/service/asyncapi/models/channels.model.ts
+++ b/springwolf-ui/src/app/service/asyncapi/models/channels.model.ts
@@ -8,7 +8,7 @@ export interface ServerChannels {
export interface ServerChannel {
address: string;
description?: string;
- messages: {
+ messages?: {
[key: string]: {
$ref: string;
};