diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2023-10-04 12:53:03 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2023-10-04 12:53:03 +0100 |
commit | 37b0f34fb5d6d6525a9d2ae097837324c2697d50 (patch) | |
tree | 2d10f28d516127019f13cd81530e8531825ea13d /docs | |
parent | 9ad207057c620f234f01483bd3a39176945ec202 (diff) | |
download | unit-37b0f34fb5d6d6525a9d2ae097837324c2697d50.tar.gz unit-37b0f34fb5d6d6525a9d2ae097837324c2697d50.tar.bz2 |
Proxy mentioned in OpenAPI.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/unit-openapi.yaml | 15 |
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: |