Skip to content

Tags: Sean-Sekora/oapi-codegen

Tags

v1.16.2

Toggle v1.16.2's commit message
Add missing types to deprecation URLs

v1.16.1

Toggle v1.16.1's commit message
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.

v1.16.0

Toggle v1.16.0's commit message
Add deprecation notice for `testutil`

v1.15.0

Toggle v1.15.0's commit message
Bump Iris to remove Go 1.21 dependency

As part of the upgrade to Go 1.21, the Go toolchain now requires the
`go` directive to match the maximum Go version in use in dependencies.

This leads to any transitive dependency on Iris to result in a
requirement of the consuming project moving to Go 1.21.

We can upgrade Iris to a version that has downgraded the Go 1.21
requirement.

We will pin to the latest commit on HEAD until v12.2.6 is released.

Closes oapi-codegen#1221.

v1.14.0

Toggle v1.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow overriding the binary version when VCS not available (oapi-code…

…gen#1163)

As mentioned in oapi-codegen#1046, for environments, like Nix, that build without a
Version Control System (VCS) available, we output `(devel)` as the
version of oapi-codegen even when it's building from source from a Git
tag.

We can therefore provide a `noVCSVersionOverride` build-time flag to
allow us to override this with an arbitrary string.

Closes oapi-codegen#1046.

Co-authored-by: Jamie Tanna <jamie@jamietanna.co.uk>

v1.13.4

Toggle v1.13.4's commit message
Fix: Generate models for all JSON media types

As highlighted in oapi-codegen#1168, we have some cases where JSON-compatible media
types aren't having their respective models generated, as we previously
only looked for `application/json`.

To resolve this, we can make sure that any media types that are
compatible with JSON (via our utility method) can have their types
generated.

This is a fix for oapi-codegen#1168, which could also be deemed a feature. However,
as this has broken in the upgrade from v1.12.x to v1.13.x, this is being
treated as a feature.

Closes oapi-codegen#1168.

v1.13.3

Toggle v1.13.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: correct marshalling for alternative JSON types (+json) for stric…

…t servers (oapi-codegen#1171)

Closes oapi-codegen#1168

v1.13.2

Toggle v1.13.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10 (oapi-codegen#1162)

Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.8 to 5.0.10.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](go-chi/chi@v5.0.8...v5.0.10)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v1.13.1

Toggle v1.13.1's commit message
fix warn log condition

v1.13.0

Toggle v1.13.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Feat: Add Fiber server support (oapi-codegen#813)

* Revert generated

* Add to cmd

* Add to codegen

* Fiber

* Fix imports

* Templates

* Split types and code

* Rename aliases

* Strict

* tests

* Validate middleware

* Templates

* Update petstore

* Generate

* Generate

* Readme

* Fix tests

* Fix build

* tweaks to get it running

* fixed linter errors, even though other servers seem to just ignore these

* Fix option yaml

* Fix tests

* Mod tidy

* Remove extra space

* Check errors

* Update pkg/fiber-middleware/oapi_validate_test.go

Co-authored-by: leonklingele <git@leonklingele.de>

* Update pkg/fiber-middleware/oapi_validate_test.go

Co-authored-by: leonklingele <git@leonklingele.de>

* Update pkg/fiber-middleware/oapi_validate_test.go

Co-authored-by: leonklingele <git@leonklingele.de>

* Update pkg/fiber-middleware/oapi_validate_test.go

Co-authored-by: leonklingele <git@leonklingele.de>

* Update pkg/fiber-middleware/oapi_validate_test.go

Co-authored-by: leonklingele <git@leonklingele.de>

* Separate oapi-codegen imports

* Use t.Helper()

* fixing comments

* Sort imports

* Use WriteString

* Fix imports

* Mods

* Generate

* Add missing config

* Use new adaptor

* Use new adaptor

* Fix compilation and test issues

- Update modules
- Add missing test handler
- Fix variable naming in strict server wrappers

---------

Co-authored-by: Carl Bring <111354161+gnirb@users.noreply.github.com>
Co-authored-by: leonklingele <git@leonklingele.de>
Co-authored-by: marcinromaszewicz <marcinromaszewicz@deepmap.ai>