From d910cce8073263f819e03cddecdbdd19ff7f491f Mon Sep 17 00:00:00 2001 From: catbref Date: Thu, 6 Jun 2019 14:18:16 +0100 Subject: [PATCH] Improve API peer info output --- src/main/java/org/qora/api/model/ConnectedPeer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/qora/api/model/ConnectedPeer.java b/src/main/java/org/qora/api/model/ConnectedPeer.java index 1a07ca8f..f15f372c 100644 --- a/src/main/java/org/qora/api/model/ConnectedPeer.java +++ b/src/main/java/org/qora/api/model/ConnectedPeer.java @@ -7,6 +7,8 @@ import org.qora.data.network.PeerData; import org.qora.network.Handshake; import org.qora.network.Peer; +import io.swagger.v3.oas.annotations.media.Schema; + @XmlAccessorType(XmlAccessType.FIELD) public class ConnectedPeer { @@ -23,6 +25,7 @@ public class ConnectedPeer { public Long buildTimestamp; public Integer lastHeight; + @Schema(example = "base58") public byte[] lastBlockSignature; public Long lastBlockTimestamp;