#oapicodegen — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #oapicodegen, aggregated by home.social.
-
Automagically updating oapi-codegen JSON Schema version bumps with Renovate
How to use Renovate to update the version pin on `oapi-codegen`'s JSON Schema URL.https://fed.brid.gy/r/https://www.jvt.me/posts/2026/03/01/oapi-codegen-config-renovate/
-
Lessons learned from oapi-codegen's time in the GitHub Secure Open Source Fund
Sharing some thoughts about the GitHub Secure Open Source Fund and how I spent the time with `oapi-codegen`.https://fed.brid.gy/r/https://www.jvt.me/posts/2026/02/17/oapi-codegen-github-secure/
-
Setting up govulncheck in GitHub Actions with GitHub Code Scanning alerts
How to set up `govulncheck` to check for CVEs in your Go projects using GitHub Actions and have the results show up as a GitHub Code Scanning alert.https://fed.brid.gy/r/https://www.jvt.me/posts/2025/09/11/govulncheck-github-actions/
-
oapi-codegen v2.5.0 is out 🚀📢
A host of new functionality, bug fixes, and the notable big changes:
- Begone optional pointers! (optionally)
- Generating
omitzeroJSON tags, withx-omitzero - Using OpenAPI 3.1 with
oapi-codegen(with a workaround) - Defining your own initialisms
- Minimum version of Go needed for oapi-codegen is now 1.22.5
-
Looking back at oapi-codegen's last year
A recap of `oapi-codegen`'s last year, in light of it being Maintainer Month, and continuing to ask for sponsorship.https://fed.brid.gy/r/https://www.jvt.me/posts/2025/05/15/oapi-codegen-2024/
-
This last couple of weeks, there have been a couple of big-ish things in
oapi-codegenland:- a big release for the
net/httpmiddleware (and a couple of small patch releases) which namely boasts better - or IMO, actually usable! - error handling - the basis of our (current) governance process for the project
- an example of how to use
oapi-codegenwith OpenAPI 3.1 specs (as a short-term, until we support OpenAPI 3.1)
- a big release for the
-
Tricking oapi-codegen into working with OpenAPI 3.1 specs
How to get `oapi-codegen` to interact with OpenAPI 3.1 specs, until it supports OpenAPI 3.1.https://fed.brid.gy/r/https://www.jvt.me/posts/2025/05/04/oapi-codegen-trick-openapi-3-1/
-
Just put the finishing touches on the latest release of oapi-codegen: v2.4.0 includes:
#OpenAPI Overlay functionality
Improved multi-file OpenAPI spec support
Several other features and bug fixes
https://github.com/oapi-codegen/oapi-codegen/releases/tag/v2.4.0
-
I'm on Cup o' Go!
Announcing my appearance on Cup o' Go, talking about `oapi-codegen`, OpenAPI, working on Open Source and blogging.
https://fed.brid.gy/r/https://www.jvt.me/posts/2024/05/10/cupogo-oapi-codegen/
-
oapi-codegen is moving to its own org
Announcing `oapi-codegen`'s move to its own GitHub org, and a history lesson about the project.
https://fed.brid.gy/r/https://www.jvt.me/posts/2024/05/09/oapi-codegen-org/
-
Creating a more sustainable model for oapi-codegen in the future
Announcing a request for sponsorship to continue to allow allocating more time to `oapi-codegen` as well as to make more ambitious changes to the project.
https://fed.brid.gy/r/https://www.jvt.me/posts/2024/05/09/oapi-codegen-sustainable/
-
Very excited to be a guest on tomorrow's @cupogo and to chat about
oapi-codegen, #OpenAPI and Go! -
For the last ~7 weeks on-and-off rewriting the documentation for
oapi-codegenwhich has needed a fresh version for a bit of time. On top of that, I've spent pretty much the last two days solidly finishing it off, and am very glad to have just merged it!Documentation can be difficult to do - especially if you're redoing it all in one go - but am hoping it's in a much better place for new and existing users alike!
Also introduces a
CONTRIBUTING.mdfor the first time, and I ended up adding 14 new examples to the examples directory because I couldn't quite remember how things worked 😅 -
How do you represent a JSON field in Go that could be absent, null or have a value?
Why it's surprisingly hard to work out a field has been sent or whether it's explicitly null, when using Go's `encoding/json`.
https://fed.brid.gy/r/https://www.jvt.me/posts/2024/01/09/go-json-nullable/