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/7060e3a031fb4e4cdf85f616f1e1a3435d61e696/ipaserver/plugins/host.py#L202 (to replace managedby_host with managedby_host*)? Also, is there something else to do in addition to this modification?
Regards Yann _______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue