Page MenuHomePhabricator

Undocumented property not caught by REST API tests
Open, MediumPublic

Description

The MediaWiki REST API docs for /search/page and search/title endpoints are missing the anchor property,

Compare:

However, this does not cause any of the OpenAPI validation tests to fail. Undocumented properties are a common cause of out-of-date documentation, so it would be great if the tests could catch this. One thing to try could be setting additionalProperties to false in the schema.

Details

Related Changes in Gerrit: