Skip to content

Commit

Permalink
Java, node fixes, object type updates (#3619)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeldeib authored and sergey-shandar committed Aug 10, 2018
1 parent e770705 commit d29f24e
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
33 changes: 33 additions & 0 deletions specification/applicationinsights/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,36 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
``` yaml $(tag) == 'v1' && $(go)
output-folder: $(go-sdk-folder)/services/appinsights/v1/insights
```

``` yaml $(typescript)
typescript:
package-name: azure-applicationinsights-query
package-version: 1.0.0-Preview-1
output-folder: $(node-sdks-folder)/lib/services/applicationinsightsQuery/lib
generate-metadata: true
azure-arm: true
add-credentials: true
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items
transform: $.type = "object"
```

## Java

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

``` yaml $(java)
java:
azure-arm: true
fluent: false
namespace: com.microsoft.azure.applicationinsights.query
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/applicationinsights/data-plane
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items.type
transform: $ = "object"
```
17 changes: 17 additions & 0 deletions specification/applicationinsights/data-plane/readme.nodejs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

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

``` yaml $(nodejs)
nodejs:
package-name: azure-applicationinsights-query
package-version: 1.0.0-Preview-1
output-folder: $(node-sdks-folder)/lib/services/applicationinsights-query
generate-license-txt: true
generate-package-json: true
generate-readme-md: true
directive:
- reason: Remove Events_GetOdataMetadata from Node SDK due to XML issues.
remove-operation: Events_GetOdataMetadata
```
4 changes: 4 additions & 0 deletions specification/operationalinsights/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,8 @@ java:
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/loganalytics/data-plane
directive:
- from: swagger-document
where: $.definitions.table.properties.rows.items.items.type
transform: $ = "object"
```

0 comments on commit d29f24e

Please sign in to comment.