django-rest-framework-docs
django-rest-framework-docs copied to clipboard
Support for nested serializers
Hi there,
Great tool! Are there any plans to support nested serializers? Like say:
class FooSerializer(serializers.Serializer):
spam = serializers.CharField()
class BarSerializer(serializers.Serializer):
foo = FooSerializer()
The endpoint for BarSerializer would list all the fields inside FooSerializer.
If you point me in the right direction, I can also take a look myself. Thanks again for making this tool.
Best,
Silvio
#104
This pull requests fixes the problem :+1: