Handle datetime model rules
This commit is contained in:
parent
48ede78894
commit
fd37df5f9c
|
@ -35,6 +35,7 @@ class TypeRegistry
|
||||||
Model::TYPE_JSON => self::json(),
|
Model::TYPE_JSON => self::json(),
|
||||||
Response::MODEL_NONE => self::json(),
|
Response::MODEL_NONE => self::json(),
|
||||||
Response::MODEL_ANY => self::json(),
|
Response::MODEL_ANY => self::json(),
|
||||||
|
Model::TYPE_DATETIME => Type::string(),
|
||||||
];
|
];
|
||||||
self::$defaultDocumentArgs = [
|
self::$defaultDocumentArgs = [
|
||||||
'id' => [
|
'id' => [
|
||||||
|
|
Loading…
Reference in a new issue