Skip to content

Commit b5111df

Browse files
ChenTanyi00Kai0
authored andcommitted
update java readme digitaltwins (Azure#9878)
1 parent 283cd9c commit b5111df

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Java
2+
3+
These settings apply only when `--java` is specified on the command line.
4+
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
5+
6+
``` yaml $(java)
7+
azure-arm: true
8+
fluent: true
9+
namespace: com.microsoft.azure.management.digitaltwins
10+
license-header: MICROSOFT_MIT_NO_CODEGEN
11+
payload-flattening-threshold: 1
12+
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-digitaltwins
13+
```
14+
15+
### Java multi-api
16+
17+
``` yaml $(java) && $(multiapi)
18+
batch:
19+
- tag: package-2020-03-01-preview
20+
```
21+
22+
### Tag: package-2020-03-01-preview and java
23+
24+
These settings apply only when `--tag=package-2020-03-01-preview --java` is specified on the command line.
25+
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
26+
27+
``` yaml $(tag) == 'package-2020-03-01-preview' && $(java) && $(multiapi)
28+
java:
29+
namespace: com.microsoft.azure.management.digitaltwins.v2020_03_01_preview
30+
output-folder: $(azure-libraries-for-java-folder)/sdk/digitaltwins/mgmt-v2020_03_01_preview
31+
regenerate-manager: true
32+
generate-interface: true
33+
```

specification/digitaltwins/resource-manager/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
7878

7979
See configuration in [readme.csharp.md](./readme.csharp.md)
8080

81+
## Java
82+
83+
See configuration in [readme.java.md](./readme.java.md)
84+
8185
## Multi-API/Profile support for AutoRest v3 generators
8286

8387
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

0 commit comments

Comments
 (0)