diff --git a/coreapi/document.py b/coreapi/document.py index c6c9ceb..f98bd6b 100644 --- a/coreapi/document.py +++ b/coreapi/document.py @@ -47,7 +47,7 @@ def _key_sorting(item): # NOTE: 'type', 'description' and 'example' are now deprecated, # in favor of 'schema'. Field = namedtuple('Field', ['name', 'required', 'location', 'schema', 'description', 'type', 'example']) -Field.__new__.__defaults__ = (False, '', None, None, None, None) +Field.__new__.__defaults__ = (False, '', None, '', None, None) # The Core API primitives: