Bugzilla – Attachment 182015 Details for
Bug 39835
Tidy is_boolean / tinyint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39835: (follow-up) Fix API specs to check for boolean
Bug-39835-follow-up-Fix-API-specs-to-check-for-boo.patch (text/plain), 3.26 KB, created by
Matt Blenkinsop
on 2025-05-07 08:41:40 UTC
(
hide
)
Description:
Bug 39835: (follow-up) Fix API specs to check for boolean
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-05-07 08:41:40 UTC
Size:
3.26 KB
patch
obsolete
>From 07499dd99404e2d7302bf72b69a3f3bc868e9222 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >Date: Wed, 7 May 2025 09:37:49 +0100 >Subject: [PATCH] Bug 39835: (follow-up) Fix API specs to check for boolean > >--- > api/v1/swagger/definitions/item.yaml | 12 ++++++------ > api/v1/swagger/definitions/patron.yaml | 2 +- > api/v1/swagger/definitions/patron_category.yaml | 2 +- > 3 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/api/v1/swagger/definitions/item.yaml b/api/v1/swagger/definitions/item.yaml >index b254eb2dc34..fdae8c49eed 100644 >--- a/api/v1/swagger/definitions/item.yaml >+++ b/api/v1/swagger/definitions/item.yaml >@@ -65,13 +65,13 @@ properties: > format: date-time > description: The date the item barcode was last scanned > not_for_loan_status: >- type: integer >+ type: boolean > description: Authorized value defining why this item is not for loan > effective_not_for_loan_status: > type: integer > description: Authorized value defining why this item is not for not_for_loan_status > damaged_status: >- type: integer >+ type: boolean > description: Authorized value defining this item as damaged > damaged_date: > type: >@@ -79,7 +79,7 @@ properties: > - "null" > description: The date and time an item was last marked as damaged, NULL if not damaged > lost_status: >- type: integer >+ type: boolean > description: Authorized value defining this item as lost > lost_date: > type: >@@ -88,7 +88,7 @@ properties: > format: date-time > description: The date and time an item was last marked as lost, NULL if not lost > withdrawn: >- type: integer >+ type: boolean > description: Authorized value defining this item as withdrawn > withdrawn_date: > type: >@@ -130,7 +130,7 @@ properties: > description: Number of times this item has been placed on hold/reserved > restricted_status: > type: >- - integer >+ - boolean > - "null" > description: Authorized value defining use restrictions for this item > public_notes: >@@ -194,7 +194,7 @@ properties: > description: Materials specified > shelving_control_number: > type: >- - number >+ - boolean > - "null" > description: Shelving control number > uri: >diff --git a/api/v1/swagger/definitions/patron.yaml b/api/v1/swagger/definitions/patron.yaml >index 4adf5dcd534..4b61ae2d463 100644 >--- a/api/v1/swagger/definitions/patron.yaml >+++ b/api/v1/swagger/definitions/patron.yaml >@@ -320,7 +320,7 @@ properties: > type: integer > description: patron's privacy settings related to their checkout history > privacy_guarantor_checkouts: >- type: integer >+ type: boolean > description: controls if relatives can see this patron's checkouts > privacy_guarantor_fines: > type: boolean >diff --git a/api/v1/swagger/definitions/patron_category.yaml b/api/v1/swagger/definitions/patron_category.yaml >index 67235817840..072b805e668 100644 >--- a/api/v1/swagger/definitions/patron_category.yaml >+++ b/api/v1/swagger/definitions/patron_category.yaml >@@ -32,7 +32,7 @@ properties: > description: Age limit for the patron > lower_age_limit: > type: >- - number >+ - boolean > - "null" > description: The minimum age required for the patron category > enrolment_fee: >-- >2.48.1
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 39835
:
181924
|
181925
|
181926
|
181927
|
181971
|
182015
|
182020
|
182021