summaryrefslogtreecommitdiffstatshomepage
path: root/tests/qunit/fixtures/wp-api-generated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qunit/fixtures/wp-api-generated.js')
-rw-r--r--tests/qunit/fixtures/wp-api-generated.js32
1 files changed, 27 insertions, 5 deletions
diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js
index ad54301d25..6626758a8a 100644
--- a/tests/qunit/fixtures/wp-api-generated.js
+++ b/tests/qunit/fixtures/wp-api-generated.js
@@ -6896,7 +6896,7 @@ mockedApiResponse.Schema = {
}
]
},
- "/wp/v2/global-styles/(?P<id>[\\/\\w-]+)": {
+ "/wp/v2/global-styles/(?P<id>[\\/\\d+]+)": {
"namespace": "wp/v2",
"methods": [
"GET",
@@ -6914,8 +6914,8 @@ mockedApiResponse.Schema = {
},
"args": {
"id": {
- "description": "The id of a template",
- "type": "string",
+ "description": "ID of global styles config.",
+ "type": "integer",
"required": false
}
}
@@ -10053,7 +10053,18 @@ mockedApiResponse.Schema = {
"app_id": {
"description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.",
"type": "string",
- "format": "uuid",
+ "oneOf": [
+ {
+ "type": "string",
+ "format": "uuid"
+ },
+ {
+ "type": "string",
+ "enum": [
+ ""
+ ]
+ }
+ ],
"required": false
},
"name": {
@@ -10137,7 +10148,18 @@ mockedApiResponse.Schema = {
"app_id": {
"description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.",
"type": "string",
- "format": "uuid",
+ "oneOf": [
+ {
+ "type": "string",
+ "format": "uuid"
+ },
+ {
+ "type": "string",
+ "enum": [
+ ""
+ ]
+ }
+ ],
"required": false
},
"name": {