From 4c6a2ea543c81c8f8d1b3864381230c8f78bf46d Mon Sep 17 00:00:00 2001 From: Mike Classic Date: Thu, 11 Apr 2024 16:13:56 -0400 Subject: [PATCH 1/2] Revert sort type change --- openapi/components/parameters/collectionSort.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openapi/components/parameters/collectionSort.yaml b/openapi/components/parameters/collectionSort.yaml index 2ae9d1477d..d6d0e61889 100644 --- a/openapi/components/parameters/collectionSort.yaml +++ b/openapi/components/parameters/collectionSort.yaml @@ -7,4 +7,6 @@ example: -createdTime,firstName style: form explode: false schema: - type: string + type: array + items: + type: string From 6effd6c4fb5f3d33d90746ee76a7fe589e4b0a1b Mon Sep 17 00:00:00 2001 From: Mike Classic Date: Thu, 11 Apr 2024 16:17:37 -0400 Subject: [PATCH 2/2] Remove example --- openapi/components/parameters/collectionSort.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/openapi/components/parameters/collectionSort.yaml b/openapi/components/parameters/collectionSort.yaml index d6d0e61889..4c4537fdad 100644 --- a/openapi/components/parameters/collectionSort.yaml +++ b/openapi/components/parameters/collectionSort.yaml @@ -3,7 +3,6 @@ in: query description: |- Sorts and orders the collection of items. To sort in descending order, prefix with `-`. Multiple fields can be sorted by separating each with `,`. -example: -createdTime,firstName style: form explode: false schema: