Skip to content

Commit 8ba39ee

Browse files
Merge branch 'main' into lint-issue
2 parents 5a03cd8 + 9c162bd commit 8ba39ee

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

static/_redirects

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@
3636
# Dev tools redirects
3737
#
3838
/devtools/ui-contrib-guide /ui-contrib-guide
39+
40+
41+
# Redirect all v1 paths to v3 (with full docs path)
42+
/docs/1.0.0/* /docs/3.0.0/:splat
43+
44+
# Redirect all v2 paths to v3 (with full docs path)
45+
/docs/2.0.0/* /docs/3.0.0/:splat

versioned_docs/version-3.0.0/running-keploy/configuration-file.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,13 @@ The `record` section in the Keploy-config file allows you to define parameters f
104104

105105
- **`delay`**: Delay in seconds before recording each request. Default is 5 seconds.
106106

107-
- **`filters`**: API calls to the application to avoid recording.
107+
- **`filters`**: API calls to the application to avoid recording. You can also control how these conditions are matched using matchType.
108+
109+
- **`matchType (optional)`**: Determines how urlMethods and headers are evaluated.
110+
111+
- **`"AND"`**: Both must match.
112+
113+
- **`"OR"`**: Either can match.
108114

109115
Example:
110116

@@ -113,11 +119,12 @@ The `record` section in the Keploy-config file allows you to define parameters f
113119
filters:
114120
- path: "/user/app"
115121
urlMethods: ["GET"]
116-
headers: {"^asdf*": "^test"}
122+
headers: {"^x-client-id": "^abc.*"}
117123
host: "dc.services.visualstudio.com"
124+
matchType: "AND"
118125
```
119126
120-
This will avoid recording the API calls to the path `/user/app` with the method `GET`, headers starting with `asdf` and host `dc.services.visualstudio.com`.
127+
This will avoid recording the API calls to the path `/user/app` only when the method is `GET`, headers starting with `abc`.
121128

122129
- **`tests`**: Filters to record Tests.
123130

versioned_docs/version-3.0.0/running-keploy/generate-api-tests-using-ai.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ If your API is not publicly accessible, Keploy will show a warning when attempti
2323

2424
### Keploy Agent Installation
2525

26-
| Platform | Steps |
27-
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28-
| **macOS** | - [Download](https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/Keploy+Agent.dmg) <br /><br /> - Open the `.dmg` file and install the app normally. <br /><br /> - Launch the Keploy Agent after installation. <br /> |
29-
| **Linux** | - Run the following in your terminal: <br /><br /> `curl --silent -O -L https://keploy.io/ent/install.sh` <br /><br /> `chmod +x ./install.sh` <br /><br /> `source ./install.sh` <br /><br /> - Verify the install with: `keploy-agent` <br /> |
30-
| **Windows** | - [Download](https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/keploy-agent-windows_amd64.zip) and Run <br /><br /> `cd $env:USERPROFILE/Downloads` <br /><br /> `tar -xvf '.\keploy-agent-windows_amd64.zip'` <br /><br /> `.\keploy-agent.exe` <br /> |
26+
| Platform | Steps |
27+
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28+
| **macOS** | - [Download](https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/Keploy+Agent.dmg) <br /><br /> - Open the `.dmg` file and install the app normally. <br /><br /> - Launch the Keploy Agent after installation. <br /> |
29+
| **Linux** | - Run the following in your terminal: <br /><br /> `curl -L -O https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/keploy-agent-linux-amd64.tar.gz` <br /><br /> `tar -xzf keploy-agent-linux-amd64.tar.gz` <br /><br /> `./keploy-agent` <br /><br /> |
30+
| **Windows** | - [Download](https://keploy-enterprise.s3.us-west-2.amazonaws.com/releases/latest/Keploy+Agent-windows_amd64.zip) <br /><br /> Extract the zip file and Launch the Keploy Agent. <br /> |
3131

3232
> ✅ Once installed and running, return to the Keploy Console and hit **Generate API Tests**. The agent will proxy your local API to allow secure test generation.
3333

0 commit comments

Comments
 (0)