From 164fee70df773d8bc20c28def0a39ba16e562ba2 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 6 Jan 2022 13:12:11 +0000 Subject: [PATCH] Bug 29810: Document x-koha-embed header on patrons endpoints --- api/v1/swagger/paths/patrons.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml index 76fe6c1bbb..1c75ca28eb 100644 --- a/api/v1/swagger/paths/patrons.yaml +++ b/api/v1/swagger/paths/patrons.yaml @@ -351,6 +351,16 @@ - $ref: ../parameters.yaml#/q_param - $ref: ../parameters.yaml#/q_body - $ref: ../parameters.yaml#/q_header + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - extended_attributes + collectionFormat: csv responses: "200": description: A list of patrons @@ -448,6 +458,16 @@ summary: Get patron parameters: - $ref: ../parameters.yaml#/patron_id_pp + - name: x-koha-embed + in: header + required: false + description: Embed list sent as a request header + type: array + items: + type: string + enum: + - extended_attributes + collectionFormat: csv produces: - application/json responses: -- 2.20.1