Manual:$wgRestAPIAdditionalRouteFiles

Details
Additional REST API Route files.

A common usage is to enable development/experimental endpoints only on test wikis.