Bug 26297: (QA follow-up) Spec fixes
This patch fixes some spec misses. To test:
1. Run:
$ ktd --shell
k$ prove xt/api.t
=> FAIL: Tests fail!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 456f47cad4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
b3dff5beab
commit
b3a2fe6b2c
|
|
@ -8,7 +8,14 @@
|
|||
summary: List patron categories
|
||||
produces:
|
||||
- application/json
|
||||
parameters: []
|
||||
parameters:
|
||||
- $ref: "../swagger.yaml#/parameters/match"
|
||||
- $ref: "../swagger.yaml#/parameters/order_by"
|
||||
- $ref: "../swagger.yaml#/parameters/page"
|
||||
- $ref: "../swagger.yaml#/parameters/per_page"
|
||||
- $ref: "../swagger.yaml#/parameters/q_param"
|
||||
- $ref: "../swagger.yaml#/parameters/q_body"
|
||||
- $ref: "../swagger.yaml#/parameters/request_id_header"
|
||||
responses:
|
||||
"200":
|
||||
description: A list of patron categories
|
||||
|
|
|
|||
|
|
@ -1163,6 +1163,9 @@ tags:
|
|||
- description: "Handle OAuth flows\n"
|
||||
name: oauth
|
||||
x-displayName: OAuth
|
||||
- description: "Manage patron categories\n"
|
||||
name: patron_categories
|
||||
x-displayName: Patron categories
|
||||
- description: "Manage patrons\n"
|
||||
name: patrons
|
||||
x-displayName: Patrons
|
||||
|
|
|
|||
Loading…
Reference in New Issue