home.social

#oapicodegen — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #oapicodegen, aggregated by home.social.

fetched live
  1. 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.

    fed.brid.gy/r/https://www.jvt.

  2. 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`.

    fed.brid.gy/r/https://www.jvt.

  3. 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.

    fed.brid.gy/r/https://www.jvt.

  4. oapi-codegen v2.5.0 is out 🚀📢

    A host of new functionality, bug fixes, and the notable big changes:

    • Begone optional pointers! (optionally)
    • Generating omitzero JSON tags, with x-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
  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.

    fed.brid.gy/r/https://www.jvt.

  6. This last couple of weeks, there have been a couple of big-ish things in oapi-codegen land:

  7. 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.

    fed.brid.gy/r/https://www.jvt.

  8. 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

  9. I'm on Cup o' Go!

    Announcing my appearance on Cup o' Go, talking about `oapi-codegen`, OpenAPI, working on Open Source and blogging.

    fed.brid.gy/r/https://www.jvt.

  10. 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.

    fed.brid.gy/r/https://www.jvt.

  11. 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.

    fed.brid.gy/r/https://www.jvt.

  12. Very excited to be a guest on tomorrow's @cupogo and to chat about oapi-codegen, #OpenAPI and Go!

  13. For the last ~7 weeks on-and-off rewriting the documentation for oapi-codegen which 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.md for the first time, and I ended up adding 14 new examples to the examples directory because I couldn't quite remember how things worked 😅

  14. 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`.

    fed.brid.gy/r/https://www.jvt.