From 792c29844db2ad136d4eea8b5ff6f445b8c47535 Mon Sep 17 00:00:00 2001 From: Daniel LaCosse <3759828+daniellacosse@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:39:46 -0500 Subject: [PATCH] fix type --- src/shadowbox/server/api.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/shadowbox/server/api.yml b/src/shadowbox/server/api.yml index af7866331..070ba5c5d 100644 --- a/src/shadowbox/server/api.yml +++ b/src/shadowbox/server/api.yml @@ -159,11 +159,13 @@ paths: tunnelTime: type: object properties: - seconds: number + seconds: + type: number dataTransferred: type: object properties: - bytes: number + bytes: + type: number accessKeys: type: array items: @@ -174,11 +176,13 @@ paths: tunnelTime: type: object properties: - seconds: number + seconds: + type: number dataTransferred: type: object properties: - bytes: number + bytes: + type: number examples: '0': value: '{"server":[{"location":"US","asn":null,"asOrg":null,"tunnelTime":{"seconds":100},"dataTransferred":{"bytes":100}}],"accessKeys":[{"accessKeyId":"0","tunnelTime":{"seconds":100},"dataTransferred":{"bytes":100}}]}'