wiki.techinc.nl/includes/Rest
Brad Jorsch ebfbd2d42a rest: Use ParamValidator library, add BodyValidator
Parameter validation is based on parameter definitions like those in the
Action API, using the new ParamValidator library. Handlers should use
the provided Handler methods to access parameters rather than fetching
them directly from the RequestInterface.

Body validation allows the handler to have the (non-form-data) body of a
request parsed and validated. The only validator included in this patch
ignores the body entirely; future patches may implement validation for
JSON bodies based on JSON schemas, or the like.

Bug: T223239
Change-Id: I3c37ea2b432840514b6bff90007c8403989225d5
2019-09-04 10:12:35 -04:00
..
BasicAccess REST: add write access checks to BasicAccess 2019-07-09 15:23:57 +10:00
Handler rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
PathTemplateMatcher
Validator rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
CopyableStreamInterface.php StringStream::copyToStream() should adjust the offset 2019-06-12 10:22:34 +10:00
coreRoutes.json
EntryPoint.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
Handler.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
HeaderContainer.php Unsuppress more phan issues (part 3) 2019-08-31 16:38:55 +00:00
HttpException.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
JsonEncodingException.php
LocalizedHttpException.php MessageFormatterFactory 2019-08-28 12:28:05 +10:00
RequestBase.php REST: Rename attributes to path params 2019-06-14 17:01:15 +10:00
RequestData.php REST: Rename attributes to path params 2019-06-14 17:01:15 +10:00
RequestFromGlobals.php
RequestInterface.php REST: Rename attributes to path params 2019-06-14 17:01:15 +10:00
Response.php
ResponseFactory.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
ResponseInterface.php
Router.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
SimpleHandler.php rest: Use ParamValidator library, add BodyValidator 2019-09-04 10:12:35 -04:00
Stream.php
StringStream.php Fix HHVM StringStream test errors 2019-06-14 17:01:15 +10:00