Bug 23049: (QA follow-up) Fix swagger spec for account line
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 22 Oct 2019 10:14:43 +0000 (11:14 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 24 Oct 2019 16:25:21 +0000 (17:25 +0100)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

api/v1/swagger/definitions/account_line.json

index b0e71e7..f1a68a5 100644 (file)
       "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": {