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
@@ -785,7 +787,7 @@ Renders a list of core WebSocket client methods for a given target language.
785
787
786
788
### Returns
787
789
788
-
-**JSX.Element** - A Text Component that contains a list of core client methods.
790
+
-**JSX.Element** - A Text component that contains a list of core client methods.
789
791
790
792
791
793
@@ -816,7 +818,7 @@ Renders the Installation Command for a given language.
816
818
817
819
### Returns
818
820
819
-
-**JSX.Element** - A Text Component that contains Installation Command.
821
+
-**JSX.Element** - A Text component that contains Installation Command.
820
822
821
823
822
824
@@ -847,7 +849,7 @@ Renders Message Examples of a given AsyncAPI operation.
847
849
848
850
### Returns
849
851
850
-
-**React.ReactNode** - A Text Component that contains message examples, or null when no examples exist.
852
+
-**JSX.Element** - A Text component that contains message examples, or null when no examples exist.
851
853
852
854
853
855
@@ -872,6 +874,7 @@ async function renderMessageExamples(){
872
874
)
873
875
});
874
876
}
877
+
875
878
renderMessageExamples().catch(console.error);
876
879
```
877
880
@@ -893,7 +896,7 @@ Renders a header section for a single AsyncAPI operation.
893
896
894
897
### Returns
895
898
896
-
-**JSX.Element** - A Text Component that contains formatted operation header.
899
+
-**JSX.Element** - A Text component that contains formatted operation header.
897
900
898
901
899
902
@@ -918,6 +921,7 @@ async function renderOperationHeader(){
918
921
)
919
922
});
920
923
}
924
+
921
925
renderOperationHeader().catch(console.error);
922
926
```
923
927
@@ -942,7 +946,7 @@ Displays the API description, version, and server URL.
942
946
943
947
### Returns
944
948
945
-
-**JSX.Element** - A Text Component that contains the Overview of a Websocket client.
949
+
-**JSX.Element** - A Text component that contains the Overview of a Websocket client.
946
950
947
951
948
952
@@ -974,6 +978,7 @@ async function renderOverview(){
974
978
/>
975
979
)
976
980
}
981
+
977
982
renderOverview().catch(console.error);
978
983
```
979
984
@@ -1031,6 +1036,7 @@ async function renderReadme(){
1031
1036
/>
1032
1037
)
1033
1038
}
1039
+
1034
1040
renderReadme().catch(console.error);
1035
1041
```
1036
1042
@@ -1097,7 +1103,7 @@ Renders a WebSocket error handler registration method with optional pre- and pos
1097
1103
1098
1104
### Returns
1099
1105
1100
-
-**JSX.Element** - Rendered method block with appropriate formatting.
1106
+
-**JSX.Element** - A Text component that contains method block with appropriate formatting.
1101
1107
1102
1108
1103
1109
@@ -1145,7 +1151,7 @@ Renders a WebSocket message handler registration method with optional pre- and p
1145
1151
1146
1152
### Returns
1147
1153
1148
-
-**JSX.Element** - Rendered method block with appropriate formatting.
1154
+
-**JSX.Element** - A Text component that contains method block with appropriate formatting.
1149
1155
1150
1156
1151
1157
@@ -1173,7 +1179,7 @@ return (
1173
1179
1174
1180
<aname="SendOperations"></a>
1175
1181
## **SendOperations()**
1176
-
Component for rendering WebSocket send operation methods.
1182
+
Renders WebSocket send operation methods.
1177
1183
Generates both static and instance methods for sending messages through WebSocket connections.
1178
1184
1179
1185
@@ -1190,7 +1196,7 @@ Generates both static and instance methods for sending messages through WebSocke
1190
1196
1191
1197
### Returns
1192
1198
1193
-
-**Array.<React.ReactNode>** - Array of Text components for static and non-static WebSocket send operation methods, or null if no send operations are provided.
1199
+
-**Array.<JSX.Element>** - Array of Text components for static and non-static WebSocket send operation methods, or null if no send operations are provided.
1194
1200
1195
1201
1196
1202
@@ -1221,6 +1227,7 @@ async function renderSendOperations(){
0 commit comments