Hello,
There’s an attempt to autogenerate a Go package to interact with the API of FreeIPA, based on the schema returned by the API: https://github.com/ccin2p3/go-freeipa. However, the schema seems to be inexact in several places and the generation process have to use some dirty workarounds. For example, it seems that the managedby_host field returned in a host_show result is multi-valued, whereas it’s not stated in the schema. I was wondering how I could help fix this schema and I’d like to confirm that the line to modify in this case would be https://github.com/freeipa/freeipa/blob/7060e3a031fb4e4cdf85f616f1e1a3435d61... (to replace managedby_host with managedby_host*)? Also, is there something else to do in addition to this modification?
Regards
Yann
freeipa-devel@lists.fedorahosted.org