You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trace-server (built from incubator 4b14d71637df2cedecd48d4287851315418a2d31) is inconsistent with the openapi specification with regards to the format of OutputElementStyle.
OutputElementStyle is defined in the openapi specification as follows:
diff --git a/API.yaml b/API.yaml
index af1ee4c..1060590 100644
--- a/API.yaml+++ b/API.yaml@@ -1605,7 +1605,6 @@ components:
values:
type: object
additionalProperties:
- type: object
description: Style values or empty map if there are no values. Keys and
values are defined in https://git.eclipse.org/r/plugins/gitiles/tracecompass/org.eclipse.tracecompass/+/refs/heads/master/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/model/StyleProperties.java
description: Style values or empty map if there are no values. Keys and
The text was updated successfully, but these errors were encountered:
The trace-server (built from incubator 4b14d71637df2cedecd48d4287851315418a2d31) is inconsistent with the openapi specification with regards to the format of OutputElementStyle.
OutputElementStyle is defined in the openapi specification as follows:
This matches an example JSON like:
What the server actually responds with (xy model for HistogramDataProvider) is JSON like:
or (from latency analysis I believe):
Notice how the keys of "values" point to strings and not to objects.
I think the underlying issue is because the openapi specification (and
implementation of OutputElementStyle) is defined in Java as:
The Java notion of an
Object
can mean a lot of things, but a JSONnotion of an
Object
is more specific and does not include strings.It appears the
values
of anOutputElementStyle
should rather bedefined as any type. See free-form objects in:
https://swagger.io/docs/specification/data-models/dictionaries/
The text was updated successfully, but these errors were encountered: