From 1fd8554894ff4327dbef4ff37777434bb7588917 Mon Sep 17 00:00:00 2001 From: Charles Horn Date: Wed, 22 Jul 2015 17:22:33 +1200 Subject: [PATCH] Fix 'host' definition and format: uri conflict --- schemas/v2.0/schema.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schemas/v2.0/schema.json b/schemas/v2.0/schema.json index 1ae668e277..e142ad275b 100644 --- a/schemas/v2.0/schema.json +++ b/schemas/v2.0/schema.json @@ -27,9 +27,8 @@ }, "host": { "type": "string", - "format": "uri", "pattern": "^[^{}/ :\\\\]+(?::\\d+)?$", - "description": "The fully qualified URI to the host of the API." + "description": "The host (name or ip) of the API. Example: 'swagger.io'" }, "basePath": { "type": "string", @@ -1492,4 +1491,4 @@ } } } -} \ No newline at end of file +}