Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

[BUG] Type error in AzureDataFactory-AzureMLExecutePipelineActivityTypeProperties-mlPipelineParameters #31561

Open HarveyLink opened 1 week ago

HarveyLink commented 1 week ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/6bab1a8cc4ea7b5368da89f2a00f15027392e703/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json#L7639

API Spec version

2018-06-01

Describe the bug

Original customer issue: https://github.com/Azure/azure-sdk-for-net/issues/45401 It's possible that the response value contains object type instead of string. The x-ms-format should be dfe-key-object-value-pairs

Expected behavior

"x-ms-format": "dfe-key-object-value-pairs"

Actual behavior

"x-ms-format": "dfe-key-value-pairs"

Reproduction Steps

Call GetDataFactoryPipeline on a Pipeline with AzureMLExecutePipelineActivity that contains expression parameter

Environment

No response