Skip to content

v0.124.0 of kin-openapi introduces compilation errors #1533

Closed

Description

@jamietanna

As seen in #1532

Raising this for an FYI for anyone who may see errors like the below in their own builds when updating kin-openapi:

/go/pkg/mod/github.com/deepmap/oapi-codegen/[email protected]/pkg/codegen/codegen.go:1070:12: cannot convert "object" (untyped string constant) to type *openapi3.Types

Absolutely fair for them to do this, as is their right in a pre-v1 release.

This will be fixed by the next release, but in the meantime, it may be worth not upgrading kin-openapi if you can avoid it, or once #1532 is merged, pin to HEAD.

Activity

  1. added
    dependencies
    on Apr 8, 2024
  2. jamietanna commented on Apr 15, 2024

    @jamietanna
    MemberAuthor

    Note that this will also require us bumping the middlewares, as each of them need to also be at a compatible kin-openapi version

  3. added this to the v2.2.0 milestone on May 3, 2024
  4. added a commit that references this issue on May 20, 2024
  5. jamietanna commented on May 29, 2024

    @jamietanna
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesupstream

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions