Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.6k stars 5.01k forks source link

[Event Hubs] Event Hubs Operations - List 2017-04-01 API returns item with typo `removeAcsNamepsace` #14325

Open jiasli opened 3 years ago

jiasli commented 3 years ago

Event Hubs Operations - List 2017-04-01 API returns item with typo removeAcsNamepsace (should be removeAcsNamespace):

GET https://management.azure.com/providers/Microsoft.EventHub/operations?api-version=2017-04-01

...
    {
      "name": "Microsoft.EventHub/namespaces/removeAcsNamepsace/action",
      "display": {
        "provider": "Microsoft Azure EventHub",
        "resource": "Remove ACS namespace",
        "operation": "Remove ACS namespace",
        "description": "Remove ACS namespace"
      },
      "isDataAction": false
    }

Can't verify if the typo still exists in 2021-01-01-preview because the API returns 404 (https://github.com/Azure/azure-rest-api-specs/issues/14324).

jiasli commented 3 years ago

Additional context: I found this typo in Azure SDK for Python repo's recording file while solving https://github.com/Azure/azure-cli/pull/17567:

https://github.com/Azure/azure-sdk-for-python/blob/937a1488941bad249cbf7549f5617f3a3da5489c/sdk/eventhub/azure-mgmt-eventhub/tests/recordings/test_cli_mgmt_eventhub_async.test_eventhub.yaml#L1389

"name":"Microsoft.EventHub/namespaces/removeAcsNamepsace/action"
ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl.

Issue Details
[Event Hubs Operations - List 2017-04-01](https://docs.microsoft.com/en-us/rest/api/eventhub/stable/operations/list) API returns item with typo `removeAcsNamepsace` (should be `removeAcsNamespace`): ```http GET https://management.azure.com/providers/Microsoft.EventHub/operations?api-version=2017-04-01 ... { "name": "Microsoft.EventHub/namespaces/removeAcsNamepsace/action", "display": { "provider": "Microsoft Azure EventHub", "resource": "Remove ACS namespace", "operation": "Remove ACS namespace", "description": "Remove ACS namespace" }, "isDataAction": false } ``` Can't verify if the typo still exists in `2021-01-01-preview` because the API returns `404` (https://github.com/Azure/azure-rest-api-specs/issues/14324).
Author: jiasli
Assignees: akning-ms
Labels: `Event Hubs`, `Service Attention`, `needs-triage`
Milestone: -
Saglodha commented 1 year ago

Thanks for reporting @jiasli, I would investigate with team to get this corrected and share updates.