The _get_parameter method now handles arrays and objects slighlty better. Before, it would simply output type string for arrays, whereas now it tries to inspect objects and arrays in order to output type information for them.
This change enables slightly more helpful display of nested serializers when using e.g. Django-Rest-Framework with django-rest-swagger.
This is not recursive, so it goes only one level deep, but right now I can't see an easy way to achieve that.
The _get_parameter method now handles arrays and objects slighlty better. Before, it would simply output type
string
for arrays, whereas now it tries to inspect objects and arrays in order to output type information for them.This change enables slightly more helpful display of nested serializers when using e.g. Django-Rest-Framework with django-rest-swagger.
This is not recursive, so it goes only one level deep, but right now I can't see an easy way to achieve that.