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: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1030,6 +1030,17 @@ respective service operation handler.
1030
1030
The operation parameter structure can be either modelled according to the Cloud Event specification using the attributes as parameter names or
1031
1031
mapped via annotations like `@websocket.cloudevent.<annotation>` or `@ws.cloudevent.<annotation>` to a Cloud Event compatible structure.
1032
1032
1033
+
The following annotations are respected:
1034
+
1035
+
- **Operation level**:
1036
+
- `@websocket.cloudevent.<attribute>: <value>`
1037
+
- Type: `any` (according to Cloud Event JSON format)
1038
+
- Provide static cloud event attribute value, according to cloud event specification
1039
+
- **Operation parameter level**:
1040
+
- `@websocket.cloudevent.<attribute>`
1041
+
- Type: `Boolean`
1042
+
- Value from operation parameter for the annotated element is used as dynamic cloud event attribute value, according to cloud event attribute specification
1043
+
1033
1044
**Examples:**
1034
1045
1035
1046
**Model Operation Parameters:**
@@ -1061,17 +1072,6 @@ action sendCloudEventMap(
1061
1072
) returns Boolean;
1062
1073
```
1063
1074
1064
-
The following annotations are respected:
1065
-
1066
-
- **Operation level**:
1067
-
- `@websocket.cloudevent.<attribute>: <value>`
1068
-
- Type: `any` (according to Cloud Event JSON format)
1069
-
- Provide static cloud event attribute value, according to cloud event specification
1070
-
- **Operation parameter level**:
1071
-
- `@websocket.cloudevent.<attribute>`
1072
-
- Type: `Boolean`
1073
-
- Value from operation parameter for the annotated element is used as dynamic cloud event attribute value, according to cloud event attribute specification
1074
-
1075
1075
Unmapped operation parameters are consumed as cloud event data section and can be skipped for cloud event data section
0 commit comments