Feature Request
Description
drf-yasg already has integration with djangorestframework-recursive, and it works as expected. However, the project hasn't seen development in quite a while, so it was forked into drf-recursive. Apart from the PyPI project, the Python package also got a new name:
-from rest_framework_recursive.fields import RecursiveField
+from django_rest_framework_recursive.fields import RecursiveField
As such, yasg does not detect the schema correctly and uses string as type for these fields.
Describe the solution you'd like
Also support drf-recursive's django_rest_framework_recursive as import source for the field. You can achieve this using conditional imports.
Describe alternatives you've considered
You could also provide a setting where I can specify what field I want to use for the recursive functionality.
Feature Request
Description
drf-yasgalready has integration with djangorestframework-recursive, and it works as expected. However, the project hasn't seen development in quite a while, so it was forked into drf-recursive. Apart from the PyPI project, the Python package also got a new name:As such,
yasgdoes not detect the schema correctly and usesstringas type for these fields.Describe the solution you'd like
Also support
drf-recursive'sdjango_rest_framework_recursiveas import source for the field. You can achieve this using conditional imports.Describe alternatives you've considered
You could also provide a setting where I can specify what field I want to use for the recursive functionality.