Skip to content

build(deps): bump github.com/pb33f/libopenapi from 0.42.3 to 0.42.4 in /codegen - #156

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 14, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/pb33f/libopenapi from 0.42.3 to 0.42.4.

Release notes

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

v0.42.4

libopenapi v0.42.4 improves schema fidelity, mock generation and reference resolution. It also fixes Arazzo conditions so 0 and 1 are treated as numbers, and updates JSONPath with support for JSONPath Plus backtick member escapes.

  • Schemas and mocks: Boolean schemas now survive parsing, rendering, bundling and comparison correctly. Mock generation also honors const values, including false, zero, null and empty strings, while preserving example precedence and protecting against malformed or oversized values.
  • References and indexing: Remote reference ownership, relative URL resolution and schema lookup are more reliable. OpenAPI 3.2 $self now resolves relative references without rewriting absolute hosts, while explicitly configured BaseURL overrides keep their existing behavior.

@​Tjmstudios @​rriski

Commits
  • f6e97f4 fix(arazzo): parse 0 and 1 in simple conditions as numbers
  • 67be6f9 fix: preserve absolute remote references with $self
  • 25d9e2f fix(renderer): reject float constants without mantissa digits
  • ed7707e test constant rendering guards and exact tree values
  • 392e5e4 fix mock generation for const beside schema references
  • 34378c1 fix(renderer): normalize YAML decimal constant mantissas
  • 61885e6 fix(renderer): preserve schema constants in generated mocks
  • d358b9a Test rejection of malformed boolean schema nodes
  • 12101a5 Preserve object schema shape and generator boolean fidelity
  • fbfa215 fix: preserve boolean schemas through rendering and comparison
  • 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.3 to 0.42.4.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.42.3...v0.42.4)

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

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 Nov 14, 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