From 8e7605093c39a9e81982b467b27738d67c209537 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. --- 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 a281a84f59a..bd456c1692f 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.25.1