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

[Hub Generated] Review request for Microsoft.PolicyInsights to add version preview/2018-07-01-preview #5672

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
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,11 @@
},
"expressionValue": {
"description": "Value of the expression.",
"type": "string"
"type": "object"
},
"targetValue": {
"description": "Target value to be compared with the expression value.",
"type": "string"
"type": "object"
},
"operator": {
"description": "Operator to compare the expression value and the target value.",
Expand Down
21 changes: 0 additions & 21 deletions specification/policyinsights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ csharp:
namespace: Microsoft.Azure.Management.PolicyInsights
output-folder: $(csharp-sdks-folder)/PolicyInsights/Management/Management.PolicyInsights/Generated
clear-output-folder: true
directive:
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.expressionValue
transform: $.type = "object"
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.targetValue
transform: $.type = "object"
```

## Python
Expand All @@ -169,13 +162,6 @@ python:
namespace: azure.mgmt.policyinsights
package-name: azure-mgmt-policyinsights
clear-output-folder: true
directive:
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.expressionValue
transform: $.type = "object"
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.targetValue
transform: $.type = "object"
```
``` yaml $(python) && $(python-mode) == 'update'
python:
Expand Down Expand Up @@ -204,13 +190,6 @@ namespace: com.microsoft.azure.management.policyinsights
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-policyinsights
directive:
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.expressionValue
transform: $.type = "object"
- from: swagger-document
where: $.definitions.ExpressionEvaluationDetails.properties.targetValue
transform: $.type = "object"
```

### Java multi-api
Expand Down