mirror of
https://hk.gh-proxy.com/https://github.com/mcp-wp/mcp-server.git
synced 2025-10-03 21:21:17 +08:00
Fix mapping for some unexpected types
This commit is contained in:
parent
dcccfc04ea
commit
ef3f5500ec
1 changed files with 2 additions and 0 deletions
|
@ -265,8 +265,10 @@ readonly class RestApi {
|
|||
$mapping = array(
|
||||
'string' => 'string',
|
||||
'integer' => 'integer',
|
||||
'int' => 'integer',
|
||||
'number' => 'integer',
|
||||
'boolean' => 'boolean',
|
||||
'bool' => 'boolean',
|
||||
);
|
||||
|
||||
// Validated types:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue