From c6109fd396ac057b744bef17fb623153ab5bb72a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 29 Apr 2024 15:22:32 +0200 Subject: [PATCH] Merge pull request #2115 from acelaya-forks/feature/fix-oas-docs Fix typo in OAS docs --- CHANGELOG.md | 2 +- .../v3_short-urls_{shortCode}_redirect-rules.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cd56364..09ff8801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this * *Nothing* ### Fixed -* *Nothing* +* [#2111](https://github.com/shlinkio/shlink/issues/2111) Fix typo in OAS docs examples where redirect rules with `query-param` condition type were defined as `query`. ## [4.1.0] - 2024-04-14 diff --git a/docs/swagger/paths/v3_short-urls_{shortCode}_redirect-rules.json b/docs/swagger/paths/v3_short-urls_{shortCode}_redirect-rules.json index b87e26cb..ecb80693 100644 --- a/docs/swagger/paths/v3_short-urls_{shortCode}_redirect-rules.json +++ b/docs/swagger/paths/v3_short-urls_{shortCode}_redirect-rules.json @@ -77,12 +77,12 @@ "priority": 3, "conditions": [ { - "type": "query", + "type": "query-param", "matchKey": "foo", "matchValue": "bar" }, { - "type": "query", + "type": "query-param", "matchKey": "hello", "matchValue": "world" } @@ -209,12 +209,12 @@ "longUrl": "https://example.com/query-foo-bar-hello-world", "conditions": [ { - "type": "query", + "type": "query-param", "matchKey": "foo", "matchValue": "bar" }, { - "type": "query", + "type": "query-param", "matchKey": "hello", "matchValue": "world" } @@ -280,12 +280,12 @@ "priority": 3, "conditions": [ { - "type": "query", + "type": "query-param", "matchKey": "foo", "matchValue": "bar" }, { - "type": "query", + "type": "query-param", "matchKey": "hello", "matchValue": "world" }