Skip to content

Commit 638734a

Browse files
najianNan Jiang
andauthored
Fix S360 swagger error, certificateId not required (#22339)
* Fix S360 swagger error, certificateId not required Fix S360 swagger error, certificateId not required per service behavior * Update ContainerApps_ListCustomHostNameAnalysisErrorResponse.json fix example error --------- Co-authored-by: Nan Jiang <[email protected]>
1 parent 9f33c53 commit 638734a

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,7 @@
737737
"description": "Custom Domain of a Container App",
738738
"type": "object",
739739
"required": [
740-
"name",
741-
"certificateId"
740+
"name"
742741
],
743742
"properties": {
744743
"name": {
@@ -758,7 +757,7 @@
758757
}
759758
},
760759
"certificateId": {
761-
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
760+
"description": "Resource Id of the Certificate to be bound to this hostname.",
762761
"type": "string"
763762
}
764763
}

specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,7 @@
860860
"description": "Custom Domain of a Container App",
861861
"type": "object",
862862
"required": [
863-
"name",
864-
"certificateId"
863+
"name"
865864
],
866865
"properties": {
867866
"name": {
@@ -881,7 +880,7 @@
881880
}
882881
},
883882
"certificateId": {
884-
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
883+
"description": "Resource Id of the Certificate to be bound to this hostname.",
885884
"type": "string"
886885
}
887886
}

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,7 @@
741741
"description": "Custom Domain of a Container App",
742742
"type": "object",
743743
"required": [
744-
"name",
745-
"certificateId"
744+
"name"
746745
],
747746
"properties": {
748747
"name": {
@@ -762,7 +761,7 @@
762761
}
763762
},
764763
"certificateId": {
765-
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
764+
"description": "Resource Id of the Certificate to be bound to this hostname.",
766765
"type": "string"
767766
}
768767
}

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"resourceGroupName": "rg",
55
"containerAppName": "testcontainerApp0",
66
"customHostname": "my.name.corp",
7-
"api-version": "2022-03-03"
7+
"api-version": "2022-03-01"
88
},
99
"responses": {
1010
"200": {

specification/app/resource-manager/Microsoft.App/stable/2022-10-01/ContainerApps.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,7 @@
882882
"description": "Custom Domain of a Container App",
883883
"type": "object",
884884
"required": [
885-
"name",
886-
"certificateId"
885+
"name"
887886
],
888887
"properties": {
889888
"name": {
@@ -903,7 +902,7 @@
903902
}
904903
},
905904
"certificateId": {
906-
"description": "Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.",
905+
"description": "Resource Id of the Certificate to be bound to this hostname.",
907906
"type": "string"
908907
}
909908
}

0 commit comments

Comments
 (0)