diff --git a/specification/ai/Azure.AI.Projects/main.tsp b/specification/ai/Azure.AI.Projects/main.tsp index 076330a08d0b..f73cca1b3c5d 100644 --- a/specification/ai/Azure.AI.Projects/main.tsp +++ b/specification/ai/Azure.AI.Projects/main.tsp @@ -20,11 +20,11 @@ namespace Azure.AI { #suppress "@azure-tools/typespec-autorest/unsupported-http-auth-scheme" @useAuth( - BearerAuth | OAuth2Auth<[ + OAuth2Auth<[ { type: OAuth2FlowType.implicit, authorizationUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", - scopes: ["https://cognitiveservices.azure.com/.default"], + scopes: ["https://cognitiveservices.azure.com/.default"], // TODO: Replace with ["https://ai.azure.com/.default"] } ]> ) diff --git a/specification/ai/Azure.AI.Projects/red-teams/models.tsp b/specification/ai/Azure.AI.Projects/red-teams/models.tsp index a9c2175cdd68..db9b001a1ef1 100644 --- a/specification/ai/Azure.AI.Projects/red-teams/models.tsp +++ b/specification/ai/Azure.AI.Projects/red-teams/models.tsp @@ -91,7 +91,7 @@ union AttackStrategy { Url: "url", @doc("Represents the baseline direct adversarial probing, which is used by attack strategies as the attack objective.") - Baseline: "baseline" + Baseline: "baseline", } @doc("Risk category for the attack objective.") diff --git a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json index 19905c68dac2..cebe7d9b3a1c 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects-1dp.json @@ -717,7 +717,7 @@ { "name": "body", "in": "body", - "description": "The definition of the DatasetVersion to create", + "description": "The definition of the DatasetVersion to create or update", "required": true, "schema": { "$ref": "#/definitions/DatasetVersionUpdate" @@ -1467,7 +1467,7 @@ { "name": "body", "in": "body", - "description": "The definition of the Index to create", + "description": "The definition of the Index to create or update", "required": true, "schema": { "$ref": "#/definitions/IndexUpdate" diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json index ef090de6db30..b8954a9c94bb 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects-1dp.json @@ -717,7 +717,7 @@ { "name": "body", "in": "body", - "description": "The definition of the DatasetVersion to create", + "description": "The definition of the DatasetVersion to create or update", "required": true, "schema": { "$ref": "#/definitions/DatasetVersionUpdate" @@ -1326,7 +1326,7 @@ { "name": "body", "in": "body", - "description": "The definition of the Index to create", + "description": "The definition of the Index to create or update", "required": true, "schema": { "$ref": "#/definitions/IndexUpdate" diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/latest/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/stable/latest/azure-ai-projects-1dp.json index 3b7b6180315b..55c422f287e0 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/latest/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/latest/azure-ai-projects-1dp.json @@ -717,7 +717,7 @@ { "name": "body", "in": "body", - "description": "The definition of the DatasetVersion to create", + "description": "The definition of the DatasetVersion to create or update", "required": true, "schema": { "$ref": "#/definitions/DatasetVersionUpdate" @@ -1326,7 +1326,7 @@ { "name": "body", "in": "body", - "description": "The definition of the Index to create", + "description": "The definition of the Index to create or update", "required": true, "schema": { "$ref": "#/definitions/IndexUpdate"