Skip to content

Remove unused oapi-codegen tool dependency - #15

Merged
snamber merged 1 commit into
mainfrom
fix/remove-unused-oapi-codegen
Sep 4, 2026
Merged

Remove unused oapi-codegen tool dependency#15
snamber merged 1 commit into
mainfrom
fix/remove-unused-oapi-codegen

Conversation

@snamber

@snamber snamber commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove the unused oapi-codegen tool dependency
  • remove its version exclusions and tool-only transitive dependencies
  • resolve Dependabot alert GHSA-rjwr-m7qx-3fjr by removing the vulnerable package from the module graph

The SDK was converted from generated to handcrafted code in 2024, when its go:generate entry point and generator configuration were deleted. The remaining tool declaration was therefore orphaned. Upgrading it to the patched v2.7.1 instead causes a YAML transitive-dependency compilation conflict, so retaining and upgrading an unused tool would require additional dependency constraints without restoring any repository functionality.

Verification

  • go get ./...
  • go mod tidy
  • go mod verify
  • go build ./...
  • go test ./...
  • go vet ./...
  • confirmed github.com/oapi-codegen/oapi-codegen/v2 is absent from go list -m all
  • git diff --check

@snamber
snamber merged commit 76b98c6 into main Sep 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant