feat: add `items` property on get respository schema
This commit is contained in:
parent
606f8ab116
commit
7cebd434b2
|
@ -627,6 +627,9 @@ class REST_Controller extends \WP_REST_Controller {
|
|||
'description' => $value['description'],
|
||||
'type' => $value['type']
|
||||
];
|
||||
if( isset($value['items'])) {
|
||||
$schema[$mapped]['items'] = $value['items'];
|
||||
}
|
||||
}
|
||||
|
||||
return $schema;
|
||||
|
|
Loading…
Reference in New Issue