diff --git a/eve_docs/config.py b/eve_docs/config.py index 16f83c2..15b2f89 100644 --- a/eve_docs/config.py +++ b/eve_docs/config.py @@ -59,7 +59,7 @@ def schema(resource, field=None): # schema prefixed by the field name and a * to denote the wildcard if 'keyschema' in attrs: attrs['schema'] = attrs.pop('keyschema') - for subfield in schema(attrs): + for subfield in schema(attrs, field): subfield['name'] = field + '.*.' + subfield['name'] ret.append(subfield) return ret