wiki.techinc.nl/includes/Rest/Validator
MusikAnimal 2d21ee58ec Add expiry type to ParamValidator
This commit also changes ApiWatch to make use of the new parameter type.
Other APIs will be updated to use it in a separate patch (T248196).

In doing this, we are for the first using logic within a TypeDef outside
the API. This seems acceptable given TypeDefs chiefly appear to serve as
a validation method, with otherwise no particular logic tied to the
concept of APIs.

wfIsInfinity() now uses ExpiryDef::INFINITY_VALS

Bug: T248508
Change-Id: If8f0df059eafb73ec9f39cc076b3a9ce2412d60a
2020-04-08 16:21:04 -04:00
..
BodyValidator.php
JsonBodyValidator.php page/update endpoint 2020-03-23 16:59:21 +01:00
NullBodyValidator.php
ParamValidatorCallbacks.php ParamValidator: Use MessageValue! 2019-11-01 15:49:31 -04:00
Validator.php Add expiry type to ParamValidator 2020-04-08 16:21:04 -04:00