From c90c011874a3ea36f6495361433095d5c220935f Mon Sep 17 00:00:00 2001 From: David Watrous <509299+dpwatrous@users.noreply.github.com> Date: Wed, 28 Jul 2021 18:19:24 -0400 Subject: [PATCH 1/2] [Batch] Changed "title" from BatchManagement to BatchManagementClient Autorest is using this to generate the name of the client class. Changing this will avoid a breaking change in the Java SDK that is about to be released. --- .../Microsoft.Batch/stable/2021-06-01/BatchManagement.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json index e1157bc679ba..38fb4c0ed701 100644 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json @@ -1,7 +1,8 @@ { "swagger": "2.0", "info": { - "title": "BatchManagement", + "title": "BatchManagementClient", + "description": "The Batch Management Client.", "version": "2021-06-01" }, "host": "management.azure.com", From bdd6ea27462880a3ed90dd464fb838755300586d Mon Sep 17 00:00:00 2001 From: David Watrous Date: Wed, 28 Jul 2021 22:22:54 -0400 Subject: [PATCH 2/2] Make readme.md titles consistent with swagger --- .../Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json | 2 +- specification/batch/resource-manager/readme.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json index db70a94718ff..5904e0cb0119 100644 --- a/specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "BatchService", + "title": "BatchServiceClient", "version": "2021-06-01.14.0", "description": "A client for issuing REST requests to the Azure Batch service." }, diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 56a7c5427bd5..61332e05cd70 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -25,6 +25,8 @@ To see additional help and options, run: These are the global settings for the Batch API. ``` yaml +title: BatchManagementClient +description: Batch Client openapi-type: arm tag: package-2021-06 ```