|
1 | 1 | ## Java |
2 | 2 |
|
3 | 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 | 4 |
|
6 | 5 | ``` yaml $(java) |
7 | | -azure-arm: true |
8 | | -fluent: true |
9 | | -namespace: com.microsoft.azure.management.datamigration |
10 | | -license-header: MICROSOFT_MIT_NO_CODEGEN |
11 | | -payload-flattening-threshold: 1 |
12 | | -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration |
13 | | -``` |
14 | | -
|
15 | | -### Java multi-api |
16 | | -
|
17 | | -``` yaml $(java) && $(multiapi) |
18 | | -batch: |
19 | | - - tag: package-2018-07-15-preview |
20 | | - - tag: package-2017-11-15-preview |
21 | | - - tag: package-2018-03-31-preview |
22 | | -``` |
23 | | -
|
24 | | -### Tag: package-2018-07-15-preview and java |
25 | | -
|
26 | | -These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line. |
27 | | -Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. |
28 | | - |
29 | | -``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi) |
30 | | -java: |
31 | | - namespace: com.microsoft.azure.management.datamigration.v2018_07_15_preview |
32 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/datamigration/mgmt-v2018_07_15_preview |
33 | | -regenerate-manager: true |
34 | | -generate-interface: true |
35 | | -``` |
36 | | - |
37 | | -### Tag: package-2017-11-15-preview and java |
38 | | - |
39 | | -These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line. |
40 | | -Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. |
41 | | - |
42 | | -``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi) |
43 | | -java: |
44 | | - namespace: com.microsoft.azure.management.datamigration.v2017_11_15_preview |
45 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/datamigration/mgmt-v2017_11_15_preview |
46 | | -regenerate-manager: true |
47 | | -generate-interface: true |
48 | | -``` |
49 | | - |
50 | | -### Tag: package-2018-03-31-preview and java |
51 | | - |
52 | | -These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line. |
53 | | -Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`. |
54 | | - |
55 | | -``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi) |
56 | | -java: |
57 | | - namespace: com.microsoft.azure.management.datamigration.v2018_03_31_preview |
58 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/datamigration/mgmt-v2018_03_31_preview |
59 | | -regenerate-manager: true |
60 | | -generate-interface: true |
| 6 | +directive: |
| 7 | + - from: swagger-document |
| 8 | + where: $.definitions.MigrateMySqlAzureDbForMySqlSyncTaskOutput |
| 9 | + transform: > |
| 10 | + $['required'] = ['resultType']; |
| 11 | + - from: swagger-document |
| 12 | + where: $.definitions.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput |
| 13 | + transform: > |
| 14 | + $['required'] = ['resultType']; |
| 15 | + - from: swagger-document |
| 16 | + where: $.definitions.MigrateSqlServerSqlDbSyncTaskOutput |
| 17 | + transform: > |
| 18 | + $['required'] = ['resultType']; |
| 19 | + - from: swagger-document |
| 20 | + where: $.definitions.MigrateSqlServerSqlMITaskOutput |
| 21 | + transform: > |
| 22 | + $['required'] = ['resultType']; |
| 23 | + - from: swagger-document |
| 24 | + where: $.definitions.MigrateSqlServerSqlMISyncTaskOutput |
| 25 | + transform: > |
| 26 | + $['required'] = ['resultType']; |
61 | 27 | ``` |
0 commit comments