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/configuration/config-modification.md
+31-3Lines changed: 31 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,10 @@ interface ConfigInterface {
30
30
parserOptions?:ParserOptions;
31
31
publishLabel?:string;
32
32
subscribeLabel?:string;
33
+
sendLabel?:string;
34
+
receiveLabel?:string;
35
+
requestLabel?:string;
36
+
replyLabel?:string;
33
37
}
34
38
```
35
39
@@ -61,14 +65,34 @@ interface ConfigInterface {
61
65
62
66
-**publishLabel?: string**
63
67
64
-
This field contains configuration responsible for customizing the label for publish operations.
65
-
This field is set to `PUB` by default.
68
+
This field contains configuration responsible for customizing the label for publish operations.This take effect for AsyncAPI v2 documents.
69
+
This field is set to `PUB` by default.
66
70
67
71
-**subscribeLabel?: string**
68
72
69
-
This field contains configuration responsible for customizing the label for subscribe operations.
73
+
This field contains configuration responsible for customizing the label for subscribe operations. This take effect for AsyncAPI v2 documents.
70
74
This field is set to `SUB` by default.
71
75
76
+
-**sendLabel?: string**
77
+
78
+
This field contains configuration responsible for customizing the label for send operation. This takes effect when rendering AsyncAPI v3 documents.
79
+
This field is set to `SEND` by default.
80
+
81
+
-**receiveLabel?: string**
82
+
83
+
This field contains configuration responsible for customizing the label for receive operation. This takes effect when rendering AsyncAPI v3 documents.
84
+
This field is set to `RECEIVE` by default.
85
+
86
+
-**requestLabel?: string**
87
+
88
+
This field contains configuration responsible for customizing the label for request operation. This takes effect when rendering AsyncAPI v3 documents.
89
+
This field is set to `REQUEST` by default.
90
+
91
+
-**replyLabel?: string**
92
+
93
+
This field contains configuration responsible for customizing the label for response operation. This takes effect when rendering AsyncAPI v3 documents.
94
+
This field is set to `REPLY` by default.
95
+
72
96
## Examples
73
97
74
98
See exemplary component configuration in TypeScript and JavaScript.
@@ -154,5 +178,9 @@ In the above examples, after concatenation with the default configuration, the r
0 commit comments