Skip to content

Generated wrong BODY #106

@00Kai0

Description

@00Kai0

generated test:

        # 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"
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions