From 491fa54e0f627a2bf190f71ff7100ca90009b1a9 Mon Sep 17 00:00:00 2001 From: Demian Date: Mon, 30 Oct 2017 13:59:39 +0100 Subject: [PATCH 1/2] add allow zero values for expenses --- src/teiler-io.api.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teiler-io.api.yaml b/src/teiler-io.api.yaml index 8539d4f..3216b70 100644 --- a/src/teiler-io.api.yaml +++ b/src/teiler-io.api.yaml @@ -305,7 +305,7 @@ paths: description: >- Shares don't add up to the amount or an amount / share was less than or equal to - zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_OR_EQUAL_TO_ZERO + zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO schema: $ref: '#/definitions/Error' '410': @@ -382,7 +382,7 @@ paths: description: >- Shares don't add up to the amount or an amount / share was less than or equal to - zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_OR_EQUAL_TO_ZERO + zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO schema: $ref: '#/definitions/Error' delete: From 03d174b58aa5a9fd9541f8b16e2f389865a30c3c Mon Sep 17 00:00:00 2001 From: Demian Date: Mon, 30 Oct 2017 14:03:19 +0100 Subject: [PATCH 2/2] corrected text --- src/teiler-io.api.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/teiler-io.api.yaml b/src/teiler-io.api.yaml index 3216b70..77b84da 100644 --- a/src/teiler-io.api.yaml +++ b/src/teiler-io.api.yaml @@ -303,9 +303,8 @@ paths: $ref: '#/definitions/Error' '406': description: >- - Shares don't add up to the amount or an amount / share was less than - or equal to - zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO + Shares don't add up to the amount or an amount / share was less than zero: +
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO schema: $ref: '#/definitions/Error' '410': @@ -380,9 +379,8 @@ paths: $ref: '#/definitions/Error' '406': description: >- - Shares don't add up to the amount or an amount / share was less than - or equal to - zero:
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO + Shares don't add up to the amount or an amount / share was less than zero: +
SHARES_DONT_ADD_UP
VALUE_LESS_THAN_ZERO schema: $ref: '#/definitions/Error' delete: