Skip to content

Commit b2de552

Browse files
authored
mgmt, imagebuilder, rename java method validate (#19248)
* mgmt, imagebuilder, rename java method validate * move java specific configurations to readme.java.md * remove outdated configs
1 parent 40fdd84 commit b2de552

File tree

2 files changed

+13
-44
lines changed

2 files changed

+13
-44
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Java
2+
3+
These settings apply only when `--java` is specified on the command line.
4+
5+
``` yaml $(java)
6+
directive:
7+
- from: imagebuilder.json
8+
where: $.definitions.ImageTemplateProperties.properties.validate
9+
transform: >
10+
$["x-ms-client-name"] = "validation";
11+
reason: property name validate collides with built-in method name
12+
```

specification/imagebuilder/resource-manager/readme.md

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -115,47 +115,4 @@ See configuration in [readme.go.md](./readme.go.md)
115115

116116
## Java
117117

118-
These settings apply only when `--java` is specified on the command line.
119-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
120-
121-
``` yaml $(java)
122-
azure-arm: true
123-
fluent: true
124-
namespace: com.microsoft.azure.management.imagebuilder
125-
license-header: MICROSOFT_MIT_NO_CODEGEN
126-
payload-flattening-threshold: 1
127-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-imagebuilder
128-
```
129-
130-
### Java multi-api
131-
132-
``` yaml $(java) && $(multiapi)
133-
batch:
134-
- tag: package-2019-02
135-
```
136-
137-
### Tag: package-2018-02 and java
138-
139-
These settings apply only when `--tag=package-2018-02 --java` is specified on the command line.
140-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
141-
142-
``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi)
143-
java:
144-
namespace: com.microsoft.azure.management.imagebuilder.v2018_02_01_preview
145-
output-folder: $(azure-libraries-for-java-folder)/sdk/imagebuilder/mgmt-v2018_02_01_preview
146-
regenerate-manager: true
147-
generate-interface: true
148-
```
149-
150-
### Tag: package-2019-02 and java
151-
152-
These settings apply only when `--tag=package-2019-02 --java` is specified on the command line.
153-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
154-
155-
``` yaml $(tag) == 'package-2019-02' && $(java) && $(multiapi)
156-
java:
157-
namespace: com.microsoft.azure.management.imagebuilder.v2019_02_01_preview
158-
output-folder: $(azure-libraries-for-java-folder)/sdk/imagebuilder/mgmt-v2019_02_01_preview
159-
regenerate-manager: true
160-
generate-interface: true
161-
```
118+
See configuration in [readme.java.md](./readme.java.md)

0 commit comments

Comments
 (0)