Azure / Azure/autorest.cli

Generated wrong BODY

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
18
PR merge metrics
No merged PRs in 30d

Description

generated test:
```python
# DataBoxEdgeDevicePut[put]
[
"application/json; charset=utf-8"
]
result = self.mgmt_client.devices.create_or_update(resource_group.name, DATA_BOX_EDGE_DEVICE_NAME, BODY)
result = result.result()
```

parameters in `DataBoxEdgeDevicePut.json`:
```
"parameters": {
"api-version": "2019-08-01",
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
"200"
],
"x-ms-client-request-id": [
"a93b39a3-1ff4-42b8-a56f-43368d47e37a"
],
"accept-language": [
"en-US"
],
"DataBoxEdgeDevice": {
"location": "WUS",
"tags": {},
"sku": {
"name": "Edge",
"tier": "Standard"
}
}
},
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.