Skip to content

feat(backend): api schema stats - #9478

Merged
SchrodingersGat merged 4 commits into
inventree:masterfrom
matmair:feat(backend)--API-Schema-stats
Apr 8, 2025
Merged

SchrodingersGat merged 4 commits into
inventree:masterfrom
matmair:feat(backend)--API-Schema-stats

Conversation

@matmair

@matmair matmair commented Apr 8, 2025

Copy link
Copy Markdown
Member

Adds a small stats section to the api schema generation to provde better visibility into the api paths (based on the schema).

@matmair matmair added the enhancement This is an suggested enhancement or new feature label Apr 8, 2025
@matmair matmair added this to the 1.0.0 milestone Apr 8, 2025
@matmair matmair self-assigned this Apr 8, 2025
@matmair
matmair requested a review from SchrodingersGat as a code owner April 8, 2025 19:37
@netlify

netlify Bot commented Apr 8, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 8fa5cb4
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67f57d6f209e9d0008766c66

@matmair matmair mentioned this pull request Apr 8, 2025
4 tasks done
@matmair matmair changed the title feat(backend): Add api schema stats feat(backend): api schema stats Apr 8, 2025
@codecov

codecov Bot commented Apr 8, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 7.14286% with 26 lines in your changes missing coverage. Please review.

Project coverage is 86.06%. Comparing base (2eb0331) to head (8fa5cb4).
Report is 279 commits behind head on master.

Files with missing lines Patch % Lines
src/backend/InvenTree/InvenTree/schema.py 7.14% 26 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9478      +/-   ##
==========================================
- Coverage   86.10%   86.06%   -0.04%     
==========================================
  Files        1224     1224              
  Lines       53595    53623      +28     
  Branches     2290     2290              
==========================================
+ Hits        46148    46153       +5     
- Misses       6868     6891      +23     
  Partials      579      579              
Flag Coverage Δ
backend 88.01% <7.14%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@SchrodingersGat
SchrodingersGat merged commit bb1faf2 into inventree:master Apr 8, 2025
@SchrodingersGat
SchrodingersGat deleted the feat(backend)--API-Schema-stats branch April 8, 2025 21:38
@matmair

matmair commented Apr 17, 2025

Copy link
Copy Markdown
Member Author

see #9045

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

Labels

enhancement This is an suggested enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants