Skip to content

Commit

Permalink
Fixes three Zipkin v2 swagger2 datatypes (#94)
Browse files Browse the repository at this point in the history
This allows generated clients to de-serialize microseconds in timestamps.

Co-authored-by: Philip Bawn <[email protected]>
  • Loading branch information
philipbawn and philipbawn authored Jan 17, 2024
1 parent 7692ca7 commit 2a64cf0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zipkin2-api.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2018-2019 The OpenZipkin Authors
# Copyright 2018-2021 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -115,12 +115,14 @@ paths:
- name: minDuration
in: query
type: integer
format: int64
description: |
Ex. 100000 (for 100ms). Only return traces whose `Span.duration` is
greater than or equal to minDuration microseconds.
- name: maxDuration
in: query
type: integer
format: int64
description: |
Only return traces whose Span.duration is less than or equal to
`maxDuration` microseconds. Only valid with minDuration.
Expand Down Expand Up @@ -317,6 +319,7 @@ definitions:
properties:
timestamp:
type: integer
format: int64
description: |
Epoch **microseconds** of this event.
Expand Down

0 comments on commit 2a64cf0

Please sign in to comment.