diff --git a/wsme/api.py b/wsme/api.py index c092da5..4ce21d2 100644 --- a/wsme/api.py +++ b/wsme/api.py @@ -68,6 +68,9 @@ class FunctionDefinition(object): #: The function arguments (list of :class:`FunctionArgument`) self.arguments = [] + #: If the body carry the datas of a single argument, its type + self.body_type = None + #: True if this function is exposed by a protocol and not in #: the api tree, which means it is not part of the api. self.protocol_specific = False