Bugzilla – Attachment 183367 Details for
Bug 40177
Add maxLength to the library definition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40177: Add maxLength to library spec file
Bug-40177-Add-maxLength-to-library-spec-file.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2025-06-19 09:20:48 UTC
(
hide
)
Description:
Bug 40177: Add maxLength to library spec file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-06-19 09:20:48 UTC
Size:
1.27 KB
patch
obsolete
>From f6512b7203e53ed3e020941166e9d17a6f47fa20 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 19 Jun 2025 11:11:01 +0200 >Subject: [PATCH] Bug 40177: Add maxLength to library spec file > >Test plan: >Apply the "tests" patch first > prove xt/api.t >=> fail >Apply this patch >=> pass >--- > api/v1/swagger/definitions/library.yaml | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/api/v1/swagger/definitions/library.yaml b/api/v1/swagger/definitions/library.yaml >index 0fc79673580..c4debe94b5e 100644 >--- a/api/v1/swagger/definitions/library.yaml >+++ b/api/v1/swagger/definitions/library.yaml >@@ -29,6 +29,7 @@ properties: > - string > - "null" > description: the postal code of the library >+ maxLength: 25 > city: > type: > - string >@@ -84,6 +85,7 @@ properties: > - string > - "null" > description: the IP address for your library or branch >+ maxLength: 15 > notes: > type: > - string >@@ -101,6 +103,7 @@ properties: > description: MARC Organization Code, see > http://www.loc.gov/marc/organizations/orgshome.html, when empty defaults > to syspref MARCOrgCode >+ maxLength: 16 > pickup_location: > type: boolean > description: If the library can act as a pickup location >-- >2.34.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 40177
:
183366
| 183367