I have an Api in DRF, describes with swagger. In my serializer i have a field like that :
settings = serializers.DictField(child=serializers.JSONField())
Is it possible that in the swagger.json the field was describe as 'Json' and not as string:
"additionalProperties": {
"type": "string"
}
but
"additionalProperties": {
"type": "JSON"
}