eclipse-esmf / esmf-aspect-model-editor

Manage Aspect Models visually — create, validate, create artefacts, persist file based
https://eclipse-esmf.github.io/ame-guide/introduction.html
Mozilla Public License 2.0
21 stars 6 forks source link

[BUG] Cannot specify exampleValue true/false for Boolean Characteristic instance #94

Closed chris-volk closed 8 months ago

chris-volk commented 8 months ago

Create a minimal Aspect Model: One property with Characteristic Instance Boolean. Specify true or false as example value. Generate JSON Schema.

Expected: true/false (without strings) is generated as example value (as would be in json sample payload if no exampleValue is provided).

Actual: JSON Schema cannot be generated due to datatype mismatch.

Reason: Boolean is currently using datatype string, expected: boolean.

Applies to: AME 4.5.2

image
Kostadin-Ivanov commented 8 months ago

Tested on AME version: 4.6.0 and expected dataType for a Boolean characteristic was: boolean as expected.

michelu89 commented 8 months ago

Will be part of the next release.