From 2f5883c997c727ecc2b85a3974795920bb7d9ac8 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 vendor ID must be integer and date attributes should specify the format accordingly. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- 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.39.2