From c84825f0fa645fffe563fe69df2a4f20e5213249 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 7 Jul 2023 09:55:15 +0200 Subject: [PATCH] Bug 33105: Fix vendor api spec Content-Type: text/plain; charset=utf-8 vendor ID must be integer and date attributes should specify the format accordingly. Signed-off-by: Marcel de Rooy --- api/v1/swagger/definitions/vendor_issue.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/v1/swagger/definitions/vendor_issue.yaml b/api/v1/swagger/definitions/vendor_issue.yaml index a281a84f59..bd456c1692 100644 --- a/api/v1/swagger/definitions/vendor_issue.yaml +++ b/api/v1/swagger/definitions/vendor_issue.yaml @@ -6,9 +6,8 @@ properties: description: internally assigned vendor identifier readOnly: true vendor_id: - type: - - string - description: Vendor id + description: ID of the vendor + type: integer type: type: - string @@ -18,11 +17,13 @@ properties: type: - string - "null" + format: date description: Start date ended_on: type: - string - "null" + format: date description: End date notes: type: -- 2.30.2