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>
This commit is contained in:
Tomas Cohen Arazi 2024-04-23 10:04:06 -03:00 committed by Katrin Fischer
parent a43303b88b
commit 456f47cad4
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -1198,6 +1198,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