From d29ebb706e66151dba7e1f4084ffe930c70af85f Mon Sep 17 00:00:00 2001 From: Alejandro Celaya <alejandro@alejandrocelaya.com> Date: Sun, 22 Mar 2020 14:06:13 +0100 Subject: [PATCH] Documented longUrl param on PATCH short URL endpoint --- docs/swagger/paths/v1_short-urls_{shortCode}.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/swagger/paths/v1_short-urls_{shortCode}.json b/docs/swagger/paths/v1_short-urls_{shortCode}.json index b9baad92..71a6a427 100644 --- a/docs/swagger/paths/v1_short-urls_{shortCode}.json +++ b/docs/swagger/paths/v1_short-urls_{shortCode}.json @@ -112,6 +112,10 @@ "schema": { "type": "object", "properties": { + "longUrl": { + "description": "The long URL this short URL will redirect to", + "type": "string" + }, "validSince": { "description": "The date (in ISO-8601 format) from which this short code will be valid", "type": "string" @@ -157,6 +161,7 @@ "items": { "type": "string", "enum": [ + "longUrl", "validSince", "validUntil", "maxVisits"