fix(deps): update module github.com/getkin/kin-openapi to v0.126.0#1689
Merged
jamietanna merged 1 commit intomainfrom Jul 9, 2024
Merged
fix(deps): update module github.com/getkin/kin-openapi to v0.126.0#1689jamietanna merged 1 commit intomainfrom
jamietanna merged 1 commit intomainfrom
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Member
|
Will merge shortly - I need to close an issue with this |
Member
|
Also #1611 |
|
This release should fix #1572, I worked on some changes upstream in kin-openapi to make the internalisation determinsitic and efforts to avoid collisions in internalised names. The codegen'ed code will need to be re-generated (go generate) for all test openapi files in oapi-codegen and by users will pick up the fixes the same way. |
This upstream release includes a few fixes, which allow us to close off
a few issues, but also come with the side effects of:
- a slight diff change for embedded OpenAPI specs, as we've restructured
the format slightly, i.e.
A reference that was previously:
"object_a": {
"$ref": "#/components/schemas/ObjectA"
},
Is now amended to:
"object_a": {
"$ref": "#/components/schemas/packageA_spec_ObjectA"
},
- the removal of the `CircularReferenceCounter`, so we need to amend
the function we're using to no longer need to do that, and flag its
deprecation for consumers.
Note that we can't yet deprecate it officially in the schema due to it
requiring a newer version of JSON Schema (that at least my IDE doesn't
support) and will be tracked in #1691.
Closes #1611, #1572.
9346256 to
a5835f8
Compare
This was referenced Jul 13, 2024
This was referenced Jul 30, 2024
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.125.0->v0.126.0Release Notes
getkin/kin-openapi (github.com/getkin/kin-openapi)
v0.126.0Compare Source
What's Changed
ReferencesComponentInRootDocument(doc *T, ref componentRef) (string, bool)by @percivalalb in https://github.com/getkin/kin-openapi/pull/945New Contributors
Full Changelog: getkin/kin-openapi@v0.125.0...v0.126.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.