Skip to content

chore(deps): bump github.com/oapi-codegen/runtime from 1.4.2 to 1.7.0 - #305

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oapi-codegen/runtime-1.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/oapi-codegen/runtime-1.7.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/oapi-codegen/runtime from 1.4.2 to 1.7.0.

Release notes

Sourced from github.com/oapi-codegen/runtime's releases.

v1.7.0: Extensions for OpenAPI 3.1 parameter binding

This release teaches the parameter binders about OpenAPI 3.1 multi-type unions, and fixes a long-standing panic on the request binding path. As with v1.6.0, new behavior is controlled by explicit settings rather than assumptions: binding stays exactly as it was unless the new options are used.

Notable Changes

Binding OpenAPI 3.1 multi-type union parameters

OpenAPI 3.1 allows a parameter's type to be a list, such as type: [string, integer]. Go has no type meaning "one of these", so generated code maps such parameters to any — which the binders previously rejected outright with can not bind to destination of type: interface, making these parameters unusable.

The binder options structs (BindStyledParameterOptions, BindQueryParameterOptions, BindStringToObjectOptions) gain a Types []string field carrying the union's member list. It is only consulted when the destination is an any; binding into every concrete Go type is completely unchanged. The value binds to the first member that parses, trying boolean, integer, number, then string — most restrictive first, since a string always parses. Member detection follows the JSON number grammar (RFC 8259), so values like 007 or +1 bind as strings rather than being silently reinterpreted as numbers.

The bound value's dynamic type is always one of bool, int64, float64, string, or (with format: byte) []byte, so a handler's type switch is stable regardless of what the spec's format says. Applications that want format: int32 / format: float to narrow the produced types to int32 / float32 can opt in via a new package-level setting, following the same pattern as DefaultQueryEncoder from v1.6.0:

func init() {
    runtime.NarrowUnionNumericFormats = true
}

Generator support for emitting Types is landing in oapi-codegen separately; the runtime side ships first so generated code can rely on it. Arrays of unions and deepObject-style parameters are not covered yet — see the Types field documentation for the exact scope.

Fix for a panic when binding numeric values into slice destinations

Since v1.2.0, binding a string that happens to parse as an integer into a non-[]byte slice destination panicked with reflect: call of reflect.Value.OverflowInt on slice Value, instead of returning an error. This was reachable from generated code on the request path: a nullable.Nullable[[]string] query parameter using the default form/explode serialization would panic on ?p=123 while returning a normal binding error on ?p=abc. These cases now return a clean can not bind to destination of type: slice error.

🚀 New features and improvements

🐛 Bug fixes

✍ Other changes

📦 Dependency updates

... (truncated)

Commits
  • 25e2d35 Fix panic binding numeric values into non-byte slice destinations (#156)
  • f2e468c Bind OpenAPI 3.1 multi-type union parameters into any destinations (#154)
  • 611503e chore(deps): update github/codeql-action action to v4.37.7 (#152)
  • d8c6443 chore(deps): update release-drafter/release-drafter action to v7.7.0 (#151)
  • 0caa035 chore(deps): update github/codeql-action action to v4.37.5 (#150)
  • 95ed734 fix(deps): update module github.com/labstack/echo/v5 to v5.3.1 (#149)
  • 2f68f55 chore: use go mod tidy instead of tidied (#148)
  • 03f0d06 chore(deps): update release-drafter/release-drafter action to v7.6.0 (#147)
  • 99e61d7 chore(deps): update github/codeql-action action to v4.37.2 (#146)
  • 01be2fa chore(deps): update module github.com/golangci/golangci-lint to v2.12.2 (#112)
  • 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/oapi-codegen/runtime](https://github.com/oapi-codegen/runtime) from 1.4.2 to 1.7.0.
- [Release notes](https://github.com/oapi-codegen/runtime/releases)
- [Commits](oapi-codegen/runtime@v1.4.2...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/oapi-codegen/runtime
  dependency-version: 1.7.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 Sep 14, 2026
@github-actions

Copy link
Copy Markdown

❌MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 4 0 0 0.07s
✅ API spectral 2 0 0 2.52s
✅ COPYPASTE jscpd yes no no 2.17s
✅ DOCKERFILE hadolint 1 0 0 0.06s
✅ GO golangci-lint yes yes no no 59.64s
✅ GO revive yes no no 2.05s
✅ MARKDOWN markdownlint 2 0 0 0 0.84s
✅ MARKDOWN markdown-table-formatter 2 0 0 0 0.29s
✅ REPOSITORY checkov yes no no 44.33s
✅ REPOSITORY gitleaks yes no no 0.51s
✅ REPOSITORY git_diff yes no no 0.01s
⚠️ REPOSITORY grype yes 5 no 95.66s
✅ REPOSITORY secretlint yes no no 0.71s
✅ REPOSITORY syft yes no no 3.69s
❌ REPOSITORY trivy yes 1 no 23.19s
✅ REPOSITORY trivy-sbom yes no no 3.7s
✅ REPOSITORY trufflehog yes no no 5.59s
✅ SPELL lychee 14 0 0 0.13s
✅ YAML prettier 12 0 0 0 0.78s
✅ YAML v8r 12 0 0 18.52s
✅ YAML yamllint 12 0 0 0.86s

Detailed Issues

❌ REPOSITORY / trivy - 1 error
2026-09-14T00:25:01Z	INFO	[vulndb] Need to update DB
2026-09-14T00:25:01Z	INFO	[vulndb] Downloading vulnerability DB...
2026-09-14T00:25:01Z	INFO	[vulndb] Downloading artifact...	repo="mirror.gcr.io/aquasec/trivy-db:2"
21.09 MiB / 113.13 MiB [----------->________________________________________________] 18.64% ? p/s ?42.43 MiB / 113.13 MiB [---------------------->_____________________________________] 37.51% ? p/s ?58.87 MiB / 113.13 MiB [------------------------------->____________________________] 52.04% ? p/s ?82.24 MiB / 113.13 MiB [--------------------------------->____________] 72.70% 101.34 MiB p/s ETA 0s105.02 MiB / 113.13 MiB [----------------------------------------->___] 92.84% 101.34 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [------------------------------------------->] 100.00% 101.34 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 98.14 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 98.14 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 98.14 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 91.81 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 91.81 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 91.81 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 85.89 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 85.89 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 85.89 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 80.35 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 80.35 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 80.35 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 75.16 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 75.16 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 75.16 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 70.31 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 70.31 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 70.31 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 65.78 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 65.78 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 65.78 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 61.53 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 61.53 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 61.53 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 57.56 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 57.56 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 57.56 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 53.85 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 53.85 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 53.85 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 50.38 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 50.38 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 50.38 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 47.13 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 47.13 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 47.13 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 44.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 44.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 44.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 41.24 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 41.24 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 41.24 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 38.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 38.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 38.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 36.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 36.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 36.09 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 33.76 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 33.76 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 33.76 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 31.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 31.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 31.58 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 29.55 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 29.55 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 29.55 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 27.64 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 27.64 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 27.64 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 25.86 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 25.86 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 25.86 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 24.19 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 24.19 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 24.19 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 22.63 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------->] 100.00% 22.63 MiB p/s ETA 0s113.13 MiB / 113.13 MiB [-------------------------------------------------] 100.00% 7.74 MiB p/s 15s2026-09-14T00:25:17Z	INFO	[vulndb] Artifact successfully downloaded	repo="mirror.gcr.io/aquasec/trivy-db:2"
2026-09-14T00:25:17Z	INFO	[vuln] Vulnerability scanning is enabled
2026-09-14T00:25:17Z	INFO	[misconfig] Misconfiguration scanning is enabled
2026-09-14T00:25:17Z	INFO	[checks-client] Need to update the checks bundle
2026-09-14T00:25:17Z	INFO	[checks-client] Downloading the checks bundle...
234.65 KiB / 234.65 KiB [--------------------------------------------------------->] 100.00% ? p/s ?234.65 KiB / 234.65 KiB [-----------------------------------------------] 100.00% 1.85 MiB p/s 300ms2026-09-14T00:25:23Z	INFO	Number of language-specific files	num=1
2026-09-14T00:25:23Z	INFO	[gomod] Detecting vulnerabilities...
2026-09-14T00:25:23Z	INFO	Detected config files	num=2
2026-09-14T00:25:23Z	WARN	Using severities from other vendors for some vulnerabilities. Read https://trivy.dev/docs/v0.69/guide/scanner/vulnerability#severity-selection for details.

Report Summary

┌──────────────────┬────────────┬─────────────────┬───────────────────┐
│      Target      │    Type    │ Vulnerabilities │ Misconfigurations │
├──────────────────┼────────────┼─────────────────┼───────────────────┤
│ go.mod           │   gomod    │        6        │         -         │
├──────────────────┼────────────┼─────────────────┼───────────────────┤
│ Dockerfile       │ dockerfile │        -        │         0         │
├──────────────────┼────────────┼─────────────────┼───────────────────┤
│ Dockerfile.local │ dockerfile │        -        │         0         │
└──────────────────┴────────────┴─────────────────┴───────────────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)


For OSS Maintainers: VEX Notice
--------------------------------
If you're an OSS maintainer and Trivy has detected vulnerabilities in your project that you believe are not actually exploitable, consider issuing a VEX (Vulnerability Exploitability eXchange) statement.
VEX allows you to communicate the actual status of vulnerabilities in your project, improving security transparency and reducing false positives for your users.
Learn more and start using VEX: https://trivy.dev/docs/v0.69/guide/supply-chain/vex/repo#publishing-vex-documents

To disable this notice, set the TRIVY_DISABLE_VEX_NOTICE environment variable.


go.mod (gomod)
==============
Total: 6 (UNKNOWN: 1, LOW: 0, MEDIUM: 2, HIGH: 3, CRITICAL: 0)

┌─────────────────────┬────────────────┬──────────┬──────────┬───────────────────┬───────────────┬─────────────────────────────────────────────────────────────┐
│       Library       │ Vulnerability  │ Severity │  Status  │ Installed Version │ Fixed Version │                            Title                            │
├─────────────────────┼────────────────┼──────────┼──────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ golang.org/x/crypto │ CVE-2026-56854 │ HIGH     │ fixed    │ v0.54.0           │ 0.55.0        │ golang.org/x/crypto/ssh: golang.org/x/crypto/ssh:           │
│                     │                │          │          │                   │               │ Authentication bypass due to unenforced source-address      │
│                     │                │          │          │                   │               │ restrictions                                                │
│                     │                │          │          │                   │               │ https://avd.aquasec.com/nvd/cve-2026-56854                  │
│                     ├────────────────┼──────────┤          │                   ├───────────────┼─────────────────────────────────────────────────────────────┤
│                     │ CVE-2026-56855 │ MEDIUM   │          │                   │ 0.56.0        │ golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of │
│                     │                │          │          │                   │               │ Service via crafted messages                                │
│                     │                │          │          │                   │               │ https://avd.aquasec.com/nvd/cve-2026-56855                  │
│                     ├────────────────┤          │          │                   │               ├─────────────────────────────────────────────────────────────┤
│                     │ CVE-2026-78662 │          │          │                   │               │ golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of │
│                     │                │          │          │                   │               │ Service via channel request flooding                        │
│                     │                │          │          │                   │               │ https://avd.aquasec.com/nvd/cve-2026-78662                  │
│                     ├────────────────┼──────────┼──────────┤                   ├───────────────┼─────────────────────────────────────────────────────────────┤
│                     │ GO-2026-5932   │ UNKNOWN  │ affected │                   │               │ The golang.org/x/crypto/openpgp package is unmaintained,    │
│                     │                │          │          │                   │               │ unsafe by design, and has known security...                 │
├─────────────────────┼────────────────┼──────────┼──────────┼───────────────────┼───────────────┼─────────────────────────────────────────────────────────────┤
│ golang.org/x/mod    │ CVE-2026-56864 │ HIGH     │ fixed    │ v0.37.0           │ 0.40.0        │ golang.org/x/mod/sumdb: golang.org/x/mod/sumdb: Integrity   │
│                     │                │          │          │                   │               │ bypass via malicious GOSUMDB                                │
│                     │                │          │          │                   │               │ https://avd.aquasec.com/nvd/cve-2026-56864                  │
│                     ├────────────────┤          │          │                   │               ├─────────────────────────────────────────────────────────────┤
│                     │ CVE-2026-56865 │          │          │                   │               │ golang.org/x/mod/sumdb/tlog: golang.org/x/mod/sumdb/tlog:   │
│                     │                │          │          │                   │               │ Supply chain compromise via transparency log tile           │
│                     │                │          │          │                   │               │ verification bypass                                         │
│                     │                │          │          │                   │               │ https://avd.aquasec.com/nvd/cve-2026-56865                  │
└─────────────────────┴────────────────┴──────────┴──────────┴───────────────────┴───────────────┴─────────────────────────────────────────────────────────────┘

📣 Notices:
  - Version 0.74.0 of Trivy is now available, current version is 0.69.1

To suppress version checks, run Trivy scans with the --skip-version-check flag
⚠️ REPOSITORY / grype - 5 errors
[0000]  WARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal) from=syft
NAME                           INSTALLED  FIXED IN  TYPE       VULNERABILITY  SEVERITY  EPSS         RISK   
golang.org/x/crypto            v0.54.0    0.56.0    go-module  GO-2026-6355   High      0.4% (31st)  0.3    
golang.org/x/crypto            v0.54.0    0.55.0    go-module  GO-2026-6303   High      0.3% (25th)  0.2    
golang.org/x/crypto            v0.54.0    0.56.0    go-module  GO-2026-6354   High      0.3% (24th)  0.2    
golang.org/x/mod               v0.37.0    0.40.0    go-module  GO-2026-6180   High      0.3% (22nd)  0.2    
golang.org/x/mod               v0.37.0    0.40.0    go-module  GO-2026-6179   High      0.1% (1st)   < 0.1  
github.com/klauspost/compress  v1.18.0    1.18.7    go-module  GO-2026-5841   Unknown   N/A          N/A    
golang.org/x/crypto            v0.54.0              go-module  GO-2026-5932   Unknown   N/A          N/A
[0095] ERROR discovered vulnerabilities at or above the severity threshold

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,API_SPECTRAL,COPYPASTE_JSCPD,DOCKERFILE_HADOLINT,GO_GOLANGCI_LINT,GO_REVIVE,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

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.

1 participant