You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/schemas/config.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Configuration options for Doc Detective operations.
8
8
Field | Type | Description | Default
9
9
:-- | :-- | :-- | :--
10
10
configId | string | Optional. Identifier for the configuration. |
11
+
configPath | string | ReadOnly. Path to the configuration file. |
11
12
input | string | Optional. Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. |
12
13
input | array of string | Optional. Path(s) to test specifications and documentation source files. May be paths to specific files or to directories to scan for files. |
13
14
output | string | Optional. Path of the directory in which to store the output of Doc Detective commands. If a file path is specified, Doc Detective attempts to honor the file name specified, but file path behavior is controlled by the configured reporters. | `.`
@@ -28,6 +29,10 @@ integrations.openApi | array of unknown | Optional. No description provided. |
28
29
telemetry | object | Optional. Options around sending telemetry for Doc Detective usage. | ``{"send":true}``
telemetry.userId | string | Optional. Identifier for the organization, group, or individual running Doc Detective. |
32
+
environment | object | ReadOnly. Environment information for the system running Doc Detective. |
33
+
environment.workingDirectory | string | Optional. The current working directory of the process running Doc Detective. |
34
+
environment.platform | string | Required. The operating system type running Doc Detective.<br/><br/>Accepted values: `linux`, `mac`, `windows` |
35
+
environment.arch | string | Optional. The processor architecture of the system running Doc Detective.<br/><br/>Accepted values: `arm32`, `arm64`, `x32`, `x64` |
31
36
32
37
## Examples
33
38
@@ -111,3 +116,12 @@ telemetry.userId | string | Optional. Identifier for the organization, group, or
Copy file name to clipboardExpand all lines: docs/references/schemas/test.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ A Doc Detective test.
5
5
6
6
## Fields
7
7
8
+
> **Note:** The following action properties are mutually exclusive. You can only use one of these in a single step:
9
+
>
10
+
> `steps`, `contexts`
11
+
8
12
Field | Type | Description | Default
9
13
:-- | :-- | :-- | :--
10
14
testId | string | Optional. Unique identifier for the test. |
@@ -15,7 +19,12 @@ runOn | array of object | Optional. Contexts to run the test in. Overrides conte
15
19
openApi | array of unknown | Optional. No description provided. |
16
20
before | string | Optional. Path to a test specification to perform before this test, while maintaining this test's context. Useful for setting up testing environments. Only the `steps` property is used from the first test in the setup spec. |
17
21
after | string | Optional. Path to a test specification to perform after this test, while maintaining this test's context. Useful for cleaning up testing environments. Only the `steps` property is used from the first test in the cleanup spec. |
18
-
steps | array of object | Required. Steps to perform as part of the test. Performed in the sequence defined. If one or more actions fail, the test fails. By default, if a step fails, the test stops and the remaining steps are not executed. |
22
+
steps | array of object | Optional. Steps to perform as part of the test. Performed in the sequence defined. If one or more actions fail, the test fails. By default, if a step fails, the test stops and the remaining steps are not executed. |
23
+
contexts | array of object | ReadOnly. Resolved contexts to run the test in. This is a resolved version of the `runOn` property. It is not user-defined and should not be used in test specifications. |
24
+
contexts[].platform | string | Optional. Platform to run the test on. This is a resolved version of the `platforms` property. |
contexts[].openApi | array of unknown | Optional. No description provided. |
27
+
contexts[].steps | array of <br/>one of:<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown<br/>- unknown | Optional. Steps to perform as part of the test. Performed in the sequence defined. If one or more actions fail, the test fails. By default, if a step fails, the test stops and the remaining steps are not executed. |
0 commit comments