mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
Add support for bool type in ScalarModelDescriber
This commit is contained in:
parent
69f0a6fd35
commit
e613ee48c6
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class ScalarModelDescriber implements ModelDescriberInterface
|
|||
Type::BUILTIN_TYPE_INT => 'integer',
|
||||
Type::BUILTIN_TYPE_FLOAT => 'float',
|
||||
Type::BUILTIN_TYPE_STRING => 'string',
|
||||
Type::BUILTIN_TYPE_BOOL => 'boolean'
|
||||
];
|
||||
|
||||
public function describe(Model $model, Schema $schema)
|
||||
|
|
Loading…
Add table
Reference in a new issue