FixMyBerlin / fixmy.platform

Backend providing (geo)data and content for multiple applications
GNU Affero General Public License v3.0
11 stars 3 forks source link

Add automatic OpenAPI schema generation via Django #686

Closed rush42 closed 2 years ago

rush42 commented 2 years ago

This PR introduces swagger-ui/openapi documentation for the /fahrradparken API-endpoints.

codecov[bot] commented 2 years ago

Codecov Report

Merging #686 (e12481e) into develop (80ef2b5) will decrease coverage by 0.12%. The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           develop     #686      +/-   ##
===========================================
- Coverage    86.18%   86.06%   -0.13%     
===========================================
  Files          219      219              
  Lines         5365     5383      +18     
===========================================
+ Hits          4624     4633       +9     
- Misses         741      750       +9     
Impacted Files Coverage Δ
fahrradparken/urls.py 55.00% <40.00%> (-45.00%) :arrow_down:
fahrradparken/views.py 87.07% <100.00%> (+0.26%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80ef2b5...e12481e. Read the comment docs.

rush42 commented 2 years ago

Update:

rush42 commented 2 years ago

I reverted all of the above changes in fixmyapp, as our current goal is only to document the endpoints in /api/fahrradparken

ohrie commented 2 years ago

You can merge this, if you want.