Azure / Azure/azure-rest-api-specs
`fileMode` difference between swagger and typespec
Open
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
in autorest swagger the name for `x-ms-mode` is `fileMode`. In typespec it is `mode`, which I think is more consistent with other properties of file attributes. We could
1. change it back to `fileMode` in models.tsp, or
2. renaming it to `fileMode` in client.tsp for languages that need that name.
https://github.com/Azure/azure-rest-api-specs/blob/283f9f2e8b00d8fa3a99bfcb76ba8cd731569fd1/specification/storage/data-plane/FileStorage/models.tsp#L1759
Contributor guide
Assessment
This issue has not been assessed yet.