Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
a = serializers.CharField(required=True)
b = serializers.CharField(required=False)
c = serializers.CharField(required=True)
d = serializers.CharField(required=False)
serializer_class = ExampleSerializer
def custom_action(self, request, pk):
return super(ExampleSerializer, self).retrieve(self, request)
Fields c and d from AnotherSerializer in generated schema.
Fields a and b from ExampleSerializer - serializer of viewset itself.
The text was updated successfully, but these errors were encountered:
No branches or pull requests