From 46174f5e7e0397baafc3676f02f8c988bb2648b0 Mon Sep 17 00:00:00 2001 From: James Dickson Date: Thu, 14 Dec 2023 12:16:56 -0500 Subject: [PATCH] Fixed cluster containers sort default being name, which is not a valid property --- components/parameters/sort2.yaml | 5 +++++ paths/api@clusters@id@containers.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 components/parameters/sort2.yaml diff --git a/components/parameters/sort2.yaml b/components/parameters/sort2.yaml new file mode 100644 index 00000000..cb799bb4 --- /dev/null +++ b/components/parameters/sort2.yaml @@ -0,0 +1,5 @@ +name: sort +in: query +description: Sort order, the name of the property to sort by +schema: + type: string \ No newline at end of file diff --git a/paths/api@clusters@id@containers.yaml b/paths/api@clusters@id@containers.yaml index 01f468ba..944e753a 100644 --- a/paths/api@clusters@id@containers.yaml +++ b/paths/api@clusters@id@containers.yaml @@ -8,7 +8,7 @@ get: - $ref: ../components/parameters/clusterId-path.yaml - $ref: ../components/parameters/max.yaml - $ref: ../components/parameters/offset.yaml - - $ref: ../components/parameters/sort.yaml + - $ref: ../components/parameters/sort2.yaml - $ref: ../components/parameters/order.yaml - $ref: ../components/parameters/phrase.yaml - $ref: ../components/parameters/resourceLevel.yaml