From f60ed57416c0de0328da29dac4987dd67e9b9bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Mon, 21 Oct 2019 15:49:24 +0200 Subject: [PATCH] Fix syntax errors --- examples/v3.0/api-with-examples.yaml | 29 +++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/examples/v3.0/api-with-examples.yaml b/examples/v3.0/api-with-examples.yaml index 09003b6aba..82b58141ef 100644 --- a/examples/v3.0/api-with-examples.yaml +++ b/examples/v3.0/api-with-examples.yaml @@ -13,9 +13,10 @@ paths: 200 response content: application/json: - examples: + examples: foo: - value: { + value: + { "versions": [ { "status": "CURRENT", @@ -40,15 +41,15 @@ paths: ] } ] - } + } '300': description: |- 300 response content: - application/json: - examples: + application/json: + examples: foo: - value: | + value: { "versions": [ { @@ -74,7 +75,7 @@ paths: ] } ] - } + } /v2: get: operationId: getVersionDetailsv2 @@ -84,10 +85,11 @@ paths: description: |- 200 response content: - application/json: + application/json: examples: foo: - value: { + value: + { "version": { "status": "CURRENT", "updated": "2011-01-21T11:33:21Z", @@ -124,15 +126,16 @@ paths: } ] } - } + } '203': description: |- 203 response content: - application/json: + application/json: examples: foo: - value: { + value: + { "version": { "status": "CURRENT", "updated": "2011-01-21T11:33:21Z", @@ -164,4 +167,4 @@ paths: } ] } - } + }