Skip to content

Commit 62128be

Browse files
author
Piotr Stachyra
committed
Better response example in api doc for network/clock
1 parent 7a4112b commit 62128be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specifications/api/swagger.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ x-networkInformationNtpStatus: &networkInformationNtpStatus
565565
status:
566566
type: string
567567
enum:
568-
- unavailable
569568
- available
569+
- unavailable
570570
- pending
571-
drift:
571+
offset:
572572
type: object
573573
description: |
574574
<span style="position: relative; left: 35px; top: -21px; vertical-align: middle; background-color: rgba(142, 142, 220, 0.05); color: rgba(50, 50, 159, 0.9); margin: 0 5px; padding: 0 5px; border: 1px solid rgba(50, 50, 159, 0.1); line-height: 20px; font-size: 13px; border-radius: 2px;">
@@ -586,7 +586,7 @@ x-networkInformationNtpStatus: &networkInformationNtpStatus
586586
unit:
587587
type: string
588588
enum:
589-
- microseconds
589+
- microsecond
590590

591591
x-networkInformationNodeTip: &networkInformationNodeTip
592592
<<: *blockReference
@@ -661,7 +661,7 @@ components:
661661
next_epoch: *ApiEpochInfo
662662

663663
ApiNetworkClock: &ApiNetworkClock
664-
<<: *networkClockSyncProgress
664+
<<: *networkInformationNtpStatus
665665

666666
ApiNetworkParameters: &ApiNetworkParameters
667667
type: object

0 commit comments

Comments
 (0)