From 01d480da3cf48019269598c708b41fca603572f1 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Fri, 24 Nov 2017 11:40:53 +0100 Subject: [PATCH] duplicate definitions for API response with just an ID Signed-off-by: Nicolas De Loof Upstream-commit: d6935a8f1a4003c0b6f1b89a0e28e721d0756ac9 Component: engine --- components/engine/api/swagger.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 34f130a5c9..bb15ad5b5f 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -9512,13 +9512,7 @@ paths: 201: description: "no error" schema: - type: "object" - properties: - ID: - description: "The ID of the created secret." - type: "string" - example: - ID: "ktnbjxoalbkvbvedmg1urrz8h" + $ref: "#/definitions/IdResponse" 409: description: "name conflicts with an existing object" schema: @@ -9717,13 +9711,7 @@ paths: 201: description: "no error" schema: - type: "object" - properties: - ID: - description: "The ID of the created config." - type: "string" - example: - ID: "ktnbjxoalbkvbvedmg1urrz8h" + $ref: "#/definitions/IdResponse" 409: description: "name conflicts with an existing object" schema: