Skip to content

Commit 9b59c69

Browse files
authored
Fixing operation name (#15125)
* Fixed operation name. * Fixed readme. * Fixed titles.
1 parent a59747e commit 9b59c69

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

specification/batch/data-plane/Microsoft.Batch/stable/2021-06-01.14.0/BatchService.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10782,7 +10782,7 @@
1078210782
"x-ms-pageable": {
1078310783
"nextLinkName": "odata.nextLink"
1078410784
},
10785-
"operationId": "ComputeNodeExtensions_List",
10785+
"operationId": "ComputeNodeExtension_List",
1078610786
"x-ms-examples": {
1078710787
"List compute node extensions": {
1078810788
"$ref": "./examples/ComputeNodeExtensionList.json"
@@ -14088,7 +14088,7 @@
1408814088
},
1408914089
"type": {
1409014090
"type": "string",
14091-
"title": "The type of the extensions."
14091+
"title": "The type of the extension."
1409214092
},
1409314093
"typeHandlerVersion": {
1409414094
"type": "string",
@@ -14202,11 +14202,11 @@
1420214202
},
1420314203
"vmExtension": {
1420414204
"$ref": "#/definitions/VMExtension",
14205-
"title": "The name of the extension handler publisher."
14205+
"title": "The virtual machine extension"
1420614206
},
1420714207
"instanceView": {
1420814208
"$ref": "#/definitions/VMExtensionInstanceView",
14209-
"title": "The type of the extensions."
14209+
"title": "The vm extension instance view."
1421014210
}
1421114211
},
1421214212
"title": "The configuration for virtual machine extension instance view."

specification/batch/data-plane/readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ To see additional help and options, run:
2525
These are the global settings for the Batch API.
2626

2727
``` yaml
28+
title: BatchServiceClient
2829
openapi-type: data-plane
2930
tag: package-2021-06.14.0
3031
```
@@ -371,30 +372,29 @@ See configuration in [readme.go.md](./readme.go.md)
371372
## Java
372373

373374
These settings apply only when `--java` is specified on the command line.
374-
Please also specify `--node-sdks-folder=<path to root folder of your azure-batch-sdk-for-java clone>`.
375+
Please also specify `--java-sdks-folder=<path to root folder of your azure-sdk-for-java repo>`.
375376

376-
``` yaml $(java)
377-
nodejs:
377+
``` yaml $(java) && $(openapi-type) == 'management-plane'
378+
java:
378379
azure-arm: true
379380
license-header: MICROSOFT_MIT_NO_VERSION
380-
namespace: com.microsoft.azure.batch.protocol
381-
output-folder: $(node-sdks-folder)/src/main/java
381+
namespace: com.microsoft.azure.batch
382+
output-folder: $(java-sdks-folder)/sdk/batch/azure-resourcemanager-batch
382383
payload-flattening-threshold: 1
383384
generate-license-txt: true
384385
clear-output-folder: true
385386
```
386387

387388
These settings apply only when `--java` is specified on the command line.
388-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
389+
Please also specify `--java-sdks-folder=<path to root folder of your azure-sdk-for-java repo>`.
389390

390-
``` yaml $(java)
391+
``` yaml $(java) && $(openapi-type) == 'data-plane'
391392
java:
392393
azure-arm: true
393-
fluent: true
394-
namespace: com.microsoft.azure.batch
394+
namespace: com.microsoft.azure.batch.protocol
395395
license-header: MICROSOFT_MIT_NO_CODEGEN
396396
payload-flattening-threshold: 1
397-
output-folder: $(azure-libraries-for-java-folder)/azure-batch
397+
output-folder: $(java-sdks-folder)/sdk/batch/microsoft-azure-batch
398398
```
399399

400400
## Multi-API/Profile support for AutoRest v3 generators

0 commit comments

Comments
 (0)