From ac2e2497469c014a40cbd0590bcd116f32ec58fe Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 27 Oct 2024 12:33:47 +0100 Subject: [PATCH] Update swagger Short URL examples to include forwardQuery and hasRedirectRules --- docs/swagger/paths/v1_short-urls.json | 16 ++++++++++++---- docs/swagger/paths/v1_short-urls_shorten.json | 4 +++- .../swagger/paths/v1_short-urls_{shortCode}.json | 8 ++++++-- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/docs/swagger/paths/v1_short-urls.json b/docs/swagger/paths/v1_short-urls.json index 7d172ff4..89bdaaf4 100644 --- a/docs/swagger/paths/v1_short-urls.json +++ b/docs/swagger/paths/v1_short-urls.json @@ -180,7 +180,9 @@ }, "domain": null, "title": "Welcome to Steam", - "crawlable": false + "crawlable": false, + "forwardQuery": true, + "hasRedirectRules": true }, { "shortCode": "12Kb3", @@ -202,7 +204,9 @@ }, "domain": null, "title": null, - "crawlable": false + "crawlable": false, + "forwardQuery": true, + "hasRedirectRules": false }, { "shortCode": "123bA", @@ -222,7 +226,9 @@ }, "domain": "example.com", "title": null, - "crawlable": false + "crawlable": false, + "forwardQuery": false, + "hasRedirectRules": true } ], "pagination": { @@ -337,7 +343,9 @@ }, "domain": null, "title": null, - "crawlable": false + "crawlable": false, + "forwardQuery": true, + "hasRedirectRules": false } } } diff --git a/docs/swagger/paths/v1_short-urls_shorten.json b/docs/swagger/paths/v1_short-urls_shorten.json index 1136aca1..17b6f97f 100644 --- a/docs/swagger/paths/v1_short-urls_shorten.json +++ b/docs/swagger/paths/v1_short-urls_shorten.json @@ -72,7 +72,9 @@ }, "domain": null, "title": null, - "crawlable": false + "crawlable": false, + "forwardQuery": true, + "hasRedirectRules": false } }, "text/plain": { diff --git a/docs/swagger/paths/v1_short-urls_{shortCode}.json b/docs/swagger/paths/v1_short-urls_{shortCode}.json index c1a6eafc..11c1e0a7 100644 --- a/docs/swagger/paths/v1_short-urls_{shortCode}.json +++ b/docs/swagger/paths/v1_short-urls_{shortCode}.json @@ -50,7 +50,9 @@ }, "domain": null, "title": null, - "crawlable": false + "crawlable": false, + "forwardQuery": true, + "hasRedirectRules": true } } } @@ -163,7 +165,9 @@ }, "domain": null, "title": "Shlink - The URL shortener", - "crawlable": false + "crawlable": false, + "forwardQuery": false, + "hasRedirectRules": true } } }