From f3bcea00cd0de1f874728142babd7b10b379cf15 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 11 May 2017 17:59:37 +0200 Subject: [PATCH] Fix secret/{id} response example Fixes a warning that was shown; Warning: Other properties are defined at the same level as $ref at "#/paths/~1secrets~1{id}/get/responses/200/schema". They are IGNORED according to the JsonSchema spec That resulted in the example not being rendered in the documentation. Signed-off-by: Sebastiaan van Stijn --- api/swagger.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 18971c4b07..1b4f740f15 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -8242,7 +8242,8 @@ paths: description: "no error" schema: $ref: "#/definitions/Secret" - example: + examples: + application/json: ID: "ktnbjxoalbkvbvedmg1urrz8h" Version: Index: 11