You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/channels.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ export default {
12
12
preset:'channels',
13
13
outputPath:'./src/__gen__/',
14
14
language:'typescript',
15
-
protocols: ['nats', 'kafka']
15
+
protocols: ['nats']
16
16
}
17
17
]
18
18
};
@@ -26,7 +26,7 @@ This is supported through the following inputs: [`asyncapi`](#inputs)
26
26
27
27
It supports the following languages; [`typescript`](#typescript)
28
28
29
-
It supports the following protocols; [`nats`](../protocols/nats.md), [`kafka`](../protocols/kafka.md), [`mqtt`](../protocols/mqtt.md)
29
+
It supports the following protocols; [`nats`](../protocols/nats.md), [`kafka`](../protocols/kafka.md), [`mqtt`](../protocols/mqtt.md), [`amqp`](../protocols/amqp.md)
30
30
31
31
## Options
32
32
These are the available options for the `channels` generator;
@@ -43,12 +43,13 @@ Depending on which protocol, these are the dependencies:
43
43
-`NATS`: https://github.com/nats-io/nats.js v2
44
44
-`Kafka`: https://github.com/tulios/kafkajs v2
45
45
-`MQTT`: https://github.com/mqttjs/MQTT.js v5
46
+
-`AMQP`: https://github.com/amqp-node/amqplib v0
46
47
47
48
For TypeScript what is generated is a single file that include functions to help easier interact with AsyncAPI channels. For example;
0 commit comments