fix(deps): update module github.com/getkin/kin-openapi to v0.134.0 (go.mod)#2295
Conversation
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.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
This would fix #2292, which is currently blocking us from upgrading github.com/getkin/kin-openapi to v0.134.0 in our projects. A patch release for |
|
Please can you make sure you've updated all the references? Replaces #2292 |
|
We likely won't do a patch release due to changes already on |
|
Thanks! |
|
Thank you for the fix. Just hit this issue and reached here. |
Do you have any idea when the next release would be? |
|
No plans - companies sponsoring us to be able to put more time towards a release schedule would be appreciated! https://github.com/oapi-codegen/oapi-codegen?tab=readme-ov-file#pinning-to-commits |
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). See getkin/kin-openapi#1108
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.