From d847bd0f5d7b40b3dbbff30d047ce80e8e1f933a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 13 Nov 2020 12:52:04 +0100 Subject: [PATCH] Prettify swagger description of ApiHealthCheck --- specifications/api/swagger.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/specifications/api/swagger.yaml b/specifications/api/swagger.yaml index c7357513833..7589c414423 100644 --- a/specifications/api/swagger.yaml +++ b/specifications/api/swagger.yaml @@ -1802,10 +1802,13 @@ components: enum: ["available", "unavailable", "unreachable", "no_smash_configured"] description: | The status of the SMASH server. Possible values are: - - available -> SMASH server is awaiting your requests - - unavailable -> SMASH server is running, but currently unavailable, try again in a short time - - unreachable -> SMASH server could not be reached or didn't return a health status - - no_smash_configured -> SMASH is currently not configured, adjust the Settings first + + status | description + --- | --- + `"available"` | server is awaiting your requests + `"unavailable"` | server is running, but currently unavailable, try again in a short time + `"unreachable"` | server could not be reached or didn't return a health status + `"no_smash_configured"` | SMASH is currently not configured, adjust the Settings first ApiWalletPutPassphraseData: &ApiWalletPutPassphraseData type: object