Feature Request
Lack of support for long int field via django Fields and rest_framework Serializers
Currently there is no concise way of creating long integer field in swagger spec for models.BigAutoField
The only way is to override the view with swagger_auto_schema.
Describe the solution you'd like
Should we add this support inherently via model_field_to_basic_type mapping here. Although this would only add support for Django models but not via DRF serializers because there is only serializers.IntegerField and no equivalent of models.BigAutoField. I agreed I can raise a PR for the same and open to suggestions for DRF serializer.
Feature Request
Lack of support for long int field via django Fields and rest_framework Serializers
Currently there is no concise way of creating long integer field in swagger spec for models.BigAutoField
The only way is to override the view with swagger_auto_schema.
Describe the solution you'd like
Should we add this support inherently via model_field_to_basic_type mapping here. Although this would only add support for Django models but not via DRF serializers because there is only serializers.IntegerField and no equivalent of
models.BigAutoField. I agreed I can raise a PR for the same and open to suggestions for DRF serializer.