<div dir="ltr">Got it, thank you for your information!</div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-22 17:33 GMT+08:00 Juan Hernández <span dir="ltr">&lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/22/2018 04:40 AM, Shao-Da Huang wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Juan,<br>
<br>
I saw the discussion in users-list:<br>
<a href="http://lists.ovirt.org/pipermail/users/2017-April/081618.html" rel="noreferrer" target="_blank">http://lists.ovirt.org/piperma<wbr>il/users/2017-April/081618.<wbr>html</a><br>
and I&#39;m curious about how to generate the Swagger specfication of existing<br>
oVirt API (or maybe can generate by ovirt-engine-api-model?).<br>
Could you give me some advices on the generating tools or maybe some points<br>
to change during the procedure of building ovirt-engine?<br>
<br>
Michael<br>
<br>
</blockquote>
<br></div></div>
The JSON file that I mentioned in that mail was generated using I tool that I started to write, but that I never finished. I just have uploaded the patch that adds it to the ovirt-engine-api-metamodel project:<br>
<br>
  [WIP] Generate Swagger specification<br>
  <a href="https://gerrit.ovirt.org/89337" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/89337</a><br>
<br>
Note that it is by no means complete, it is just an experiment. Take a look if you are curious.<br>
<br>
Truth is that I don&#39;t plan to work on that. Would be nice if you can take it and complete it. If you complete it, then it could be integrated in the build process of the ovirt-engine-api-model project, so that it is generated automatically.<br>
</blockquote></div><br></div>