From b436fbbbf4ea6410a1d46889c7f066b7b05ddeb7 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 27 Jan 2022 15:43:38 -0800 Subject: [PATCH] docs(java): route.fulfill with APIResponse (#11711) --- docs/src/api/class-route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-route.md b/docs/src/api/class-route.md index b36a78f02c..02fe332007 100644 --- a/docs/src/api/class-route.md +++ b/docs/src/api/class-route.md @@ -221,7 +221,7 @@ File path to respond with. The content type will be inferred from file extension is resolved relative to the current working directory. ### option: Route.fulfill.response -* langs: js +* langs: js, java - `response` <[APIResponse]> [APIResponse] to fulfill route's request with. Individual fields of the response (such as headers) can be overridden using fulfill options.