Skip to content

Commit

Permalink
Add format for integer type to fix linter validation (Azure#12533)
Browse files Browse the repository at this point in the history
Co-authored-by: Chenglong Liu <chengll@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent f444abd commit 5b03e54
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@
"defaultCustomBlockResponseStatusCode": {
"description": "If the action type is block, this field defines the default customer overridable http response status code.",
"type": "integer",
"format": "int32",
"enum": [
200,
403,
Expand Down Expand Up @@ -530,6 +531,7 @@
"priority": {
"description": "Defines in what order this rule be evaluated in the overall list of custom rules",
"type": "integer",
"format": "int32",
"maximum": 1000,
"exclusiveMaximum": false,
"minimum": 0,
Expand Down Expand Up @@ -571,12 +573,14 @@
"rateLimitThreshold": {
"description": "Defines rate limit threshold.",
"type": "integer",
"format": "int32",
"minimum": 0,
"exclusiveMinimum": false
},
"rateLimitDurationInMinutes": {
"description": "Defines rate limit duration. Default is 1 minute.",
"type": "integer",
"format": "int32",
"maximum": 60,
"exclusiveMaximum": false,
"minimum": 0,
Expand Down

0 comments on commit 5b03e54

Please sign in to comment.