Skip to content

build(deps): bump github.com/pb33f/libopenapi from 0.42.5 to 0.45.2 in /codegen - #173

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

Release notes

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

v0.45.1

Removed some validation code that was added by accident to the new new jsonschema package.

no other changes or fixes.

v0.45.0

This release adds the jsonschema package for loading, comparing standalone JSON Schema Draft 2020-12 documents and multi-file collections. It resolves shared references, identifies breaking changes, and reports the resource, JSONPath, and source location for each edit. Composed OpenAPI bundles now follow only reachable external fragments and discriminator mappings, so an unused schema can no longer force a component rename. OpenAPI diffs report example edits once and ignore reordering in schema type arrays. Overlays expand YAML aliases and merge keys before applying actions, so editing one alias preserves the other uses. This release also fixes dropped paths, operations, and Swagger 2.0 security scopes, plus a resolver panic on $ref values with sibling properties.

@​Tjmstudios @​nicoandrewss

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
  • 141facc fix(generator): address review of the Go SDK gap work
  • 65be250 refactor(generator): simplify SDK gap code, stop pointer cycles, cut allocations
  • c1bc1f6 feat(generator): close Go SDK gaps for binary, multipart, SSE and union bodies
  • bc0b04a fix(jsonschema): remove meta-schema validation and the validator dependency
  • 6aaf03b fix(bundler): isolate aliased discriminator mappings before rewrite
  • 10dfc24 fix(bundler): preserve discriminator mapping context and aliases
  • dbe407e fix(bundler): follow only reachable external fragments
  • cba965c refactor(bundler): share the composed bundling pipeline
  • b3ad31f fix(index): avoid out-of-range panic when a $ref with siblings is resolved in...
  • 4300d9e fix(overlay): check alias limits before copies and keep alias comments
  • 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.45.2.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.42.5...v0.45.2)

---
updated-dependencies:
- dependency-name: github.com/pb33f/libopenapi
  dependency-version: 0.45.2
  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 5, 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