Skip to content

chore(deps): bump github.com/pb33f/libopenapi from 0.42.5 to 0.44.0 in /codegen - #217

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.44.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.44.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/pb33f/libopenapi from 0.42.5 to 0.44.0.

Release notes

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

v0.44.0

libopenapi v0.44.0 expands OpenAPI 3.2 multipart support and improves how what-changed classifies schema changes. Concurrent calls to BuildV2Model or BuildV3Model on the same document now share one model. Errors for unresolved external $refs include the document location and the underlying cause.

  • Breaking Go API change. MediaType.ItemEncoding changed from a map to a single *Encoding in the high-level model. Use PrefixEncoding for ordered multipart parts. Nested encodings are also supported. [Migration guide](https://github.com/pb33f/libopenapi/blob/v0.44.0/MIGRATING.md)
  • Fewer false breaking changes. Making an existing response-only field required or a request-only field optional is now compatible. Shared schemas and closed responses that reject a new field still receive a breaking classification. [[PR #725](pb33f/libopenapi#725)

@​Tjmstudios

v0.43.2

Updates pb33f's fork of go-yaml, no new features or fixes.

v0.43.1

Arazzo executors now get the full picture of a step's parameters.

Fixes

  • Parameter locations are preserved (#713, #716). ExecutionRequest has a new ResolvedParameters field: an ordered list of each parameter's name, location (in) and typed value. Executors can now place headers the source operation doesn't declare, and parameters that share a name across locations (e.g. id in both path and query) no longer overwrite each other.
  • Workflow-level parameters are applied to every step (#717). They were validated but never sent. They are now merged into each step's request and passed to sub-workflows, with a step parameter overriding a workflow parameter of the same name and location.

Heads up

The existing Parameters map is unchanged and still keyed by name, but it now includes workflow-level parameters too. If you need locations, use ResolvedParameters.

v0.43.0

libopenapi’s Go model generator can now preserve unknown discriminator variants. Enable WithUnknownDiscriminatorVariants(true) to keep the discriminator value and raw JSON when an API returns a variant your generated code hasn’t seen before. A single new variant can now round-trip without failing an entire response array. Strict decoding remains the default. (#715)

  • Schema validation: OpenAPI 3.1 and 3.2 schemas that combine $ref with unevaluatedProperties or unevaluatedItems now validate correctly after transformation. Relative references and anchors retain their original scope. (#709)
  • Change reports: Adding or removing explode: false on a parameter now appears in the diff. Changes to a schema’s required list now point to the external file that defines it. (#704, #712)
  • Parsing: Skipping external reference resolution no longer panics on referenced map entries. Null operations such as post: null are now omitted from the operation list. (#707, #711)
  • Embedded schemas: Updated the OpenAPI 3.1 and 3.2 document validation schemas with upstream corrections for Link Objects and encoding. (#714)

@​pcbeingused333 @​swayam5342 @​Tjmstudios

Commits
  • b9309bc fix(what-changed): check the old dictionary contract for new keys
  • 41b69a9 fix(what-changed): preserve closed response and dictionary contracts
  • a7dc432 fix(what-changed): classify required entries by schema use
  • a616d20 fix(index): report why an external reference could not be resolved
  • ef09039 docs: state that Release must follow all other document use
  • dedcab8 fix: make document model builds safe for concurrent use
  • f3880b3 fix(low): keep authored key node for aliased map keys
  • e8d49e0 test(datamodel/v3): keep Encoding test fixtures valid OAS 3.2
  • b9d2508 fix(datamodel/v3): address further review feedback on Encoding fields
  • 73fced4 fix(datamodel/v3): address review feedback on Encoding fields
  • 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 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.42.5 to 0.44.0.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.42.5...v0.44.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Dec 1, 2026
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