From 19a2c53ddd6700b6e4d0e28654276dfe017d0b7f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 29 Apr 2022 16:43:36 +0100 Subject: [PATCH] Bug 30536: (QA follow-up) POD + Spec Consistency Well spotted, this patch fixes the specs to be consistent and adds a little detail to the POD as requested. Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- Koha/REST/Plugin/Query.pm | 4 +++- api/v1/swagger/paths/acquisitions_baskets.yaml | 1 + api/v1/swagger/paths/suggestions.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Koha/REST/Plugin/Query.pm b/Koha/REST/Plugin/Query.pm index a8e2380264..b1418d6c19 100644 --- a/Koha/REST/Plugin/Query.pm +++ b/Koha/REST/Plugin/Query.pm @@ -228,7 +228,9 @@ Merges parameters from $q_params into $filtered_params. =head3 stash_embed - $c->stash_embed( ); + $c->stash_embed(); + +Unwraps and stashes the x-koha-embed headers for use later query construction =cut diff --git a/api/v1/swagger/paths/acquisitions_baskets.yaml b/api/v1/swagger/paths/acquisitions_baskets.yaml index 71bb720994..89b7d7e42b 100644 --- a/api/v1/swagger/paths/acquisitions_baskets.yaml +++ b/api/v1/swagger/paths/acquisitions_baskets.yaml @@ -24,6 +24,7 @@ type: string enum: - extended_attributes + collectionFormat: csv produces: - application/json responses: diff --git a/api/v1/swagger/paths/suggestions.yaml b/api/v1/swagger/paths/suggestions.yaml index 1abc307250..7a0650a328 100644 --- a/api/v1/swagger/paths/suggestions.yaml +++ b/api/v1/swagger/paths/suggestions.yaml @@ -240,6 +240,7 @@ type: string enum: - extended_attributes + collectionFormat: csv produces: - application/json responses: -- 2.39.5