ctaggart / autorust

MIT License
12 stars 4 forks source link

deviceprovisioningservices has duplicated operation_name params #82

Closed ctaggart closed 3 years ago

ctaggart commented 3 years ago
error[E0415]: identifier `certificate_name` is bound more than once in this parameter list
   --> services/mgmt/deviceprovisioningservices/src/package_2020_03/operations.rs:232:9
    |
232 |         certificate_name: Option<&str>,
    |         ^^^^^^^^^^^^^^^^ used as parameter more than once

Cause by operation DpsCertificate_Delete defining these parameters:

          {
            "name": "certificateName",
            "in": "path",
            "required": true,
            "type": "string",
            "description": "This is a mandatory field, and is the logical name of the certificate that the provisioning service will access by."
          },
          {
            "name": "certificate.name",
            "in": "query",
            "required": false,
            "type": "string",
            "description": "This is optional, and it is the Common Name of the certificate."
          },
ctaggart commented 3 years ago

moved to https://github.com/ctaggart/autorust/issues/82