[BUG] Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json - parameterValues should be of type object and not type string #31682
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json#L1877
API Spec version
2016-06-01
Describe the bug
We're seeing a bug when trying to ingest parameterValues, customParameterValues, and nonSecretParameterValues into a go sdk. This issue is stemming from the
additionalProperties
type beingstring
when it really should beobject
.For example, the api accepts the following request even though
22
is not a string.Expected behavior
I expect that
should instead be
for parameterValues, customParameterValues, and nonSecretParameterValues.
Actual behavior
We're seeing the api accept a number and not a string which is causing our go-sdk to throw errors because we're expecting type string but the api is giving type object.
Reproduction Steps
This request can be PUT to https://management.azure.com/subscriptions/XXXXXX/resourceGroups/acctestRG-conn-matthew/providers/Microsoft.Web/connections/sftpwithssh?api-version=2016-06-01
and we'll see that the api accepts other types and not just strings
Environment
No response
The text was updated successfully, but these errors were encountered: