Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.68k stars 5.1k forks source link

[Storage] Cors rule allowed methods in mgmt plane swagger doesn't match the server behavior #23854

Open yifanz7 opened 1 year ago

yifanz7 commented 1 year ago

The cors rule allowed methods defined in the Storage swagger doesn't match with the server behavior.

The definition of swagger https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/common.json#L36 Some methods are missing in the swagger - the server also accepts values including TRACE and CONNECT

ghost commented 1 year ago

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

Issue Details
The cors rule allowed methods defined in the Storage swagger doesn't match with the server behavior. The definition of swagger https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/common.json#L36 Some methods are missing in the swagger - the server also accepts values including TRACE and CONNECT
Author: yifanz7
Assignees: -
Labels: `Storage`, `Service Attention`, `needs-triage`
Milestone: -