Skip to content

Commit 9decc00

Browse files
committed
Require nonzero group ID in equal-split method
1 parent 79d0736 commit 9decc00

4 files changed

Lines changed: 1948 additions & 229 deletions

File tree

docs/index.html

Lines changed: 1942 additions & 226 deletions
Large diffs are not rendered by default.

schemas/expense/by_shares.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ allOf:
22
- $ref: ./common.yaml
33
- type: object
44
properties:
5+
group_id:
6+
type: integer
7+
description: The group to put this expense in, or `0` to create an expense outside of a group.
58
users__0__user_id:
69
type: integer
710
example: 54123

schemas/expense/common.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ properties:
44
type: string
55
example: "25"
66
description: A string representation of a decimal value, limited to 2 decimal places
7-
group_id:
8-
type: integer
9-
description: The group to put this expense in, or `0` to create an expense outside of a group.
107
description:
118
type: string
129
description: A short description of the expense

schemas/expense/equal_group_split.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ allOf:
22
- $ref: ./common.yaml
33
- type: object
44
properties:
5+
group_id:
6+
type: integer
7+
description: The group to put this expense in.
58
split_equally:
69
type: boolean
710
enum: [true]

0 commit comments

Comments
 (0)