Interactions-HSG / grpcwot

A simple command line tool to generate a Thing Description from Protocol Buffers
GNU General Public License v3.0
0 stars 0 forks source link

Traverse linkedRPC to find specific value based on blueprint annotation #10

Closed S-Eibl closed 2 years ago

S-Eibl commented 2 years ago

This issue should be able to extract a value from the data stored in a linkedRPC based on a path directing to that value provided by the blueprint to generate a TDs part. For example the blueprint for properties title:

"title": {
    "value_": "<rpcFunction.Comment.long-title>",
    "required_": true
},

The value_ provides the information where to find the desired value relative to the linkedRPC object. In this case this is in the rpcFunction search for the Comment and search in the Comment for a line annotated with long-title

Tasks