Skip to content

Commit 0f2f152

Browse files
committed
Allow double and remove boolean in OutputElementStyle
Previously only float values were allowed. Don't restrict to float and allow Double as well. Note when deserializing JSON strings a floating point value will be deserialized to Double, e.g. when using Jackson deserializer (Java) or in Javascript. Remove boolean because it can be expressed as String and boolean have no equivalent type in CSS where the StyleProperties are inspired of. Contributes to: #102 Corresponding swagger model update: eclipse-tracecompass-incubator/org.eclipse.tracecompass.incubator#192 Signed-off-by: Bernd Hufmann <[email protected]>
1 parent d5472ed commit 0f2f152

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

API-proposed.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,10 +2635,9 @@ components:
26352635
oneOf:
26362636
- type: string
26372637
- type: number
2638-
format: float
2638+
format: double
26392639
- type: integer
26402640
format: int32
2641-
- type: boolean
26422641
AnnotationsParameters:
26432642
required:
26442643
- requested_timerange

API.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,10 +2114,9 @@ components:
21142114
oneOf:
21152115
- type: string
21162116
- type: number
2117-
format: float
2117+
format: double
21182118
- type: integer
21192119
format: int32
2120-
- type: boolean
21212120
AnnotationsParameters:
21222121
required:
21232122
- requested_timerange

0 commit comments

Comments
 (0)