Skip to content

Commit 434e98a

Browse files
committed
regenerate fixture
1 parent ea0c42c commit 434e98a

File tree

1 file changed

+21
-26
lines changed

1 file changed

+21
-26
lines changed

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2964,37 +2964,32 @@ mockedApiResponse.Schema = {
29642964
"media_type": {
29652965
"default": null,
29662966
"description": "Limit result set to attachments of a particular media type or media types.",
2967-
"oneOf": [
2968-
{
2969-
"type": "string",
2970-
"enum": [
2971-
"image",
2972-
"video",
2973-
"text",
2974-
"application",
2975-
"audio"
2976-
]
2977-
},
2978-
{
2979-
"type": "array",
2980-
"items": {
2981-
"type": "string",
2982-
"enum": [
2983-
"image",
2984-
"video",
2985-
"text",
2986-
"application",
2987-
"audio"
2988-
]
2989-
}
2990-
}
2967+
"type": [
2968+
"string",
2969+
"array"
29912970
],
2971+
"items": {
2972+
"type": "string",
2973+
"enum": [
2974+
"image",
2975+
"video",
2976+
"text",
2977+
"application",
2978+
"audio"
2979+
]
2980+
},
29922981
"required": false
29932982
},
29942983
"mime_type": {
29952984
"default": null,
2996-
"description": "Limit result set to attachments of a particular MIME type.",
2997-
"type": "string",
2985+
"description": "Limit result set to attachments of a particular MIME type or MIME types.",
2986+
"type": [
2987+
"string",
2988+
"array"
2989+
],
2990+
"items": {
2991+
"type": "string"
2992+
},
29982993
"required": false
29992994
}
30002995
}

0 commit comments

Comments
 (0)