-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit breaks OpenAPI conversion #36
Comments
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? |
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.The text was updated successfully, but these errors were encountered: