Skip to content

Commit 4e9b657

Browse files
authored
ACI: Correct the type of httpHeaders object->array of object (#19103)
* ACI: Correct the type of httpHeaders object->array of object * Fix lint issue && prettier
1 parent 12d012d commit 4e9b657

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2020-11-01/containerInstance.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,13 @@
11451145
},
11461146
"httpHeaders": {
11471147
"description": "The HTTP headers.",
1148-
"$ref": "#/definitions/HttpHeaders"
1148+
"type": "array",
1149+
"items": {
1150+
"$ref": "#/definitions/HttpHeader"
1151+
},
1152+
"x-ms-identifiers": [
1153+
"name"
1154+
]
11491155
}
11501156
},
11511157
"required": [
@@ -1777,8 +1783,8 @@
17771783
}
17781784
}
17791785
},
1780-
"HttpHeaders": {
1781-
"description": "The HTTP headers.",
1786+
"HttpHeader": {
1787+
"description": "The HTTP header.",
17821788
"type": "object",
17831789
"properties": {
17841790
"name": {

specification/containerinstance/resource-manager/Microsoft.ContainerInstance/stable/2021-03-01/containerInstance.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,13 @@
11451145
},
11461146
"httpHeaders": {
11471147
"description": "The HTTP headers.",
1148-
"$ref": "#/definitions/HttpHeaders"
1148+
"type": "array",
1149+
"items": {
1150+
"$ref": "#/definitions/HttpHeader"
1151+
},
1152+
"x-ms-identifiers": [
1153+
"name"
1154+
]
11491155
}
11501156
},
11511157
"required": [
@@ -1777,8 +1783,8 @@
17771783
}
17781784
}
17791785
},
1780-
"HttpHeaders": {
1781-
"description": "The HTTP headers.",
1786+
"HttpHeader": {
1787+
"description": "The HTTP header",
17821788
"type": "object",
17831789
"properties": {
17841790
"name": {

0 commit comments

Comments
 (0)