|
As discussed in NETCONF-215 if it's technically possibly (with Swagger) it would be "nice" if the Model Schema under Data Type 'Click to set as parameter value' would put in VALID example values; e.g. "toasterDoneness": "1" instead of "integer", etc.
This would have to take into account various things such as data types, required/mandatory etc. I would imagine that the logic for chosing and example value could be kept trivial - something like if it's numeric, then 0 or 1 or the first possible value (if if's a range), if it's an enum then just the first value, if it's a non-empty list then (recursively) a value for 1 list element, etc.
This is an Enhancement, not a bug. I don't know how feasible this is. NETCONF-215 and NETCONF-214 are clearly higher prioritities, and this one is a nice to have (which would be cool) as a future follow-up after those are settled.
|