Skip to content

Commit a857e07

Browse files
author
Braden Watkins
committed
Added integer formats to fix S360 swagger lint validation
1 parent 1ccd4d2 commit a857e07

File tree

7 files changed

+38
-13
lines changed

7 files changed

+38
-13
lines changed

specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/billing.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"in": "query",
8484
"required": false,
8585
"type": "integer",
86+
"format": "int32",
8687
"minimum": 1,
8788
"maximum": 100
8889
},

specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/billing.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"in": "query",
7777
"required": false,
7878
"type": "integer",
79+
"format": "int32",
7980
"minimum": 1,
8081
"maximum": 100
8182
}
@@ -194,6 +195,7 @@
194195
"in": "query",
195196
"required": false,
196197
"type": "integer",
198+
"format": "int32",
197199
"minimum": 1,
198200
"maximum": 100
199201
}

specification/billing/resource-manager/Microsoft.Billing/preview/2018-03-01-preview/billing.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"in": "query",
135135
"required": false,
136136
"type": "integer",
137+
"format": "int32",
137138
"minimum": 1,
138139
"maximum": 100
139140
}
@@ -252,6 +253,7 @@
252253
"in": "query",
253254
"required": false,
254255
"type": "integer",
256+
"format": "int32",
255257
"minimum": 1,
256258
"maximum": 100
257259
}

specification/billing/resource-manager/Microsoft.Billing/preview/2018-03-01-preview/billingV2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
"in": "query",
135135
"required": false,
136136
"type": "integer",
137+
"format": "int32",
137138
"minimum": 1,
138139
"maximum": 100
139140
}

specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@
421421
},
422422
"Retry-After": {
423423
"description": "Recommends the retryable time after receiving this.",
424-
"type": "integer"
424+
"type": "integer",
425+
"format": "int32"
425426
},
426427
"Azure-AsyncOperation": {
427428
"description": "URI to poll for the operation status",
@@ -736,7 +737,8 @@
736737
},
737738
"Retry-After": {
738739
"description": "Recommends the retryable time after receiving this.",
739-
"type": "integer"
740+
"type": "integer",
741+
"format": "int32"
740742
},
741743
"Azure-AsyncOperation": {
742744
"description": "URI to poll for the operation status",
@@ -1713,7 +1715,8 @@
17131715
},
17141716
"Retry-After": {
17151717
"description": "Recommends the retryable time after receiving this.",
1716-
"type": "integer"
1718+
"type": "integer",
1719+
"format": "int32"
17171720
},
17181721
"Azure-AsyncOperation": {
17191722
"description": "URI to poll for the operation status",
@@ -1975,7 +1978,8 @@
19751978
},
19761979
"Retry-After": {
19771980
"description": "Recommends the retryable time after receiving this.",
1978-
"type": "integer"
1981+
"type": "integer",
1982+
"format": "int32"
19791983
},
19801984
"Azure-AsyncOperation": {
19811985
"description": "URI to poll for the operation status",
@@ -3938,7 +3942,8 @@
39383942
},
39393943
"Retry-After": {
39403944
"description": "Recommends the retryable time after receiving this.",
3941-
"type": "integer"
3945+
"type": "integer",
3946+
"format": "int32"
39423947
},
39433948
"Azure-AsyncOperation": {
39443949
"description": "URI to poll for the operation status",
@@ -4953,6 +4958,7 @@
49534958
"invoiceDay": {
49544959
"description": "Invoice day.",
49554960
"type": "integer",
4961+
"format": "int32",
49564962
"readOnly": true
49574963
},
49584964
"currency": {
@@ -5869,6 +5875,7 @@
58695875
"quantity": {
58705876
"description": "Purchase quantity.",
58715877
"type": "integer",
5878+
"format": "int32",
58725879
"readOnly": true
58735880
},
58745881
"customerId": {

specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,8 @@
687687
},
688688
"Retry-After": {
689689
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
690-
"type": "integer"
690+
"type": "integer",
691+
"format": "int32"
691692
}
692693
}
693694
},
@@ -947,7 +948,8 @@
947948
},
948949
"Retry-After": {
949950
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
950-
"type": "integer"
951+
"type": "integer",
952+
"format": "int32"
951953
}
952954
}
953955
},
@@ -2479,7 +2481,8 @@
24792481
},
24802482
"Retry-After": {
24812483
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
2482-
"type": "integer"
2484+
"type": "integer",
2485+
"format": "int32"
24832486
}
24842487
}
24852488
},
@@ -2746,7 +2749,8 @@
27462749
},
27472750
"Retry-After": {
27482751
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
2749-
"type": "integer"
2752+
"type": "integer",
2753+
"format": "int32"
27502754
}
27512755
}
27522756
},
@@ -6878,6 +6882,7 @@
68786882
"invoiceDay": {
68796883
"description": "The day of the month when the invoice for the billing profile is generated.",
68806884
"type": "integer",
6885+
"format": "int32",
68816886
"readOnly": true
68826887
},
68836888
"currency": {
@@ -8069,6 +8074,7 @@
80698074
"quantity": {
80708075
"description": "The quantity purchased in the transaction.",
80718076
"type": "integer",
8077+
"format": "int32",
80728078
"readOnly": true
80738079
},
80748080
"invoiceSectionId": {

specification/billing/resource-manager/Microsoft.Billing/stable/2020-05-01/billing.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,8 @@
588588
},
589589
"Retry-After": {
590590
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
591-
"type": "integer"
591+
"type": "integer",
592+
"format": "int32"
592593
}
593594
}
594595
},
@@ -800,7 +801,8 @@
800801
},
801802
"Retry-After": {
802803
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
803-
"type": "integer"
804+
"type": "integer",
805+
"format": "int32"
804806
}
805807
}
806808
},
@@ -1905,7 +1907,8 @@
19051907
},
19061908
"Retry-After": {
19071909
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
1908-
"type": "integer"
1910+
"type": "integer",
1911+
"format": "int32"
19091912
}
19101913
}
19111914
},
@@ -2264,7 +2267,8 @@
22642267
},
22652268
"Retry-After": {
22662269
"description": "Recommended time to wait before making another request to check the status of the operation. The time is specified in seconds.",
2267-
"type": "integer"
2270+
"type": "integer",
2271+
"format": "int32"
22682272
}
22692273
}
22702274
},
@@ -4358,6 +4362,7 @@
43584362
"invoiceDay": {
43594363
"description": "The day of the month when the invoice for the billing profile is generated.",
43604364
"type": "integer",
4365+
"format": "int32",
43614366
"readOnly": true
43624367
},
43634368
"currency": {
@@ -5653,6 +5658,7 @@
56535658
"quantity": {
56545659
"description": "The quantity purchased in the transaction.",
56555660
"type": "integer",
5661+
"format": "int32",
56565662
"readOnly": true
56575663
},
56585664
"invoiceSectionId": {

0 commit comments

Comments
 (0)