[PATCH 1/2] tests: Provide a way to disable API schema

Stephen Finucane stephen at that.guru
Fri Dec 27 23:52:54 AEDT 2019


On Sat, 2019-11-30 at 18:48 +0000, Stephen Finucane wrote:
> The API schema validation is strict, in that it will error out with
> invalid keys in either the request or response. Unfortunately the API
> itself is not. We're hopefully going to fix this in a distant v2.0, but
> for now we need a way to ensure that the API does what it's supposed to,
> namely not set fields that don't exist or that the user isn't allowed to
> set, even if proper error codes aren't raised.
> 
> This isn't actually used yet. That will come later.
> 
> Signed-off-by: Stephen Finucane <stephen at that.guru>

Been around for a while. Applied.



More information about the Patchwork mailing list