Em ter?a-feira, 7 de mar?o de 2017, ?s 02:07:13 CET, Dave Thaler via iotivity- dev escreveu: > I don?t think this is a good direction to go in, as it would explode the > number of builtin APIs. Instead, a code-generation approach should be used > where the RAML or Swagger definition from oneiota or from introspection is > used to generate the APIs in question. That?s what we did in AllJoyn, and > what IPCA is designed to enable. The result is equivalent to what you > propose from an app developer?s point of view of what APIs they can call, > but the way to get there is quite different and easier to write and > maintain over time, and it keeps the iotvity code base much smaller.
Agreed. Any and all device-specific API should be code-generated from the OCF machine- readable files. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
