Open egekorkan opened 1 year ago
Same is true for action input specification when input type is object. When input type is a primitive like integer unit property is working. Also cf. listing below:
"fade":{
"input": {
"type":"object",
"properties":{
"brightness":{
"type": "integer",
"minimum": 0,
"maximum": 100,
"unit": "percent"
},
"duration":{
"type": "integer",
"unit": "milliseconds"
}
}
},
"forms": [{
"href": "http://lamp.example.com/fade",
"op": "invokeaction",
"contentType": "application/json"
}],
"safe": false,
"idempotent": false
}
Does this issue already have a priority and is there a chance that it will be fixed in not so far future?
Minor (and just partly related to this issue): @egekorkan given that we have several tools in this repo it makes sense to create a dedicated label for each. Doing so we can more easily filter issues and PRs. Is this fine by you and others?
given that we have several tools in this repo it makes sense to create a dedicated label for each
I agree! I am going to create it :)
A TD like below results in an error when trying to convert to Open API due to presence of
unit
. Removing unit fixes the transformation.