Skip to content

Bump github.com/pb33f/libopenapi from 0.21.8 to 0.22.3 #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 6, 2025

Bumps github.com/pb33f/libopenapi from 0.21.8 to 0.22.3.

Release notes

Sourced from github.com/pb33f/libopenapi's releases.

v0.22.3

Fixes non required parameters from being considered a breaking change.

@​bcomnes

v0.22.2

Fixes issue pb33f/libopenapi#421

@​califlower

v0.22.1

Fixes issue #418

v0.22.0

Adds a new 'composed' bundling mode.

// BundleBytesComposed will take a byte slice of an OpenAPI specification and return a composed bundled version of it.
// this is the same as BundleBytes, but it will compose the bundling instead of inline it.
func BundleBytesComposed(bytes []byte, configuration *datamodel.DocumentConfiguration,
 compositionConfig *BundleCompositionConfig) ([]byte, error)
// BundleDocumentComposed will take a v3.Document and return a composed bundled version of it. Composed means
// that every external file will have references lifted out and added to the components section of the document.
// Names will be preserved where possible, conflicts will be appended with a number. If the type of the reference cannot
// be determined, it will be added to the components section as a Schema type, a warning will be logged.
// The document model will be mutated permanently.
//
// Circular references will not be resolved and will be skipped.
func BundleDocumentComposed(model *v3.Document, compositionConfig *BundleCompositionConfig) ([]byte, error)

Docs updates at https://pb33f.io/libopenapi/bundling/

Adds fixes for:

v0.21.12

Fixes issue reported in pb33f/openapi-changes#203

Also stops a $ref swap out from being a breaking change in the what-changed module.

v0.21.11

Fixes handling of circular references when rendering, handles a nil pointer exception.

@​geniegeist

... (truncated)

Commits
  • 8fd1864 Add a required: false case
  • 61aaca3 Check required field on added parameters
  • 1f17c50 Fix issue with codecov
  • c1c2c17 Remove test separation
  • f013eb3 Remove extra comment
  • 7b6593a Fix Bundler Compose Mode Breaking with Non Filename Dots
  • 763853d commented out skipped code, might need it later.
  • dab79dc addressed coverage
  • f9c1310 Addressed issue #418
  • ad0ad33 added more testing and handling for crazy refs.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.21.8 to 0.22.3.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.21.8...v0.22.3)

---
updated-dependencies:
- dependency-name: github.com/pb33f/libopenapi
  dependency-version: 0.22.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 6, 2025
@dependabot dependabot bot requested a review from a team as a code owner June 6, 2025 13:21
@dependabot dependabot bot added the go Pull requests that update Go code label Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants