Bump github.com/oapi-codegen/oapi-codegen/v2 from 2.6.0 to 2.7.1 in /go#126
Merged
github-actions[bot] merged 3 commits intoJul 24, 2026
Conversation
Bumps [github.com/oapi-codegen/oapi-codegen/v2](https://github.com/oapi-codegen/oapi-codegen) from 2.6.0 to 2.7.1. - [Release notes](https://github.com/oapi-codegen/oapi-codegen/releases) - [Commits](oapi-codegen/oapi-codegen@v2.6.0...v2.7.1) --- updated-dependencies: - dependency-name: github.com/oapi-codegen/oapi-codegen/v2 dependency-version: 2.7.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Updates Go module dependencies and checksums, likely as part of routine dependency maintenance / security and compatibility upgrades.
Changes:
- Bumped multiple indirect Go dependencies to newer versions (e.g., kin-openapi, oapi-codegen, golang.org/x/*).
- Added new indirect YAML module path and updated go.sum accordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go/go.mod | Updates indirect dependency versions and introduces go.yaml.in/yaml/v3. |
| go/go.sum | Refreshes checksums to match updated module graph and new/updated transitive deps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| golang.org/x/tools v0.30.0 // indirect | ||
| gopkg.in/yaml.v2 v2.4.0 // indirect | ||
| github.com/woodsbury/decimal128 v1.4.0 // indirect | ||
| go.yaml.in/yaml/v3 v3.0.4 // indirect |
dependabot
Bot
deleted the
dependabot/go_modules/go/github.com/oapi-codegen/oapi-codegen/v2-2.7.1
branch
July 24, 2026 16:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/oapi-codegen/oapi-codegen/v2 from 2.6.0 to 2.7.1.
Release notes
Sourced from github.com/oapi-codegen/oapi-codegen/v2's releases.
... (truncated)
Commits
19c6282Improve string escaping and add tests (#2396)b363ca5refactor(codegen): better Swagger compression, modern naming (#1909)08b3018Route server enums through general enums codegen (#2358)fbc8e0drevert external-ref carve-out in strict-server response embedding (#2010) (#2...7517e09respect output file path on gofmt failure (#2356)9643421fix example codegen (#2354)036a54bper-operation middleware in Echo (#2353)3338f93Strict server: gate no-content response headers on nullable/optional (#2351)218effeSynchronize strict servers (#2350)81b9d95Overhaul anonymous schema hoisting (#2348)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
github.com/oapi-codegen/oapi-codegen/v2from 2.6.0 to 2.7.1 and regenerate Go types to pick up security hardening against Go code injection and recent generator fixes in the /go module.Dependencies
github.com/oapi-codegen/oapi-codegen/v2to 2.7.1; regeneratego/pkg/generatedtypes.github.com/getkin/kin-openapi(0.135.0),github.com/mailru/easyjson(0.9.1),github.com/go-openapi/jsonpointer(0.22.4),github.com/speakeasy-api/openapi(replacesopenapi-overlay),github.com/oasdiff/yaml*(0.0.9),golang.org/x/*, plus newgithub.com/go-openapi/swag/jsonnameandgo.yaml.in/yaml/v3.Migration
$refresponses, also generate the referenced specs withstrict-server: true.Written for commit fa822b3. Summary will update on new commits.