From 9f329f659745b5aed4783ee62e60d0a53e82d36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yago=20Gonz=C3=A1lez?= Date: Tue, 23 May 2017 20:22:50 -0700 Subject: [PATCH] docs: Fix JsonSuccess and JsonError models. --- static/yaml/zulip.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/yaml/zulip.yaml b/static/yaml/zulip.yaml index 2df1c0444c..c08df19b16 100644 --- a/static/yaml/zulip.yaml +++ b/static/yaml/zulip.yaml @@ -419,23 +419,23 @@ definitions: - msg - result properties: - msg: - type: string result: type: string JsonSuccess: allOf: - $ref: '#/definitions/JsonResponse' - properties: + - properties: msg: + type: string default: success JsonError: allOf: - $ref: '#/definitions/JsonResponse' - properties: + - properties: msg: + type: string default: error # /messages