fix(deps): update module github.com/getkin/kin-openapi to v0.134.0 (go.mod) - abandoned by renovate[bot] · Pull Request #2292 · oapi-codegen/oapi-codegen

@renovate

@renovate bot added the dependencies

Pull requests that update a dependency file

label

Mar 13, 2026

This was referenced

Mar 16, 2026
In kin-openapi v0.134.0, Discriminator.Mapping changed from
map[string]string to StringMap[MappingRef], where MappingRef is
type MappingRef SchemaRef (a struct with a Ref string field).

This caused a compile error in generateUnion where v (MappingRef) was
compared directly against element.Ref (string). Fix by comparing
v.Ref instead.

Bump kin-openapi dependency to v0.134.0.

@jamietanna

@renovate renovate bot changed the title fix(deps): update module github.com/getkin/kin-openapi to v0.134.0 (go.mod) fix(deps): update module github.com/getkin/kin-openapi to v0.134.0 (go.mod) - abandoned

Mar 18, 2026