From a1d3891efb5d05b9b2d955389b63999f50acfc9b Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 5 Feb 2024 16:50:51 +0800 Subject: [PATCH] [astro] disable flatten (#27649) * Create readme.python.md * Update readme.python.md * Update readme.md * update the basic version and add typescript.md * Update specification/liftrastronomer/resource-manager/readme.typescript.md Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> --------- Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> --- .../resource-manager/readme.md | 10 ++++++++-- .../resource-manager/readme.python.md | 19 +++++++++++++++++++ .../resource-manager/readme.typescript.md | 13 +++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 specification/liftrastronomer/resource-manager/readme.python.md create mode 100644 specification/liftrastronomer/resource-manager/readme.typescript.md diff --git a/specification/liftrastronomer/resource-manager/readme.md b/specification/liftrastronomer/resource-manager/readme.md index d9225ab88bbc..01fc2e5cb3b4 100644 --- a/specification/liftrastronomer/resource-manager/readme.md +++ b/specification/liftrastronomer/resource-manager/readme.md @@ -27,8 +27,14 @@ These are the global settings for the astronomer service. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2023-08-01-preview +tag: package-2023-08-01 ``` + +``` yaml +modelerfour: + flatten-models: false +``` + ### Tag: package-2023-08-01-preview These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. @@ -45,4 +51,4 @@ These settings apply only when `--tag=package-2023-08-01` is specified on the co ```yaml $(tag) == 'package-2023-08-01' input-file: - Astronomer.Astro/stable/2023-08-01/astronomer.json -``` \ No newline at end of file +``` diff --git a/specification/liftrastronomer/resource-manager/readme.python.md b/specification/liftrastronomer/resource-manager/readme.python.md new file mode 100644 index 000000000000..45003608943d --- /dev/null +++ b/specification/liftrastronomer/resource-manager/readme.python.md @@ -0,0 +1,19 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +title: AstroMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-astro +namespace: azure.mgmt.astro +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/astro/azure-mgmt-astro/azure/mgmt/astro +``` diff --git a/specification/liftrastronomer/resource-manager/readme.typescript.md b/specification/liftrastronomer/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..d9fb2b5a82a1 --- /dev/null +++ b/specification/liftrastronomer/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +title: AstroManagementClient +typescript: + azure-arm: true + package-name: "@azure/arm-astro" + output-folder: "$(typescript-sdks-folder)/sdk/astro/arm-astro" + generate-metadata: true +```