Azure / iot-plugandplay-models-tools

Tools to manage the device-models repo
MIT License
13 stars 17 forks source link

Parse Index.json file #203

Open chandra-rayaprol opened 1 year ago

chandra-rayaprol commented 1 year ago

The specification defines the format of the Index file (https://github.com/Azure/iot-plugandplay-models-tools/wiki/Model-Index). Is it possible to add an API for parsing the index file either in DTDLParser or in the Azure.IoT.ModelsRepository SDK? Currently I am parsing the ''index.json'' using HttpClient. Here is the sample (https://github.com/Raysapps/DTDLIndex) for your reference.