Skip to content

Commit dca89cf

Browse files
Documentation updates from Promptless
1 parent 3b8d3be commit dca89cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/get-started/actions/httpRequest.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can specify a basic GET request using a string shorthand or use an object fo
2626
- `parameters`: (Optional) Key-value pairs for query string parameters.
2727
- `body`: (Optional) The request body. Can be a string or JSON object.
2828
- `response`: (Optional) An object defining expected response validation:
29-
- `headers`: (Optional) Key-value pairs for expected response headers. Values must be strings.
29+
- `headers`: (Optional) Key-value pairs for expected response headers. Values must be strings. If specified, the step fails if any expected header is missing or has a different value in the actual response.
3030
- `body`: (Optional) Expected response body. Can be a string or JSON object.
3131
- `statusCodes`: (Optional) An array of acceptable HTTP status codes. If the response code is not in this list, the step fails (default: `[200]`).
3232
- `openApi`: (Optional) Define the request based on an OpenAPI definition. Can be a string (operation ID) or an object:

docs/references/schemas/integrations-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Options for connecting to external services.
1111

1212
Field | Type | Description | Default
1313
:-- | :-- | :-- | :--
14-
openApi | array of unknown | Optional. No description provided. |
14+
openApi | array of [openApi](/docs/references/schemas/openApi) | Optional. OpenAPI definitions to load. These are automatically made available in test contexts, letting `httpRequest` actions reference them by `operationId` or `name`. See the [openApi](/docs/references/schemas/openApi) schema for details. |
1515

1616
## Examples
1717

0 commit comments

Comments
 (0)