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

Add autodoc/schema in DistanceToPointFilter. #169

Closed lmasikl closed 2 years ago

auvipy commented 6 years ago

ref https://github.com/encode/django-rest-framework/pull/6119

lmasikl commented 6 years ago

I tried to find out how this is implemented in the specified pr and did not find anything. But I saw that the coreapi was also used here (https://github.com/encode/django-rest-framework/pull/6119/commits/a247fe8eb067904a6b792790e79a4984e7507e03#diff-7d4109a75d3046e2d76cdf742908a36aR3). Could suggest what substitution to produce?

auvipy commented 6 years ago

I would request you to hold until that pr is merged.

elnappo commented 5 years ago

https://github.com/encode/django-rest-framework/pull/6119 is merged now ;) Implemented this myself until I came across this PR. It would be nice if to_html() https://www.django-rest-framework.org/api-guide/filtering/#customizing-the-interface could also be added for BrowsableAPIRenderer.

lmasikl commented 4 years ago

@auvipy ping

nemesifier commented 2 years ago

Closing for inactivity.