Bugzilla – Attachment 184193 Details for
Bug 40434
Add maxLength to the vendor definition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40434: Add maxLength to vendor spec file
Bug-40434-Add-maxLength-to-vendor-spec-file.patch (text/plain), 1.65 KB, created by
Jonathan Druart
on 2025-07-17 12:41:26 UTC
(
hide
)
Description:
Bug 40434: Add maxLength to vendor spec file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-17 12:41:26 UTC
Size:
1.65 KB
patch
obsolete
>From 5067c1dc2bf4266f3b1c091e7d190ee343c46c02 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 17 Jul 2025 14:40:51 +0200 >Subject: [PATCH] Bug 40434: Add maxLength to vendor spec file > >Test plan: >Apply the "tests" patch first > prove xt/api.t >=> fail >Apply this patch >=> pass >--- > api/v1/swagger/definitions/vendor.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/api/v1/swagger/definitions/vendor.yaml b/api/v1/swagger/definitions/vendor.yaml >index 717d958bf78..1a759b2ff9e 100644 >--- a/api/v1/swagger/definitions/vendor.yaml >+++ b/api/v1/swagger/definitions/vendor.yaml >@@ -34,11 +34,13 @@ properties: > - string > - "null" > description: Vendor phone number >+ maxLength: 30 > fax: > type: > - string > - "null" > description: Vendor fax number >+ maxLength: 50 > accountnumber: > type: > - string >@@ -49,6 +51,7 @@ properties: > - string > - "null" > description: Type of vendor >+ maxLength: 255 > notes: > type: > - string >@@ -64,6 +67,7 @@ properties: > - string > - "null" > description: Vendor web address >+ maxLength: 255 > active: > type: > - boolean >@@ -74,11 +78,13 @@ properties: > - string > - "null" > description: List prices currency >+ maxLength: 10 > invoice_currency: > type: > - string > - "null" > description: Invoice prices currency >+ maxLength: 10 > gst: > type: > - boolean >@@ -114,6 +120,7 @@ properties: > - string > - "null" > description: External id >+ maxLength: 255 > aliases: > type: array > description: List of aliases >-- >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 40434
: 184193 |
184194