| 1 | [ |
| 2 | { |
| 3 | "path": "/ModuleTest/HELLO", |
| 4 | "redirect": { |
| 5 | "path": "/ModuleTest/hello" |
| 6 | } |
| 7 | }, |
| 8 | { |
| 9 | "path": "/ModuleTest/hello/{name}", |
| 10 | "class": "MediaWiki\\Tests\\Rest\\Handler\\HelloHandler", |
| 11 | "hello": "hi!" |
| 12 | }, |
| 13 | { |
| 14 | "path": "/ModuleTest/throw", |
| 15 | "factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwHandlerFactory" |
| 16 | }, |
| 17 | { |
| 18 | "path": "/ModuleTest/fatal", |
| 19 | "factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::fatalHandlerFactory" |
| 20 | }, |
| 21 | { |
| 22 | "path": "/ModuleTest/throwRedirect", |
| 23 | "factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwRedirectHandlerFactory" |
| 24 | }, |
| 25 | { |
| 26 | "path": "/ModuleTest/throwWrapped", |
| 27 | "factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwWrappedHandlerFactory" |
| 28 | } |
| 29 | ] |