From 81c110022ec618ff5dc400ce47a2aa67904f8947 Mon Sep 17 00:00:00 2001 From: Oleg Yakovenko Date: Thu, 4 Jun 2020 17:19:15 +0300 Subject: [PATCH] example json actualized --- test-app/swagger/v1/swagger.json | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test-app/swagger/v1/swagger.json b/test-app/swagger/v1/swagger.json index 957206c..874e8ab 100644 --- a/test-app/swagger/v1/swagger.json +++ b/test-app/swagger/v1/swagger.json @@ -235,16 +235,14 @@ "type": "string" } }, - "examples": { - "application/json": { - "id": 1, - "title": "Hello world!", - "content": "Hello world and hello universe. Thank you all very much!!!", - "thumbnail": "thumbnail.png" - } - }, "content": { "application/json": { + "example": { + "id": 1, + "title": "Hello world!", + "content": "Hello world and hello universe. Thank you all very much!!!", + "thumbnail": "thumbnail.png" + }, "schema": { "$ref": "#/definitions/blog" }