Skip to content

Commit

Permalink
Swagger changes for ServiceNowV2 expression app model. (#28294)
Browse files Browse the repository at this point in the history
* Swagger changes for ServiceNowV2 expression app model.

* Changes

* updates

* updates

* Update Pipeline.json

* Update sdk-suppressions.yaml

* add azure-sdk-for-go suppression

* Update sdk-suppressions.yaml

* Update sdk-suppressions.yaml

---------

Co-authored-by: ms-kanikagupta <166607519+kanikagupta11@users.noreply.github.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: Alancere <804873052@qq.com>
Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
5 people committed May 13, 2024
1 parent 0bc238e commit b627f6c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9239,7 +9239,8 @@
"Constant",
"Field",
"Unary",
"Binary"
"Binary",
"NAry"
],
"type": "string",
"description": "Type of expressions supported by the system. Type: string."
Expand All @@ -9248,9 +9249,14 @@
"description": "Value for Constant/Field Type: string.",
"type": "string"
},
"operator": {
"description": "Expression operator value Type: string.",
"type": "string"
"operators": {
"description": "Expression operator value Type: list of strings.",
"type": "array",
"items": {
"type": "string",
"x-ms-format": "dfe-string",
"description": "Type: string."
}
},
"operands": {
"description": "List of nested expressions.",
Expand Down
15 changes: 4 additions & 11 deletions specification/datafactory/resource-manager/sdk-suppressions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ suppressions:
- package: azure-mgmt-datafactory
breaking-changes:
- Model ManagedIdentityCredential no longer has parameter resource_id
- Model ExpressionV2 no longer has parameter operator
azure-sdk-for-go:
- package: sdk/resourcemanager/datafactory/armdatafactory
breaking-changes:
- Enum `ScriptType` has been removed
- Field `ManagedIdentityCredentialResource` of struct `CredentialOperationsClientCreateOrUpdateResponse` has been removed
- Field `ManagedIdentityCredentialResource` of struct `CredentialOperationsClientGetResponse` has been removed
- Field `TypeProperties` of struct `ManagedIdentityCredential` has been removed
- Function `*CredentialOperationsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ManagedIdentityCredentialResource, *CredentialOperationsClientCreateOrUpdateOptions)` to `(context.Context, string, string, string, CredentialResource, *CredentialOperationsClientCreateOrUpdateOptions)`
- Struct `ManagedIdentityCredentialResource` has been removed
- Struct `ManagedIdentityTypeProperties` has been removed
- Type of `AzureFunctionActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
- Type of `CredentialListResponse.Value` has been changed from `[]*ManagedIdentityCredentialResource` to `[]*CredentialResource`
- Type of `WebActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
- Type of `WebHookActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
- Field `Operator` of struct `ExpressionV2` has been removed
azure-sdk-for-js:
- package: "@azure/arm-datafactory"
breaking-changes:
Expand All @@ -26,4 +18,5 @@ suppressions:
- "Type of parameter headers of interface WebActivity is changed from {\n [propertyName: string]: string;\n } to {\n [propertyName: string]: any;\n }"
- "Type of parameter headers of interface WebHookActivity is changed from {\n [propertyName: string]: string;\n } to {\n [propertyName: string]: any;\n }"
- Type of parameter type of interface ScriptActivityScriptBlock is changed from ScriptType to any
- Type of parameter value of interface CredentialListResponse is changed from ManagedIdentityCredentialResource[] to CredentialResource[]
- Type of parameter value of interface CredentialListResponse is changed from ManagedIdentityCredentialResource[] to CredentialResource[]
- Interface ExpressionV2 no longer has parameter operator
Original file line number Diff line number Diff line change
Expand Up @@ -8146,7 +8146,8 @@
"Constant",
"Field",
"Unary",
"Binary"
"Binary",
"NAry"
],
"type": "string",
"description": "Type of expressions supported by the system. Type: string."
Expand All @@ -8155,9 +8156,13 @@
"description": "Value for Constant/Field Type: string.",
"type": "string"
},
"operator": {
"description": "Expression operator value Type: string.",
"type": "string"
"operators": {
"description": "Expression operator value Type: list of strings.",
"type": "array",
"items": {
"type": "string",
"description": "Type: string."
}
},
"operands": {
"description": "List of nested expressions.",
Expand Down

0 comments on commit b627f6c

Please sign in to comment.