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
I'm trying to use a code generator around this swagger definition, unfortunately the definition for the Trace by Trace ID endpoint is defined incorrectly, its subtle though.
get:
responses:
200:
description: OK
schema:
description: An array of spans that share the same trace id
type: array
items:
$ref: "#/definitions/Trace"
A Trace is defined as an array of Spans already. I believe the type on this should be "#/definitions/Trace" instead of array. At least that would match what I am getting back from zipkin-query api.
I'm trying to use a code generator around this swagger definition, unfortunately the definition for the Trace by Trace ID endpoint is defined incorrectly, its subtle though.
A Trace is defined as an array of Spans already. I believe the type on this should be
"#/definitions/Trace"
instead of array. At least that would match what I am getting back from zipkin-query api.I'm in a bunch of meetings today but I will submit a PR if I get a few minutes to apply my change and test it.
The text was updated successfully, but these errors were encountered: