Skip to content

Commit 37b0f34

Browse files
Proxy mentioned in OpenAPI.
1 parent 9ad2070 commit 37b0f34

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/unit-openapi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5887,6 +5887,7 @@ components:
58875887
description: "An object whose options define a step's action."
58885888
oneOf:
58895889
- $ref: "#/components/schemas/configRouteStepActionPass"
5890+
- $ref: "#/components/schemas/configRouteStepActionProxy"
58905891
- $ref: "#/components/schemas/configRouteStepActionReturn"
58915892
- $ref: "#/components/schemas/configRouteStepActionShare"
58925893

@@ -5903,6 +5904,20 @@ components:
59035904
description: "Destination to which the action passes
59045905
incoming requests."
59055906

5907+
#/config/routes/{stepIndex}/action/proxy
5908+
#/config/routes/{routeName}/{stepIndex}/action/proxy
5909+
configRouteStepActionProxy:
5910+
type: object
5911+
description: "An object whose single option defines a step's proxy
5912+
action."
5913+
required:
5914+
- proxy
5915+
properties:
5916+
proxy:
5917+
type: string
5918+
description: "Socket address of an HTTP server to where the request
5919+
is proxied."
5920+
59065921
#/config/routes/{stepIndex}/action/return
59075922
#/config/routes/{routeName}/{stepIndex}/action/return
59085923
configRouteStepActionReturn:

0 commit comments

Comments
 (0)