Skip to content

Commit d145b87

Browse files
committed
switch out all anyOf for oneOf
1 parent 5f70424 commit d145b87

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

api/paths/admin/users/alt_list.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ responses:
2121
schema:
2222
type: array
2323
items:
24-
anyOf:
24+
oneOf:
2525
- type: integer
2626
description: ID of concerned user.
2727
- type: array

api/paths/artists/index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ responses:
8585
items:
8686
type: array
8787
items:
88-
anyOf:
88+
oneOf:
8989
- type: string
9090
- type: number
9191
urls:

api/paths/artists/show.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ responses:
2323
type: array
2424
example: [["e621.net", 1]]
2525
items:
26-
anyOf:
26+
oneOf:
2727
- type: string
2828
- type: number
2929
urls:

api/paths/post_sets/for_select.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ responses:
1616
Owned:
1717
type: array
1818
items:
19-
anyOf:
19+
oneOf:
2020
- type: string
2121
- type: number
2222
Maintained:
2323
type: array
2424
items:
25-
anyOf:
25+
oneOf:
2626
- type: string
2727
- type: number
2828
403:

api/paths/users/index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ responses:
6363
schema:
6464
type: array
6565
items:
66-
anyOf:
66+
oneOf:
6767
- $ref: "../../components/schemas/user.yaml"
6868
- $ref: "../../components/schemas/fullUser.yaml"

0 commit comments

Comments
 (0)