Skip to content

Commit e94094b

Browse files
committed
fix swagger lint
1 parent ae03510 commit e94094b

File tree

1 file changed

+47
-7
lines changed
  • specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01

1 file changed

+47
-7
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,12 @@
19071907
"description": "Success. The response indicates the default Application Live View has deleted."
19081908
},
19091909
"202": {
1910-
"description": "Accepted. The response indicates the default Application Live View is now deleting."
1910+
"description": "Accepted. The response indicates the default Application Live View is now deleting.",
1911+
"headers": {
1912+
"Location": {
1913+
"type": "string"
1914+
}
1915+
}
19111916
},
19121917
"204": {
19131918
"description": "Success. The response indicates the defaultApplication Live View doesn't exist or has deleted."
@@ -2103,7 +2108,12 @@
21032108
"description": "Success. The response indicates the default Dev Tool Portal has deleted."
21042109
},
21052110
"202": {
2106-
"description": "Accepted. The response indicates the default Dev Tool Portal is now deleting."
2111+
"description": "Accepted. The response indicates the default Dev Tool Portal is now deleting.",
2112+
"headers": {
2113+
"Location": {
2114+
"type": "string"
2115+
}
2116+
}
21072117
},
21082118
"204": {
21092119
"description": "Success. The response indicates the defaultDev Tool Portal doesn't exist or has deleted."
@@ -7961,7 +7971,12 @@
79617971
"description": "Success. The response indicates the application accelerator has deleted."
79627972
},
79637973
"202": {
7964-
"description": "Accepted. The response indicates the application accelerator is now deleting."
7974+
"description": "Accepted. The response indicates the application accelerator is now deleting.",
7975+
"headers": {
7976+
"Location": {
7977+
"type": "string"
7978+
}
7979+
}
79657980
},
79667981
"204": {
79677982
"description": "Success. The response indicates the application accelerator doesn't exist or has deleted."
@@ -8169,7 +8184,12 @@
81698184
"description": "Success. The response indicates the customized accelerator has deleted."
81708185
},
81718186
"202": {
8172-
"description": "Accepted. The response indicates the customized accelerator is now deleting."
8187+
"description": "Accepted. The response indicates the customized accelerator is now deleting.",
8188+
"headers": {
8189+
"Location": {
8190+
"type": "string"
8191+
}
8192+
}
81738193
},
81748194
"204": {
81758195
"description": "Success. The response indicates the customized accelerator doesn't exist or has deleted."
@@ -8233,7 +8253,12 @@
82338253
}
82348254
},
82358255
"202": {
8236-
"description": "Accepted. The response indicates the CustomizedAccelerator is validating."
8256+
"description": "Accepted. The response indicates the CustomizedAccelerator is validating.",
8257+
"headers": {
8258+
"Location": {
8259+
"type": "string"
8260+
}
8261+
}
82378262
},
82388263
"default": {
82398264
"description": "Error response describing why the operation failed.",
@@ -8377,7 +8402,12 @@
83778402
"description": "Success."
83788403
},
83798404
"202": {
8380-
"description": "Accepted. The response indicates the PredefinedAccelerator is now disabling and contains a Location header to query the operation result."
8405+
"description": "Accepted. The response indicates the PredefinedAccelerator is now disabling and contains a Location header to query the operation result.",
8406+
"headers": {
8407+
"Location": {
8408+
"type": "string"
8409+
}
8410+
}
83818411
},
83828412
"default": {
83838413
"description": "Error response describing why the operation failed.",
@@ -8426,7 +8456,12 @@
84268456
"description": "Success."
84278457
},
84288458
"202": {
8429-
"description": "Accepted. The response indicates the PredefinedAccelerator is now enabling and contains a Location header to query the operation result."
8459+
"description": "Accepted. The response indicates the PredefinedAccelerator is now enabling and contains a Location header to query the operation result.",
8460+
"headers": {
8461+
"Location": {
8462+
"type": "string"
8463+
}
8464+
}
84308465
},
84318466
"default": {
84328467
"description": "Error response describing why the operation failed.",
@@ -14503,6 +14538,7 @@
1450314538
"description": "The name of Application Live View.",
1450414539
"required": true,
1450514540
"type": "string",
14541+
"pattern": "^[a-z][a-z0-9]*$",
1450614542
"x-ms-parameter-location": "method"
1450714543
},
1450814544
"DevToolPortalNameParameter": {
@@ -14511,6 +14547,7 @@
1451114547
"description": "The name of Dev Tool Portal.",
1451214548
"required": true,
1451314549
"type": "string",
14550+
"pattern": "^[a-z][a-z0-9]*$",
1451414551
"x-ms-parameter-location": "method"
1451514552
},
1451614553
"GatewayNameParameter": {
@@ -14560,6 +14597,7 @@
1456014597
"description": "The name of the application accelerator.",
1456114598
"required": true,
1456214599
"type": "string",
14600+
"pattern": "^[a-z][a-z0-9]*$",
1456314601
"x-ms-parameter-location": "method"
1456414602
},
1456514603
"CustomizedAcceleratorNameParameter": {
@@ -14568,6 +14606,7 @@
1456814606
"description": "The name of the customized accelerator.",
1456914607
"required": true,
1457014608
"type": "string",
14609+
"pattern": "^[a-z][a-z0-9]*$",
1457114610
"x-ms-parameter-location": "method"
1457214611
},
1457314612
"PredefinedAcceleratorNameParameter": {
@@ -14576,6 +14615,7 @@
1457614615
"description": "The name of the predefined accelerator.",
1457714616
"required": true,
1457814617
"type": "string",
14618+
"pattern": "^[a-z][a-z0-9]*$",
1457914619
"x-ms-parameter-location": "method"
1458014620
}
1458114621
},

0 commit comments

Comments
 (0)