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 support for OpenAPI Schema Generation #219

Closed dhaval-mehta closed 3 years ago

dhaval-mehta commented 4 years ago

Hi, A merge request with CoreAPI schema generation is still open at #186

From DRF 3.10, CoreAPI has been deprecated. Ref: https://www.django-rest-framework.org/community/3.10-announcement/

I would love to contribute to OpenAPI schema generation. I am new to gis domain and I may need little help related to GIS from the maintainers of Repo.

Also, OpenAPI generates schema automatically from serializer. In this issue, I have already discussed the best way to override schema generation.

dhaval-mehta commented 4 years ago

@nemesisdesign / @auvipy Waiting for your valuable input.

nemesifier commented 4 years ago

I am too busy on other fronts and this is not a priority for me right now. I'm going to delegate this to other maintainers as long as the core functionality keeps working.

dhaval-mehta commented 4 years ago

Sure. I will raise a PR soon with open API Schema generation.

auvipy commented 4 years ago

please do so, but also wait for drf 3.12 release. I will review it. go ahead.

auvipy commented 4 years ago

and really sorry for late! I was in spring vacation!

dhaval-mehta commented 4 years ago

@auvipy Please do not apologize. It is my honor to work with you.

jayvdb commented 4 years ago

I've built a PR for drf-spectacular to add GIS support https://github.com/tfranzel/drf-spectacular/pull/38

But I would much rather see https://github.com/openwisp/django-rest-framework-gis/pull/223 land, and work with that.