Upgrade github.com/pb33f/libopenapi to v0.14.4
#111
Merged
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.
Supersedes #109, #113
This PR contains a version bump from
github.com/pb33f/libopenapi v0.13.22->v0.14.4, along with all the fixes for breaking changes to the code structure. The original release notes can be found in the linked dependabot PR (#109) but I will summarize the effects ontfplugingen-openapihere.Fixes from downstream
defaultvalues are now properly being detected, where before they must have been not populated properly? I created a changelog for it, but the related OpenAPI spec's seem to match the behavior we have now 👍🏻 . All 3 of the properties showing changes in the kubernetes test look the same:Changes from downstream
libopenapidata model can be traversed in the exact order as defined in the OpenAPI spec, this manifests itself in a switch from using the Go built-inmap, to a neworderedmaptype. The construction of this type in tests has changed as well as how you iterate over it.orderedmapnow requires acontext.Context, which I have replaced with acontext.TODOfor now.(Parameter).Requiredfield changed fromboolto*bool(Schema).Defaultand(Schema).Enumnow use*yaml.Nodeinstead ofany. Type assertions have been replaced with YAML unmarshaling/decoding.