Skip to content

Commit

Permalink
[astro] disable flatten (#27649)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: kazrael2119 <[email protected]>
Co-authored-by: Qiaoqiao Zhang <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent 79e4e0c commit a1d3891
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
10 changes: 8 additions & 2 deletions specification/liftrastronomer/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
```
```
19 changes: 19 additions & 0 deletions specification/liftrastronomer/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Python

These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## TypeScript

These settings apply only when `--typescript` is specified on the command line.
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`.

``` 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
```

0 comments on commit a1d3891

Please sign in to comment.