summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-10-04 12:53:03 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2023-10-04 12:53:03 +0100
commit37b0f34fb5d6d6525a9d2ae097837324c2697d50 (patch)
tree2d10f28d516127019f13cd81530e8531825ea13d
parent9ad207057c620f234f01483bd3a39176945ec202 (diff)
downloadunit-37b0f34fb5d6d6525a9d2ae097837324c2697d50.tar.gz
unit-37b0f34fb5d6d6525a9d2ae097837324c2697d50.tar.bz2
Proxy mentioned in OpenAPI.
-rw-r--r--docs/unit-openapi.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/unit-openapi.yaml b/docs/unit-openapi.yaml
index 0301326d..00b8f27c 100644
--- a/docs/unit-openapi.yaml
+++ b/docs/unit-openapi.yaml
@@ -5887,6 +5887,7 @@ components:
description: "An object whose options define a step's action."
oneOf:
- $ref: "#/components/schemas/configRouteStepActionPass"
+ - $ref: "#/components/schemas/configRouteStepActionProxy"
- $ref: "#/components/schemas/configRouteStepActionReturn"
- $ref: "#/components/schemas/configRouteStepActionShare"
@@ -5903,6 +5904,20 @@ components:
description: "Destination to which the action passes
incoming requests."
+ #/config/routes/{stepIndex}/action/proxy
+ #/config/routes/{routeName}/{stepIndex}/action/proxy
+ configRouteStepActionProxy:
+ type: object
+ description: "An object whose single option defines a step's proxy
+ action."
+ required:
+ - proxy
+ properties:
+ proxy:
+ type: string
+ description: "Socket address of an HTTP server to where the request
+ is proxied."
+
#/config/routes/{stepIndex}/action/return
#/config/routes/{routeName}/{stepIndex}/action/return
configRouteStepActionReturn: