From 37b0f34fb5d6d6525a9d2ae097837324c2697d50 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Wed, 4 Oct 2023 12:53:03 +0100 Subject: Proxy mentioned in OpenAPI. --- docs/unit-openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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: -- cgit