wiki.techinc.nl/tests/api-testing
daniel d0f4e4514f REST: showcase usage of ArrayDef convenience functions
This demonstrates how to use ArrayDef::makeObjectSchema to define a
schema for a complex body field.

The "latest" field in the request body for page PUT requests identifies
the base revision. To allow the base revision info to be looped through
from an earlier GET request, it's nice to allow the "timestamp" field
to be present, even though we don't use it.

I changed the relevant part of Update.js to test that use case specifically.

Bug: T368131
Change-Id: I166396e0dbfc995e5346252ee438c9afe2c808e2
2024-07-25 16:54:18 +00:00
..
action api-testing/action/PageProtection.js: clear state for each test 2024-07-11 09:27:21 +00:00
data/Transform
REST REST: showcase usage of ArrayDef convenience functions 2024-07-25 16:54:18 +00:00
.api-testing-quibble.json
.eslintrc.json ESLint: Enforce prefer-arrow-callback and autofix 2024-06-11 19:03:54 +01:00