grafana / grafana-app-sdk

An SDK for developing apps for grafana using kubernetes-like storage and operators
Apache License 2.0
41 stars 7 forks source link

Updated internal fork of deepmap/oapi-codegen to v2.1.0 #281

Closed IfSentient closed 2 months ago

IfSentient commented 2 months ago

Updated internal fork of deepmap/oapi-codegen and replay the allOf fix PR on top of the changes, to allow for usage of later versions of getkin/kin-openapi, as current versions of grafana-plugin-sdk-go require later versions of getkin/kin-openapi (we cannot update getkin/kin-openapi all the way to v0.124.0 as it changes Schema.Type from a string to a struct and breaks oapi-codegen).

The main changes in this PR are shown in internal/deepmap/diff.txt.

I believe this fork will no longer be necessary once https://github.com/grafana/grafana-app-sdk/issues/275 is completed, as the only impact it has seems to be on the joined metadata object (though this will require further investigation).