Skip to content

refactor: migrate from drf_yasg to drf_spectacular for API documentation - #5393

Draft
submarcos wants to merge 11 commits into
masterfrom
drf_spectacular
Draft

refactor: migrate from drf_yasg to drf_spectacular for API documentation#5393
submarcos wants to merge 11 commits into
masterfrom
drf_spectacular

Conversation

@submarcos

Copy link
Copy Markdown
Member

…ion (fix #5034)

Description

Related Issue

Checklist

  • I have followed the guidelines in our Contributing document
  • My code respects the Definition of done available in the Development section of the documentation
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes
  • I added an entry in the changelog file
  • My commits are all using prefix convention (emoji + tag name) and references associated issues
  • I added a label to the PR corresponding to the perimeter of my contribution
  • The title of my PR mentionned the issue associated

@submarcos submarcos added dependencies Pull requests that update a dependency file 💫 Improvements labels Apr 9, 2026
@cypress

cypress Bot commented Apr 9, 2026

Copy link
Copy Markdown

Geotrek-admin    Run #17728

Run Properties:  status check passed Passed #17728  •  git commit 75307fc8dc ℹ️: Merge 8d6d6b2a0a7f7eab89808f1ec0fc91b1bec55aed into 016b491eec0d9b833800da1accda...
Project Geotrek-admin
Branch Review refs/pull/5393/merge
Run status status check passed Passed #17728
Run duration 01m 44s
Commit git commit 75307fc8dc ℹ️: Merge 8d6d6b2a0a7f7eab89808f1ec0fc91b1bec55aed into 016b491eec0d9b833800da1accda...
Committer Jean-Etienne Castagnede
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 22
View all changes introduced in this branch ↗︎

@codecov

codecov Bot commented Apr 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.59155% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 98.54%. Comparing base (6f8f502) to head (8d6d6b2).
⚠️ Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
geotrek/api/v2/filters.py 98.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5393      +/-   ##
==========================================
- Coverage   98.54%   98.54%   -0.01%     
==========================================
  Files         274      274              
  Lines       23034    23036       +2     
==========================================
+ Hits        22699    22700       +1     
- Misses        335      336       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@submarcos

Copy link
Copy Markdown
Member Author

wait for tfranzel/drf-spectacular#1428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file 💫 Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated drf-yasg with drf-spectacular

1 participant