Repository navigation
build(deps): bump libopenapi to v0.43.2 and go-yaml to v0.2.0 - #347
Merged
Merged
Conversation
Two test inputs rely on behavior that is changing upstream:
- ":\n" is no longer invalid YAML, because go-yaml v0.2.0 reads it as a
mapping with an omitted key. Use an unterminated flow sequence.
- A bare "post:" no longer builds an operation in libopenapi, which
ignores non-mapping values. Declare an empty operation with "post: {}".
Both inputs pass with the current dependencies and the upcoming ones.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #347 +/- ##
=======================================
Coverage 98.76% 98.76%
=======================================
Files 95 95
Lines 12428 12428
=======================================
Hits 12274 12274
Misses 129 129
Partials 25 25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
libopenapi v0.43.2 requires go-yaml v0.2.0, the fork's merge of upstream go-yaml v4.0.0, so both move together. golang.org/x/sync follows to v0.25.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Moves the validator to libopenapi v0.43.2 and go-yaml v0.2.0, the fork's merge of upstream go-yaml v4.0.0. It also updates five tests whose inputs relied on behaviour that changed. There are no production code changes.
Dependencies
github.com/pb33f/libopenapimoves from v0.42.3 to v0.43.2github.com/pb33f/go-yamlmoves from v0.1.1 to v0.2.0, which v0.43.2 requiresgolang.org/x/syncmoves from v0.24.0 to v0.25.0 (indirect)Test changes
":\n"is no longer invalid YAML. go-yaml v0.2.0 reads it as a mapping with an omitted key, soTestRenderSchemaBytesForValidation_ErrorsandTestSchemaResourceHelpers_EdgeCasesnow use an unterminated flow sequence.post:no longer builds an operation. libopenapi ignores non-mapping values since1cc5a761, soTestParamValidator_ValidateSecurity_PresetPath,TestValidateBody_SchemaHasNoRequestBodyandTestValidateBody_NoBodyNoNothingnow declarepost: {}.Testing
go buildandgo vet ./...are clean, andgo test ./...passes all 22 packages on Go 1.27.4 and Go 1.26.0.🤖 Generated with Claude Code