From f4bcfb1416f136e17c3e10f77f0c8b9db85edf26 Mon Sep 17 00:00:00 2001 From: Maks3w Date: Wed, 10 Feb 2016 13:28:53 +0100 Subject: [PATCH] Fix invalid example http://online.swagger.io/validator?url=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-with-external-docs.json > Swagger Error Missing required property definition: name Jump to line 147 Details Object code: "OBJECT_MISSING_REQUIRED_PROPERTY_DEFINITION" message: "Missing required property definition: name" path: Array [4] level: 900 type: "Swagger Error" description: "Missing required property definition: name" lineNumber: 147 --- examples/v2.0/json/petstore-with-external-docs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/v2.0/json/petstore-with-external-docs.json b/examples/v2.0/json/petstore-with-external-docs.json index 3e0fb73187..055ebc81c2 100644 --- a/examples/v2.0/json/petstore-with-external-docs.json +++ b/examples/v2.0/json/petstore-with-external-docs.json @@ -211,7 +211,7 @@ }, { "required": [ - "name" + "id" ], "properties": { "id": {