Skip to content

Commit 2eed742

Browse files
Update documented enum values for group_type
1 parent 205b610 commit 2eed742

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

docs/index.html

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

paths/create_group.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ post:
1919
type: string
2020
group_type:
2121
type: string
22-
description: What is the group used for?
23-
enum: [apartment, house, trip, other]
22+
enum: [home, trip, couple, other, apartment, house]
23+
example: "home"
24+
description: |
25+
What is the group used for?
26+
27+
**Note**: It is recommended to use `home` in place of `house` or `apartment`.
2428
simplify_by_default:
2529
type: boolean
2630
description: Turn on simplify debts?

schemas/group.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ properties:
88
example: "Housemates 2020"
99
group_type:
1010
type: string
11-
enum: [apartment, house, trip, other]
11+
enum: [home, trip, couple, other, apartment, house]
1212
example: "apartment"
13+
description: |
14+
What is the group used for?
15+
16+
**Note**: It is recommended to use `home` in place of `house` or `apartment`.
1317
updated_at:
1418
type: string
1519
format: date-time

0 commit comments

Comments
 (0)