Skip to content

docs: generated code requires Go 1.26 - #2668

Merged
mromaszewicz merged 1 commit into
oapi-codegen:mainfrom
mromaszewicz:chore/docs
Nov 11, 2026
Merged

mromaszewicz merged 1 commit into
oapi-codegen:mainfrom
mromaszewicz:chore/docs

Conversation

@mromaszewicz

Copy link
Copy Markdown
Member

Generated code imports github.com/oapi-codegen/runtime, and with the JSON codec change (#2665) it needs runtime v1.9.0, which requires Go 1.26. The README still listed Go 1.24 or 1.25 per server and said the generated code has lower requirements than oapi-codegen itself.

Set every row of the Supported Servers table to 1.26+, and reword the table's introduction and the note under Installing to say that the generated code has the same Go 1.26 floor and why.

Generated code imports github.com/oapi-codegen/runtime, and with the
JSON codec change (oapi-codegen#2665) it needs runtime v1.9.0, which requires Go
1.26. The README still listed Go 1.24 or 1.25 per server and said the
generated code has lower requirements than oapi-codegen itself.

Set every row of the Supported Servers table to 1.26+, and reword the
table's introduction and the note under Installing to say that the
generated code has the same Go 1.26 floor and why.

Co-Authored-By: Claude <noreply@anthropic.com>
@mromaszewicz
mromaszewicz requested a review from a team as a code owner November 11, 2026 16:07
@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This documentation-only change appears safe to merge.

Summary

Updates README.md to document Go 1.26+ for generated code.

  • Generated server code now has a Go 1.26 minimum.

Reviews (1) · Last reviewed commit: "docs: generated code requires Go 1.26" · Reviewed by Greptile

@mromaszewicz
mromaszewicz merged commit a476cb2 into oapi-codegen:main Nov 11, 2026
15 checks passed
@mromaszewicz
mromaszewicz deleted the chore/docs branch November 11, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant