Skip to content

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

@jamietanna

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/v2@v2.1.0/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileupstream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions