Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Jun 23, 2024
1 parent 87594b6 commit 3328979
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/guide/api/stubs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ Response:
}
```

[Input Matching](../../../../docs_old/matching-rule-input.md ':include')
<!--@include: ../../matcher/input.md -->

[Headers Matching](../../../../docs_old/matching-rule-headers.md ':include')
<!--@include: ../../matcher/headers.md -->
6 changes: 3 additions & 3 deletions docs/guide/matcher/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Headers can consist of a key and a value. If there are several values, then you
**Gripmock** recursively goes over the fields and tries to match with given input.
<br>

## Equals
## Header Equals

**equals** will match the exact field name and value of input into expected stub. example stub JSON:
```json
Expand All @@ -38,7 +38,7 @@ Headers can consist of a key and a value. If there are several values, then you
}
```

## Contains
## Header Contains

**contains** will match input that has the value declared expected fields. example stub JSON:
```json
Expand All @@ -55,7 +55,7 @@ Headers can consist of a key and a value. If there are several values, then you
}
```

## Matches
## Header Matches

**matches** using regex for matching fields expectation. example:

Expand Down
8 changes: 4 additions & 4 deletions docs/guide/matcher/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Nested fields are allowed for input matching too for all JSON data types. (`stri
**Gripmock** recursively goes over the fields and tries to match with given input.
<br>

## Equals
## Input Equals

**equals** will match the exact field name and value of input into expected stub. example stub JSON:
```json
Expand All @@ -44,7 +44,7 @@ Nested fields are allowed for input matching too for all JSON data types. (`stri
}
```

## Contains
## Input Contains

**contains** will match input that has the value declared expected fields. example stub JSON:
```json
Expand All @@ -64,7 +64,7 @@ Nested fields are allowed for input matching too for all JSON data types. (`stri
}
```

## Matches
## Input Matches

**matches** using regex for matching fields expectation. example:

Expand All @@ -83,7 +83,7 @@ Nested fields are allowed for input matching too for all JSON data types. (`stri
}
```

## Flag ignoreArrayOrder
## Input Flag ignoreArrayOrder

**ignoreArrayOrder** Disables sorting check inside arrays.
```yaml
Expand Down

0 comments on commit 3328979

Please sign in to comment.