-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 public-api: cleanup openapi routes descriptions #7707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎨 public-api: cleanup openapi routes descriptions #7707
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7707 +/- ##
===========================================
- Coverage 87.35% 69.07% -18.29%
===========================================
Files 1839 802 -1037
Lines 71084 36858 -34226
Branches 1203 174 -1029
===========================================
- Hits 62096 25459 -36637
- Misses 8660 11341 +2681
+ Partials 328 58 -270
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
86a2063 to
a84041e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the OpenAPI routes descriptions by refactoring inline description strings to use a consistent helper function (create_route_description) and updates the changelog versioning details for clarity.
- Refactored route descriptions in multiple endpoints to use create_route_description.
- Updated changelog version numbers and deprecation notices consistently.
- Revised documentation in the helper function to reflect its behavior.
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| services/api-server/src/simcore_service_api_server/api/routes/wallets.py | Updated route descriptions with create_route_description. |
| services/api-server/src/simcore_service_api_server/api/routes/studies_jobs.py | Adjusted changelog versions and description texts for studies jobs. |
| services/api-server/src/simcore_service_api_server/api/routes/studies.py | Migrated to create_route_description and updated version numbers. |
| services/api-server/src/simcore_service_api_server/api/routes/solvers_jobs_read.py | Refactored description strings and updated version details. |
| services/api-server/src/simcore_service_api_server/api/routes/solvers_jobs.py | Updated several endpoints to use create_route_description and renamed functions for clarity. |
| services/api-server/src/simcore_service_api_server/api/routes/solvers.py | Modified route descriptions and updated changelog versioning. |
| services/api-server/src/simcore_service_api_server/api/routes/credits.py | Updated endpoint descriptions with create_route_description. |
| services/api-server/src/simcore_service_api_server/api/routes/_constants.py | Updated docstring for create_route_description; minor documentation changes. |
Files not reviewed (1)
- services/api-server/openapi.json: Language not supported
Comments suppressed due to low confidence (1)
services/api-server/src/simcore_service_api_server/api/routes/studies_jobs.py:217
- Consider correcting the grammar in the base description to 'Get a job for a given study' for clarity.
base="Gets a jobs for a given study",
services/api-server/src/simcore_service_api_server/api/routes/_constants.py
Show resolved
Hide resolved
|
@mergify queue |
🟠 Waiting for conditions to match
|
wvangeit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
|



What do these changes do?
This pull request introduces multiple updates to the API server's OpenAPI documentation and route definitions. The changes focus on improving descriptions, aligning versioning formats, and enhancing consistency in route definitions. Additionally, deprecated routes and changelog details have been updated for clarity.
Here an example. SEE badge above for details on new doc.

Related issue/s
How to test
Dev-ops
None