Skip to content

Commit 370a637

Browse files
committed
build(roxygen): force kin-openapi to the patched 0.144.0
Six open advisories, two of them critical, all against the same indirect dependency of oapi-codegen. None of them reach anyone using this SDK: kin-openapi is absent from the published module graph entirely, so a consumer running go get never downloads it, and the vulnerabilities are in openapi3filter, a server-side request validator that a code generator does not run. oapi-codegen v2.8.0 is the newest release and still pins 0.142.0, so there is nothing to upgrade to; the explicit require is what moves it. Generated output is byte-identical after the bump, which is the check that mattered. go.work.sum is ignored rather than committed: it resolves against whatever modules happen to be checked out locally.
1 parent 85d18f8 commit 370a637

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ coverage.txt
1616
# Maintainer-only, never published or pushed
1717
CLAUDE.md
1818
docs/todo.md
19+
20+
# Workspace resolution artifact: depends on which modules are checked out locally
21+
go.work.sum

tools/roxygen/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require github.com/oapi-codegen/oapi-codegen/v2 v2.8.0
66

77
require (
88
github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
9-
github.com/getkin/kin-openapi v0.142.0 // indirect
9+
github.com/getkin/kin-openapi v0.144.0 // indirect
1010
github.com/go-openapi/jsonpointer v0.23.1 // indirect
1111
github.com/go-openapi/swag/jsonname v0.26.0 // indirect
1212
github.com/oasdiff/yaml v0.1.1 // indirect

tools/roxygen/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936/go.mod h1:ttYvX5ql
1313
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
1414
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
1515
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
16-
github.com/getkin/kin-openapi v0.142.0 h1:izj0vBdFprMhitfzaX8sTqztsEQyvwhssBoB6n8NO7w=
17-
github.com/getkin/kin-openapi v0.142.0/go.mod h1:3BH9M9XDe/y9M5DSvEocVYAYq1w0qrhJHjC/vZi0AaY=
16+
github.com/getkin/kin-openapi v0.144.0 h1:hIRcTH+KjLfkLpYU6bSSfdFpi0fZi1fp+hSPi4aQu9Y=
17+
github.com/getkin/kin-openapi v0.144.0/go.mod h1:3BH9M9XDe/y9M5DSvEocVYAYq1w0qrhJHjC/vZi0AaY=
1818
github.com/go-openapi/jsonpointer v0.23.1 h1:1HBACs7XIwR2RcmItfdSFlALhGbe6S92p0ry4d1GWg4=
1919
github.com/go-openapi/jsonpointer v0.23.1/go.mod h1:iWRmZTrGn7XwYhtPt/fvdSFj1OfNBngqRT2UG3BxSqY=
2020
github.com/go-openapi/swag/jsonname v0.26.0 h1:gV1NFX9M8avo0YSpmWogqfQISigCmpaiNci8cGECU5w=

0 commit comments

Comments
 (0)