diff --git a/jsonmodels/builders.py b/jsonmodels/builders.py index 7274e11..077a03c 100644 --- a/jsonmodels/builders.py +++ b/jsonmodels/builders.py @@ -90,6 +90,7 @@ def build_definition(self, add_defintitions=True): ) schema = { 'type': 'object', + 'title': self.type.__name__, 'additionalProperties': False, 'properties': properties, }