Hello,
First of all, thank you for the new release, it's very neat. I could totally get rid of my own custom AutoSchema =)
I noticed that the polymorphic serializer used for the 400 Bad Request is not rendered as expected on Redoc as shown below. I would expect to have validation_error and parse_error shown in the dropdown but it only shows null
While reading the code, I also noticed that the ParseErrorReponseSerializer is using the ClientErrorEnum class. Shouldn't it be the ParseErrorCodeEnum class instead ?
class ParseErrorResponseSerializer(serializers.Serializer):
type = serializers.ChoiceField(choices=ClientErrorEnum.choices)
errors = ParseErrorSerializer(many=True)

Thanks again for the hard work !
Hello,
First of all, thank you for the new release, it's very neat. I could totally get rid of my own custom AutoSchema =)
I noticed that the polymorphic serializer used for the 400 Bad Request is not rendered as expected on Redoc as shown below. I would expect to have
validation_errorandparse_errorshown in the dropdown but it only showsnullWhile reading the code, I also noticed that the ParseErrorReponseSerializer is using the ClientErrorEnum class. Shouldn't it be the ParseErrorCodeEnum class instead ?
Thanks again for the hard work !