From 7189c4f0a23eee85e915cc7ea15407a5c6e7c427 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 22 Oct 2019 11:14:43 +0100 Subject: [PATCH] Bug 23049: (QA follow-up) Fix swagger spec for account line Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- api/v1/swagger/definitions/account_line.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api/v1/swagger/definitions/account_line.json b/api/v1/swagger/definitions/account_line.json index b0e71e7253..f1a68a570e 100644 --- a/api/v1/swagger/definitions/account_line.json +++ b/api/v1/swagger/definitions/account_line.json @@ -40,11 +40,17 @@ "description": "Account line description" }, "account_type": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Account line type" }, "debit_type": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Account line debit type" }, "payment_type": { -- 2.20.1