Repository navigation
fix: pin swagger-parser to 2.1.47 - #1325
Merged
Merged
Conversation
2.1.48 fails boat:bundle when a component key differs from the external file name and a nested schema points back at that key. 2.1.47 still bundles that shape and does not write default: null. Co-authored-by: Cursor <[email protected]>
jjjasper
approved these changes
Nov 11, 2026
jjjasper
enabled auto-merge (squash)
November 11, 2026 12:37
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
boat:bundleresolves a component by its declared key when that key differs from the external file name.PhoneNumberType(phone-number-type.yaml) and plan-managerExternalId(external-id.yaml). See [Bug]: Regression: resolveFully fails when components key does not match external file basename swagger-api/swagger-parser#2399. The fix in #2400 is not released.default: nulloutput that the 0.19.2 pin was added for.Test plan
BundleMojoTest(20 tests), including the new component-key case andtestBundleDoesNotAddNullDefaultsOrValuesboat-engineunit tests (119)boat-maven-pluginunit tests;GeneratorTests.testBundledBoatDocspasses on a clean output file and the bundle contains nodefault: nullbackbase-rnd/vendor-payverisandbackbase-rnd/tv-plan-managementboat:bundlejobsMade with Cursor