mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #951 from magnetik/model-bool
Add support for bool type in ScalarModelDescriber
This commit is contained in:
commit
fcf0b104c0
@ -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…
x
Reference in New Issue
Block a user