diff --git a/specification/ai/Azure.AI.Projects/servicepatterns.tsp b/specification/ai/Azure.AI.Projects/servicepatterns.tsp index a873b0f9d3c2..e0b0373d594d 100644 --- a/specification/ai/Azure.AI.Projects/servicepatterns.tsp +++ b/specification/ai/Azure.AI.Projects/servicepatterns.tsp @@ -58,7 +58,9 @@ namespace Azure.AI.Projects.ServicePatterns { TEntityType ) @Rest.actionSeparator("/") - versions is BuildingBlocks.RepeatableCoreOps.ResourceAction< + @Rest.action("versions") + @Http.post + create is BuildingBlocks.RepeatableCoreOps.ResourceAction< TEntityType, { @doc("The definition of the {name} to create", TEntityType) diff --git a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-01-preview/azure-ai-projects-1dp.json b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-01-preview/azure-ai-projects-1dp.json index 3bf232f14dc2..ffbd0747b3b6 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-01-preview/azure-ai-projects-1dp.json +++ b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-01-preview/azure-ai-projects-1dp.json @@ -656,7 +656,7 @@ } }, "post": { - "operationId": "Datasets_Versions", + "operationId": "Datasets_Create", "description": "Create a new DatasetVersion. The version id will be generated by the service.", "parameters": [ { @@ -1654,7 +1654,7 @@ } }, "post": { - "operationId": "Indexes_Versions", + "operationId": "Indexes_Create", "description": "Create a new Index. The version id will be generated by the service.", "parameters": [ {