Skip to content

Commit 12b41f4

Browse files
ChenglongLiuChenglong Liu
andauthored
Add format for integer type to fix linter validation (#12533)
Co-authored-by: Chenglong Liu <chengll@microsoft.com>
1 parent a800b25 commit 12b41f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdnwebapplicationfirewall.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@
463463
"defaultCustomBlockResponseStatusCode": {
464464
"description": "If the action type is block, this field defines the default customer overridable http response status code.",
465465
"type": "integer",
466+
"format": "int32",
466467
"enum": [
467468
200,
468469
403,
@@ -530,6 +531,7 @@
530531
"priority": {
531532
"description": "Defines in what order this rule be evaluated in the overall list of custom rules",
532533
"type": "integer",
534+
"format": "int32",
533535
"maximum": 1000,
534536
"exclusiveMaximum": false,
535537
"minimum": 0,
@@ -571,12 +573,14 @@
571573
"rateLimitThreshold": {
572574
"description": "Defines rate limit threshold.",
573575
"type": "integer",
576+
"format": "int32",
574577
"minimum": 0,
575578
"exclusiveMinimum": false
576579
},
577580
"rateLimitDurationInMinutes": {
578581
"description": "Defines rate limit duration. Default is 1 minute.",
579582
"type": "integer",
583+
"format": "int32",
580584
"maximum": 60,
581585
"exclusiveMaximum": false,
582586
"minimum": 0,

0 commit comments

Comments
 (0)