Skip to content

Commit f6433b4

Browse files
adamaltman1AnnaWi
andauthored
chore: Apply suggestions from code review
Co-authored-by: Anna Widlarz <[email protected]>
1 parent 8d4909a commit f6433b4

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

docs/commands/generate-arazzo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Auto-generate an Arazzo description based on an OpenAPI description file.
1212

1313
If `examples` are provided in the OpenAPI description, they are used as input data for test requests.
1414
If `schema` is provided, the config generates fake data based on the description schema.
15-
By default, data for requests comes from the description at run-time.
15+
By default, data for requests comes from the description at runtime.
1616
To materialize tests with the data, use the `--extended` option.
1717

18-
The `--extended` option also demonstrates how `respect` gets data from an OpenAPI description.
18+
The `--extended` option also demonstrates how Respect gets data from an OpenAPI description.
1919

2020
{% admonition type="warning" %}
2121

docs/commands/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Testing commands:
3535

3636
Redocly platform commands:
3737

38-
- [`login`](login.md) Login to the Redocly API registry with an access token or to the Reunite API.
38+
- [`login`](login.md) Log in to Reunite or to the Redocly API registry with an access token.
3939
- [`logout`](logout.md) Clear your stored credentials.
4040
- [`push`](push.md) Push an API description to the Redocly API registry.
4141
- [`push-status`](push-status.md) Track an in-progress push operation to Reunite.

docs/commands/respect.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rbac:
99
# `respect`
1010

1111
Use this command to execute API tests described in an Arazzo description.
12-
In addition to the Arazzo specification, `respect` supports specification extensions for API testing: `x-operation` and `x-serverUrl`.
12+
In addition to the Arazzo specification, Respect supports specification extensions for API testing: `x-operation` and `x-serverUrl`.
1313

1414
## Usage
1515

@@ -30,7 +30,7 @@ npx @redocly/cli respect <your-test-file | multiple files | files bash query> [-
3030
- -w, --workflow
3131
- [string]
3232
- Workflow names from the test file to run.
33-
For example, the following command runs "first-flow" and "second-flow" workflows from the "test-file.yaml" Arazzo description: `npx @redocly/cli respect test-file.yaml --workflow first-flow second-flow`
33+
For example, the following command runs "first-flow" and "second-flow" workflows from the `test-file.yaml` Arazzo description: `npx @redocly/cli respect test-file.yaml --workflow first-flow second-flow`
3434
{% admonition type="warning" %}
3535
The `--workflow` option can't be used with `--skip`.
3636
{% /admonition %}
@@ -40,7 +40,7 @@ npx @redocly/cli respect <your-test-file | multiple files | files bash query> [-
4040
- -s, --skip
4141
- [string]
4242
- Workflow names from the test file to skip.
43-
For example, the following command skips the "first-flow" workflow from the "test-file.yaml" Arazzo description: `npx @redocly/cli respect test-file.yaml --skip first-flow`
43+
For example, the following command skips the "first-flow" workflow from the `test-file.yaml` Arazzo description: `npx @redocly/cli respect test-file.yaml --skip first-flow`
4444
{% admonition type="warning" name="Warning" %}
4545
The `--skip` option can't be used with `--workflow`.
4646
{% /admonition %}
@@ -50,38 +50,38 @@ npx @redocly/cli respect <your-test-file | multiple files | files bash query> [-
5050
- -v, --verbose
5151
- boolean
5252
- Runs the command in verbose mode to help with troubleshooting issues.
53-
For example, the following command runs all workflows from the "test-file.yaml" Arazzo description in verbose mode: `npx @redocly/cli respect test-file.yaml --verbose`
53+
For example, the following command runs all workflows from the `test-file.yaml` Arazzo description in verbose mode: `npx @redocly/cli respect test-file.yaml --verbose`
5454

5555
---
5656

5757
- --har-output
5858
- string
5959
- Path for the `har` file for saving logs.
60-
For example, the following command runs all workflows from the "test-file.yaml" Arazzo description and saves the logs to the "logs.har" file: `npx @redocly/cli respect test-file.yaml --har-output='logs.har'`
60+
For example, the following command runs all workflows from the `test-file.yaml` Arazzo description and saves the logs to the `logs.har` file: `npx @redocly/cli respect test-file.yaml --har-output='logs.har'`
6161

6262
---
6363

6464
- --json-output
6565
- string
66-
- Path for the JSON file for saving logs. For example, the following command runs all workflows from the "test-file.yaml" Arazzo description and saves the logs to the "logs.json" file:`npx @redocly/cli respect test-file.yaml --json-output='logs.json'`
66+
- Path for the JSON file for saving logs. For example, the following command runs all workflows from the `test-file.yaml` Arazzo description and saves the logs to the `logs.json` file:`npx @redocly/cli respect test-file.yaml --json-output='logs.json'`
6767

6868
---
6969

7070
- --input
7171
- string
7272
- Input parameters with values that are mapped to the workflow inputs description.
73-
For example, the following command maps the "userEmail" and "userPassword" inputs and values to all workflows in the "test.yaml" Arazzo description: `npx @redocly/cli respect test.yaml --input [email protected] --input userPassword=12345`.
73+
For example, the following command maps the "userEmail" and "userPassword" inputs and values to all workflows in the `test.yaml` Arazzo description: `npx @redocly/cli respect test.yaml --input [email protected] --input userPassword=12345`.
7474
You can also use an environment variable to set the input, as in the following example: `REDOCLY_CLI_RESPECT_INPUT='[email protected],userPassword=12345' npm run cli respect test.yaml`
7575

76-
You can even include nested values, as in the following example command that maps the "nestedKey" input and value to all workflows in the "test-file.yaml" Arazzo description: `npx @redocly/cli respect test-file.yaml --input '{"key": "value", "nested": {"nestedKey": "nestedValue"}}'`.
76+
You can even include nested values, as in the following example command that maps the `nestedKey` input and value to all workflows in the `test-file.yaml` Arazzo description: `npx @redocly/cli respect test-file.yaml --input '{"key": "value", "nested": {"nestedKey": "nestedValue"}}'`.
7777
You can also use an environment variable to set the input, as in the following example: `REDOCLY_CLI_RESPECT_INPUT='{"key":"value","nested":{"nestedKey":"nestedValue"}}' npx @redocly/cli respect test-file.yaml`
7878

7979
---
8080

8181
- --server
8282
- string
8383
- Server overrides for the `sourceDescriptions` object.
84-
For example, the following command runs all workflows from the "test-file.yaml" Arazzo description and instead of using the server listed in the API description, uses the server at "https://test.com": `npx @redocly/cli respect test-file.yaml --server test=https://test.com`
84+
For example, the following command runs all workflows from the `test-file.yaml` Arazzo description and instead of using the server listed in the API description, uses the server at `https://test.com`: `npx @redocly/cli respect test-file.yaml --server test=https://test.com`
8585

8686
You can also pass the server overrides as an environment variable, as in the following example:
8787
`REDOCLY_CLI_RESPECT_SERVER="test=https://test.com"`
@@ -90,7 +90,7 @@ npx @redocly/cli respect <your-test-file | multiple files | files bash query> [-
9090

9191
- --residency
9292
- string
93-
- Residency location of Reunite application to use if `login` command was not run before.
93+
- If not logged in already, use the residency location of the Reunite application.
9494
Default: `us`.
9595
You can also pass the residency as an environment variable, as in the following example:
9696
`REDOCLY_CLI_RESPECT_RESIDENCY='eu'`

0 commit comments

Comments
 (0)