Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devopsinfrastructure&oracle database] disable flatten #28980

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions specification/devopsinfrastructure/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ openapi-subtype: providerHub
tag: package-preview-2024-04
```

``` yaml
modelerfour:
flatten-models: false
```

### Tag: package-preview-2024-04

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ 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: DevOpsInfrastructureMgmtClient
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-devopsinfrastructure
Expand Down
7 changes: 7 additions & 0 deletions specification/oracle/resource-manager/readme.java.md
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft May 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add it tp java in case they really don't have typespec.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Java

These settings apply only when `--java` is specified on the command line.

``` yaml $(java)
client-flattened-annotation-target: disabled
```
5 changes: 5 additions & 0 deletions specification/oracle/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ openapi-subtype: rpaas
tag: package-2023-09-01-preview
```

``` yaml
modelerfour:
flatten-models: false
```

### Tag: package-2023-09-01-preview

These settings apply only when `--tag=package-2023-09-01-preview` is specified on the command line.
Expand Down
5 changes: 3 additions & 2 deletions specification/oracle/resource-manager/readme.typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ 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: OracleDatabaseManagementClient
typescript:
azure-arm: true
package-name: "@azure/arm-Oracle.Database"
output-folder: "$(typescript-sdks-folder)/sdk/Oracle.Database/arm-Oracle.Database"
package-name: "@azure/arm-oracledatabase"
output-folder: "$(typescript-sdks-folder)/sdk/oracledatabase/arm-oracledatabase"
payload-flattening-threshold: 1
clear-output-folder: true
generate-metadata: true
Expand Down