Commit f6f4bab
committed
swagger: 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:
eclipse-cdt-cloud/trace-server-protocol#102
Signed-off-by: Bernd Hufmann <[email protected]>1 parent 8af6d85 commit f6f4bab
File tree
1 file changed
+1
-1
lines changed- trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments