Bugzilla – Attachment 165393 Details for
Bug 26297
Add a route to list patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26297: (QA follow-up) Spec fixes
Bug-26297-QA-follow-up-Spec-fixes.patch (text/plain), 1.88 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-23 13:06:02 UTC
(
hide
)
Description:
Bug 26297: (QA follow-up) Spec fixes
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-04-23 13:06:02 UTC
Size:
1.88 KB
patch
obsolete
>From 5a9df3afbde6b8526cdc33575ca05e5213100195 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 23 Apr 2024 10:04:06 -0300 >Subject: [PATCH] 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> >--- > api/v1/swagger/paths/patron_categories.yaml | 9 ++++++++- > api/v1/swagger/swagger.yaml | 3 +++ > 2 files changed, 11 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/patron_categories.yaml b/api/v1/swagger/paths/patron_categories.yaml >index 649c10f0f77..85f57872e80 100644 >--- a/api/v1/swagger/paths/patron_categories.yaml >+++ b/api/v1/swagger/paths/patron_categories.yaml >@@ -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 >diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml >index 267ecfadc8e..e64ef8747dd 100644 >--- a/api/v1/swagger/swagger.yaml >+++ b/api/v1/swagger/swagger.yaml >@@ -1155,6 +1155,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 >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26297
:
159714
|
159715
|
159716
|
159717
|
159722
|
159921
|
159922
|
159923
|
159924
|
159955
|
160412
|
161450
|
161451
|
161484
|
161485
|
161486
|
161487
|
161488
|
161496
|
165390
|
165391
|
165392
| 165393 |
165453
|
165655
|
165827