You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cognitiveservices] Normalize Swagger Model Names and Properties Suffix (#39371)
* Normalize Swagger Model Names and Properties Suffix
* Update RaiBlocklistItemsBulkDeleteRequest to an Array of Strings
* Update RaiBlocklistItemsBulkDeleteRequest to object type
Copy file name to clipboardExpand all lines: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json
+40-47Lines changed: 40 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -5532,7 +5532,7 @@
5532
5532
"200": {
5533
5533
"description": "Success",
5534
5534
"schema": {
5535
-
"$ref": "#/definitions/CapabilityHostResource"
5535
+
"$ref": "#/definitions/CapabilityHost"
5536
5536
}
5537
5537
},
5538
5538
"default": {
@@ -5582,21 +5582,21 @@
5582
5582
"description": "CapabilityHost definition.",
5583
5583
"required": true,
5584
5584
"schema": {
5585
-
"$ref": "#/definitions/CapabilityHostResource"
5585
+
"$ref": "#/definitions/CapabilityHost"
5586
5586
}
5587
5587
}
5588
5588
],
5589
5589
"responses": {
5590
5590
"200": {
5591
5591
"description": "Create or update request is successful.",
"description": "An array of objects of type Agent Application.",
12808
12803
"type": "array",
12809
12804
"items": {
12810
-
"$ref": "#/definitions/AgentApplicationResource"
12805
+
"$ref": "#/definitions/AgentApplication"
12811
12806
},
12812
12807
"x-nullable": true
12813
12808
}
12814
12809
},
12815
12810
"additionalProperties": false
12816
12811
},
12817
-
"AgentReferenceResource": {
12812
+
"AgentReference": {
12818
12813
"description": "Agent Reference resource",
12819
12814
"required": [
12820
12815
"properties"
@@ -12828,10 +12823,9 @@
12828
12823
"properties": {
12829
12824
"properties": {
12830
12825
"description": "[Required] Additional attributes of the entity.",
12831
-
"$ref": "#/definitions/AgentReference"
12826
+
"$ref": "#/definitions/AgentReferenceProperties"
12832
12827
}
12833
12828
},
12834
-
"x-ms-client-name": "AgentReference",
12835
12829
"additionalProperties": false
12836
12830
},
12837
12831
"AgentReferenceResourceArmPaginatedResult": {
@@ -12847,14 +12841,14 @@
12847
12841
"description": "An array of objects of type Agent Reference.",
12848
12842
"type": "array",
12849
12843
"items": {
12850
-
"$ref": "#/definitions/AgentReferenceResource"
12844
+
"$ref": "#/definitions/AgentReference"
12851
12845
},
12852
12846
"x-nullable": true
12853
12847
}
12854
12848
},
12855
12849
"additionalProperties": false
12856
12850
},
12857
-
"AgentDeploymentResource": {
12851
+
"AgentDeployment": {
12858
12852
"description": "Agent Deployment resource",
12859
12853
"required": [
12860
12854
"properties"
@@ -12868,10 +12862,9 @@
12868
12862
"properties": {
12869
12863
"properties": {
12870
12864
"description": "[Required] Additional attributes of the entity.",
12871
-
"$ref": "#/definitions/AgentDeployment"
12865
+
"$ref": "#/definitions/AgentDeploymentProperties"
12872
12866
}
12873
12867
},
12874
-
"x-ms-client-name": "AgentDeployment",
12875
12868
"additionalProperties": false
12876
12869
},
12877
12870
"AgentDeploymentResourceArmPaginatedResult": {
@@ -12887,14 +12880,14 @@
12887
12880
"description": "An array of objects of type Agent Deployment.",
12888
12881
"type": "array",
12889
12882
"items": {
12890
-
"$ref": "#/definitions/AgentDeploymentResource"
12883
+
"$ref": "#/definitions/AgentDeployment"
12891
12884
},
12892
12885
"x-nullable": true
12893
12886
}
12894
12887
},
12895
12888
"additionalProperties": false
12896
12889
},
12897
-
"AgenticApplication": {
12890
+
"AgenticApplicationProperties": {
12898
12891
"description": "Resource type representing an agentic application as a management construct.",
12899
12892
"type": "object",
12900
12893
"allOf": [
@@ -12917,7 +12910,7 @@
12917
12910
"description": "The list of agent definitions comprising this application, returned as references to the objects under the parent project; use this to obtain a flat list of all agent-version pairs represented by this application.",
12918
12911
"type": "array",
12919
12912
"items": {
12920
-
"$ref": "#/definitions/AgentReference"
12913
+
"$ref": "#/definitions/AgentReferenceProperties"
12921
12914
},
12922
12915
"x-nullable": true
12923
12916
},
@@ -12954,7 +12947,7 @@
12954
12947
},
12955
12948
"additionalProperties": false
12956
12949
},
12957
-
"AgentDeployment": {
12950
+
"AgentDeploymentProperties": {
12958
12951
"description": "Type representing an agent deployment as a management construct.",
12959
12952
"type": "object",
12960
12953
"discriminator": "deploymentType",
@@ -13022,7 +13015,7 @@
13022
13015
"x-ms-discriminator-value": "Managed",
13023
13016
"allOf": [
13024
13017
{
13025
-
"$ref": "#/definitions/AgentDeployment"
13018
+
"$ref": "#/definitions/AgentDeploymentProperties"
13026
13019
}
13027
13020
],
13028
13021
"additionalProperties": false
@@ -13033,7 +13026,7 @@
13033
13026
"x-ms-discriminator-value": "Hosted",
13034
13027
"allOf": [
13035
13028
{
13036
-
"$ref": "#/definitions/AgentDeployment"
13029
+
"$ref": "#/definitions/AgentDeploymentProperties"
13037
13030
}
13038
13031
],
13039
13032
"properties": {
@@ -13052,7 +13045,7 @@
13052
13045
},
13053
13046
"additionalProperties": false
13054
13047
},
13055
-
"AgentReference": {
13048
+
"AgentReferenceProperties": {
13056
13049
"description": "Type modeling a reference to a version of an agent definition.",
0 commit comments