From ce41256aa0045f12a31b62834ab9433c3c20dfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Urba=C5=84czyk?= Date: Mon, 13 Feb 2023 13:29:38 +0100 Subject: [PATCH] feat: add host and pathname fields in server object (#329) --- definitions/3.0.0/server.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/definitions/3.0.0/server.json b/definitions/3.0.0/server.json index 934a7b5d..17540811 100644 --- a/definitions/3.0.0/server.json +++ b/definitions/3.0.0/server.json @@ -2,7 +2,7 @@ "type": "object", "description": "An object representing a Server.", "required": [ - "url", + "host", "protocol" ], "additionalProperties": false, @@ -12,8 +12,13 @@ } }, "properties": { - "url": { - "type": "string" + "host": { + "type": "string", + "description": "The server host name." + }, + "pathname": { + "type": "string", + "description": "The path to a resource in the host." }, "title": { "type": "string",