From 47bc71c56e672b19b47aae23f421fdd35529f95e Mon Sep 17 00:00:00 2001 From: lenala Date: Mon, 9 Jul 2018 14:44:53 -0700 Subject: [PATCH 1/3] Adding Java configuration for devspaces --- .../devspaces/resource-manager/readme.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 4352b6fa301b..1a2563b60c35 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -86,3 +86,37 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.devspaces +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devspaces +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-06-01-preview +``` + +### Tag: package-2018-06-01-preview and java + +These settings apply only when `--tag=2018-06-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='2018-06-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.devspaces.v2018_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2018_06_01_preview +regenerate-manager: true +generate-interface: true +``` \ No newline at end of file From 579705b263c21f3621b4fff6b3ca438572f997c4 Mon Sep 17 00:00:00 2001 From: lenala Date: Mon, 9 Jul 2018 15:34:58 -0700 Subject: [PATCH 2/3] Adding Java configuration for devspaces --- specification/devspaces/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 1a2563b60c35..3233dc8d63e7 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -43,6 +43,15 @@ input-file: --- # Code Generation +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-java +``` ## C# From cd0d9afdd1c5d360108d0196e1b4e8f4984cd36e Mon Sep 17 00:00:00 2001 From: lenala Date: Mon, 9 Jul 2018 21:31:52 -0700 Subject: [PATCH 3/3] addressing code review --- specification/devspaces/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 3233dc8d63e7..646646a14dd3 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -122,7 +122,7 @@ batch: These settings apply only when `--tag=2018-06-01-preview --java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag)=='2018-06-01-preview' && $(java) && $(multiapi) +``` yaml $(tag)=='package-2018-06-01-preview' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.devspaces.v2018_06_01_preview output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2018_06_01_preview