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
The generated schema is currently not a complete replica of the AsyncAPI spec. See https://www.asyncapi.com/docs/reference/specification/v2.6.0 for the complete specification.
50
50
Some key differences:
51
-
- We utilize three custom fields: "capabilities", "events", and "status".
52
-
- "capabilities" contains a dictionary: the keys of this dictionary are capability names. The values are dictionaries with the "description" property being a string which describes the capability,
53
-
and a "channels" property which more closely follows the AsyncAPI specification of the top-level value "channels".
54
-
- "events" is a key-value dictionary: the keys represent the event name, the values represent the associated schema of the event type. Events are currently shared across all capabilities.
55
-
- "status" will have a value of the status schema - if no status has been defined, a null schema is used.
51
+
- We utilize three custom fields: "capabilities", "events", and "status".
52
+
- "capabilities" contains a dictionary: the keys of this dictionary are capability names. The values are dictionaries with the "description" property being a string which describes the capability,
53
+
and a "channels" property which more closely follows the AsyncAPI specification of the top-level value "channels".
54
+
- "events" is a key-value dictionary: the keys represent the event name, the values represent the associated schema of the event type. Events are currently shared across all capabilities.
55
+
- "status" will have a value of the status schema - if no status has been defined, a null schema is used.
56
56
57
57
Params:
58
58
- capability_types - list of classes (not objects) of capabilities. We do not require capabilities to be instantiated here, in case the instantiation of a capability has external dependencies.
0 commit comments