fix(deps): update module github.com/getkin/kin-openapi to v0.124.0#1532
Merged
jamietanna merged 2 commits intomasterfrom Jun 3, 2024
Merged
fix(deps): update module github.com/getkin/kin-openapi to v0.124.0#1532jamietanna merged 2 commits intomasterfrom
jamietanna merged 2 commits intomasterfrom
Conversation
Member
|
Related: grokify/spectrum#149 (comment) This is from getkin/kin-openapi#912 and appears to be leading towards getkin/kin-openapi#230 |
cb7c710 to
483daf8
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
817db12 to
0ef26c2
Compare
Note that, as noted in #1533, this version introduces a significant breaking changes, which requires us make code changes. The key change introduced is that we now have a `Types` type, which supports how in OpenAPI 3.1 (and JSON Schema proper) there can be multiple types. In cases where previously we'd receive a Type of `""`, we now receive a nil array, so we need to validate that with the `.Slice()` method. Note that we do not add the support for full OpenAPI 3.1 specifications (#373) and make sure that we only use the `.Is` call, which makes sure it's the 0th element, so we don't accidentally start to have OpenAPI 3.1 support before we're ready for it. Closes #1533.
Especially now these could be a number of different incompatible types, we should report this to the user.
0ef26c2 to
9429f76
Compare
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.
This PR contains the following updates:
v0.123.0->v0.124.0Release Notes
getkin/kin-openapi (github.com/getkin/kin-openapi)
v0.124.0Compare Source
What's Changed
x-www-form-urlencodeddecoder for oneOf, anyOf, and allOf by @imtaketa in https://github.com/getkin/kin-openapi/pull/903Unwrap()method to SecurityRequirementsError by @nickajacks1 in https://github.com/getkin/kin-openapi/pull/905typefield by @brandonbloom in https://github.com/getkin/kin-openapi/pull/912\uliterals by @thiagownt in https://github.com/getkin/kin-openapi/pull/918New Contributors
Full Changelog: getkin/kin-openapi@v0.123.0...v0.124.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.