You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linked issues should have descriptions of how to make the code generator behave itself. Note that redoing the code generation will run into OpenAPITools/openapi-generator#7473 and so we'll need to do some of the manual editing to remove the "4XX" checks.
We could also drop the OpenAPITools code generator and either use an alternative or write the client manually, but that might not be worth doing at the moment.
Next step here is probably evaluating if any of the workarounds in the linked issues work and if they don't then we can decide if the next thing is to just drop OpenAPITools as being a pain, or work with them on a patch.
Jorropo
changed the title
PinStatus.Info incorrectly generated
pinning/http: PinStatus.Info incorrectly generated
Jun 26, 2023
Jorropo
transferred this issue from ipfs/go-pinning-service-http-client
Jun 26, 2023
PinStatus.Info should be an arbitrary JSON object which is generally represented in Go as map[string]interface{}.
It looks like the tools have some bugs around doing this by default.
OpenAPITools/openapi-generator#3277
OpenAPITools/openapi-generator#518
Also the
Meta()
wrapper function we wrote incorrectly returnsmap[string]string
as well, so probably I should have noticed this earlier 🤦♂️.cc @whyrusleeping @lidel
The text was updated successfully, but these errors were encountered: