Skip to content

Commit 2a491c8

Browse files
committed
Fix additional semantic issues
1 parent 653ced0 commit 2a491c8

7 files changed

Lines changed: 24 additions & 7 deletions

File tree

docs/index.html

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

paths/add_user_to_group.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ post:
5959
type: object
6060
additionalProperties:
6161
type: array
62+
items:
63+
type: string
6264
examples:
6365
Success:
6466
value:

paths/create_friends.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ post:
3939
- "$ref": "../schemas/friend.yaml"
4040
- title: User
4141
errors:
42-
type: array
43-
example: []
42+
type: object
43+
additionalProperties:
44+
type: array
45+
items:
46+
type: string
4447
'400':
4548
description: Bad Request
4649
content:
@@ -50,11 +53,17 @@ post:
5053
properties:
5154
users:
5255
type: array
56+
items:
57+
allOf:
58+
- "$ref": "../schemas/friend.yaml"
59+
- title: User
5360
example: []
5461
errors:
5562
type: object
5663
additionalProperties:
5764
type: array
65+
items:
66+
type: string
5867
example:
5968
base:
6069
- Please supply a name for this user

paths/delete_friend.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ post:
2828
type: object
2929
additionalProperties:
3030
type: array
31+
items:
32+
type: string
3133
examples:
3234
Success:
3335
value:

paths/remove_user_from_group.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ post:
3737
type: object
3838
additionalProperties:
3939
type: array
40+
items:
41+
type: string
4042
examples:
4143
Success:
4244
value:

paths/undelete_group.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ post:
2525
type: boolean
2626
errors:
2727
type: array
28+
items:
29+
type: string
2830
examples:
2931
Success:
3032
value:

splitwise.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ components:
326326
$ref: ./responses/unauthorized.yaml
327327
Forbidden:
328328
$ref: ./responses/forbidden.yaml
329-
Not Found:
329+
Not_Found:
330330
$ref: ./responses/not_found.yaml
331331
schemas:
332332
Debt:

0 commit comments

Comments
 (0)