Skip to content

fix(deps): use updated import path for github.com/speakeasy-api/openapi/overlay#2231

Merged
mromaszewicz merged 3 commits into
oapi-codegen:mainfrom
netixx:fix/import
Apr 9, 2026
Merged

fix(deps): use updated import path for github.com/speakeasy-api/openapi/overlay#2231
mromaszewicz merged 3 commits into
oapi-codegen:mainfrom
netixx:fix/import

Conversation

@netixx

@netixx netixx commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Fixes: #2230

@netixx netixx requested a review from a team as a code owner February 19, 2026 09:27
@jamietanna jamietanna changed the title Fix import path for overlay pkg fix(deps): use updated import path for github.com/speakeasy-api/openapi/overlay Feb 19, 2026
Comment thread go.mod
@jamietanna

Copy link
Copy Markdown
Member

OK, so this looks like this may also involve bumping #2139 (and our go directive), which we try hard to avoid - we'll have to think about this

@netixx

netixx commented Feb 26, 2026

Copy link
Copy Markdown
Contributor Author

in the meantime, to you have a solution to fix the broken dependency chain ?

@mromaszewicz

Copy link
Copy Markdown
Member

I think we need to talk about the required Go version. I originally tried to keep the oldest version possible, but the most important part to me is that the generated code isn't too version specific.

I think that jumping to 1.24 would allow us to move to the new usage of go tool have only one way of using and installing oapi-codegen. Being 1.22 based forces us to use very old versions of some dependencies.

@jamietanna

Copy link
Copy Markdown
Member

We'll bump to 1.24 as part of the 2.7.0 release

# Conflicts:
#	examples/authenticated-api/stdhttp/go.mod
#	examples/authenticated-api/stdhttp/go.sum
#	examples/extensions/xomitzero/go.mod
#	examples/extensions/xomitzero/go.sum
#	examples/go.mod
#	examples/go.sum
#	examples/minimal-server/fiber/go.mod
#	examples/minimal-server/fiber/go.sum
#	examples/minimal-server/stdhttp-go-tool/go.mod
#	examples/minimal-server/stdhttp/go.mod
#	examples/minimal-server/stdhttp/go.sum
#	examples/output-options/preferskipoptionalpointerwithomitzero/go.mod
#	examples/output-options/preferskipoptionalpointerwithomitzero/go.sum
#	examples/petstore-expanded/echo-v5/go.sum
#	examples/petstore-expanded/fiber/go.mod
#	examples/petstore-expanded/fiber/go.sum
#	examples/petstore-expanded/stdhttp/go.mod
#	examples/petstore-expanded/stdhttp/go.sum
#	go.mod
#	go.sum
#	internal/test/go.mod
#	internal/test/go.sum
#	internal/test/issues/issue-1529/strict-fiber/go.mod
#	internal/test/issues/issue-1529/strict-fiber/go.sum
#	internal/test/issues/issue1469/go.mod
#	internal/test/issues/issue1469/go.sum
#	internal/test/strict-server/fiber/go.mod
#	internal/test/strict-server/fiber/go.sum
#	internal/test/strict-server/stdhttp/go.mod
#	internal/test/strict-server/stdhttp/go.sum
The new overlay package has a small API change and we need to re-run
go mod tidy on everything after rebasing.
@mromaszewicz mromaszewicz added dependencies Pull requests that update a dependency file and removed 🧠 needs more thinking labels Apr 9, 2026
@mromaszewicz mromaszewicz added this to the v2.7.0 milestone Apr 9, 2026
@mromaszewicz

Copy link
Copy Markdown
Member

Thank you, @netixx

@mromaszewicz mromaszewicz merged commit 20bf6e1 into oapi-codegen:main Apr 9, 2026
18 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import error (following speakeasy-api/jsonpath update)

4 participants