Skip to content

Commit

Permalink
[devopsinfrastructure&oracle database] disable flatten (#28980)
Browse files Browse the repository at this point in the history
* disableflattenfordevopsinfrastructure

* disable flatten for oracle db

* Create readme.java.md

* Update readme.typescript.md

* Update readme.typescript.md

---------

Co-authored-by: Weidong Xu <[email protected]>
Co-authored-by: kazrael2119 <[email protected]>
  • Loading branch information
3 people authored May 17, 2024
1 parent 8322ff8 commit 4593e3f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
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
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

0 comments on commit 4593e3f

Please sign in to comment.