Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added errorIfNot2XX option to HTTP binding docs #3741

Merged
merged 4 commits into from
Sep 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ spec:
key: "mytoken"
- name: securityTokenHeader
value: "Authorization: Bearer" # OPTIONAL <header name for the security token>
- name: direction
- name: direction # OPTIONAL
value: "output"
- name: errorIfNot2XX
value: "false" # OPTIONAL
```

## Spec metadata fields
Expand All @@ -54,6 +56,7 @@ spec:
| `securityToken` | N | Output |The value of a token to be added to an HTTP request as a header. Used together with `securityTokenHeader` |
| `securityTokenHeader`| N | Output |The name of the header for `securityToken` on an HTTP request that |
| `direction`| N | Output |The direction of the binding | `"output"`
| `errorIfNot2XX`| N | Output |If a binding error should be thrown when the response is not in the 2xx range. Defaults to `true` | `false`, `true`

### How to configure MTLS related fields in Metadata
The values for **MTLSRootCA**, **MTLSClientCert** and **MTLSClientKey** can be provided in three ways:
Expand Down
Loading