openwisp / django-rest-framework-gis

Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.
http://openwisp.org
MIT License
1.09k stars 201 forks source link

coreapi schema compatibity #186

Closed enricofer closed 3 years ago

enricofer commented 5 years ago

I added coreapi schema compatibility to basic geographic filtering. Now informations about gis filter parameters are added generating auto API documentation (for example: https://drf-yasg.readthedocs.io/en/1.0.4/custom_spec.html#the-swagger-auto-schema-decorator) I replicated the beahaviour of django SearchFilter: https://github.com/encode/django-rest-framework/blob/7c6e34c14f54f1bf0d46ff34dc9a823215987c95/rest_framework/filters.py#L43

auvipy commented 5 years ago

could you check if the build failures are related?

enricofer commented 5 years ago

I don't think the issues are related to this PR I don't get any issue here on Django 2.1 and Python 3.4

auvipy commented 4 years ago

OpenAPI 3.0 support is needed