Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,32 @@ properties:
- http-header-match
- http-body-match
operator:
description: A string that indicates the range of values relative to the value property.
type: string
description: |
Defines the comparison operator used to evaluate the rule condition
against the provided `value`.
enum:
- "=="
- "!="
- "*="
- "!*="
- "^="
- "!^="
- ">"
- "<"
- ">="
- "<="
x-enum-descriptions:
- "Equal to — the condition value must exactly match."
- "Not equal to — the condition value must differ."
- "Contains — the request value must contain the provided substring."
- "Does not contain — the request value must not contain the substring."
- "Starts with — the request value must begin with the provided prefix."
- "Does not start with — the request value must not begin with the prefix."
- "Greater than — numeric comparison."
- "Less than — numeric comparison."
- "Greater than or equal — numeric comparison."
- "Less than or equal — numeric comparison."
value:
description: The value corresponding to the condition type.
examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,33 @@ properties:
- http-body-match
- $ref: ../../../../StackVariable.yml
operator:
description: A string that indicates the range of values relative to the value property.
description: |
Defines the comparison operator used to evaluate the rule condition
against the provided `value`.
oneOf:
- type: string
enum:
- "=="
- "!="
- "*="
- "!*="
- "^="
- "!^="
- ">"
- "<"
- ">="
- "<="
x-enum-descriptions:
- "Equal to — the condition value must exactly match."
- "Not equal to — the condition value must differ."
- "Contains — the request value must contain the provided substring."
- "Does not contain — the request value must not contain the substring."
- "Starts with — the request value must begin with the provided prefix."
- "Does not start with — the request value must not begin with the prefix."
- "Greater than — numeric comparison."
- "Less than — numeric comparison."
- "Greater than or equal — numeric comparison."
- "Less than or equal — numeric comparison."
- $ref: ../../../../StackVariable.yml
value:
description: The value corresponding to the condition type.
Expand Down