Skip to content

Tags: oapi-codegen/oapi-codegen

Tags

v2.5.0

Toggle v2.5.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
docs(additional-initialisms): add a usage example

v2.4.1

Toggle v2.4.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
build: relax patch version pinning on `go` directive

Originally added in f77bd7b, we wanted
to pin the version to ensure that we were targeting the latest version
of Go 1.21.

However, there's no real value here, and as noted in [0] it can be
causing issues for some users.

There's nothing explicitly in Go 1.21.x that we need to pin to, just
that we need support for Go 1.21, so we can use Speakeasy's
`openapi-overlay` library.

Therefore we can relax the patch-version requirement, which will
alleviate issues for consumers.

This makes sure that we have _at a minimum_ a version of Go 1.21, and
makes `go mod tidy` happy.

[0]: osbuild/image-builder-crc#1352

v2.4.0

Toggle v2.4.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
docs: correct wording of heading

v2.3.0

Toggle v2.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update readme with install instrctions (#1652)

There are go.mod module name mismatches now that we've moved repos. Mention
this in the readme, and inform that v2.3.0 is the first working version in the
new location.

v1.16.3

Toggle v1.16.3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
chore: deprecate v1 module

v2.2.0

Toggle v2.2.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
docs: add Sponsors section

Plus DevZero, our first official sponsor 👏

v2.1.0

Toggle v2.1.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix: Ensure external refs are propagated to generated code

As noted in #1378, there are cases where a complex set of `$ref`s
between multiple files can lead to broken generated code, which does not
correctly import the package that has been prepared for the external
reference.

We can handle this by looking up any references, where there is a `.Ref`
passed into the type, and then iterate through relevant children.

This requires we handle the updating in-place for these by using a bit
of pointer + indexing fun.

This also adds a relevant test case to validate the fix.

Closes #1378.

v2.0.0

Toggle v2.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Bump module import path to v2

Ahead of release, we need to update to the v2 package structure, which
requires quite a few changes across packages.

v1.16.2

Toggle v1.16.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Add missing types to deprecation URLs

v1.16.1

Toggle v1.16.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix: Ensure deprecations are parsed correctly

It appears that GoDoc does not parse these deprecation warnings as a
deprecation unless there is an explicit blank comment between lines, or
it is the start of a doc comment.