Repository navigation
Add swagger dependency parsing for external types - #4125
Conversation
There was a problem hiding this comment.
Large PR Detected
This PR exceeds 1000 lines of changes and requires justification before it can be reviewed.
How to unblock this PR:
Add a section to your PR description with the following format:
## Large PR Justification
[Explain why this PR must be large, such as:]
- Generated code that cannot be split
- Large refactoring that must be atomic
- Multiple related changes that would break if separated
- Migration or data transformationAlternative:
Consider splitting this PR into smaller, focused changes (< 1000 lines each) for easier review and reduced risk.
See our Contributing Guidelines for more details.
This review will be automatically dismissed once you add the justification section.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4125 +/- ##
==========================================
+ Coverage 68.13% 68.89% +0.76%
==========================================
Files 461 461
Lines 46704 46559 -145
==========================================
+ Hits 31821 32078 +257
+ Misses 12105 11983 -122
+ Partials 2778 2498 -280 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Radoslav Dimitrov <[email protected]>
Signed-off-by: Radoslav Dimitrov <[email protected]>
Signed-off-by: Radoslav Dimitrov <[email protected]>
Large PR justification has been provided. Thank you!
|
✅ Large PR justification has been provided. The size review has been dismissed and this PR can now proceed with normal review. |
Signed-off-by: Radoslav Dimitrov <[email protected]>
Summary
The move of registry and permission types to
toolhive-corecaused them to be excluded from the generated OpenAPI schema (viaswaggerignore:"true"tags), which broke frontend SDK type generation.Adding
--parseDependencyLevel 1toswag initlets it resolve types from Go module dependencies, so theswaggerignoreworkaround is no longer needed.Note: to be merged after FE confirms this works for them 👍
Fixes #...
Type of change
Test plan
task test)task test-e2e)task lint-fix)Changes
Does this introduce a user-facing change?
Special notes for reviewers
Large PR Justification
[Explain why this PR must be large, such as:]