Azure / Azure/azure-rest-api-specs
[BUG] Microsoft.KeyVault/vaults/secrets@2023-07-01 returns undefined property "location"
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
### API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/secrets.json#L428
### API Spec version
2023-07-01
### Describe the bug
In the GET response, the `location` field is returned but not defined in the swagger.
### Expected behavior
In the GET response, the `location` should not be returned, or should be defined in the swagger.
### Actual behavior
In the GET response, the `location` field is returned but not defined in the swagger.
### Reproduction Steps
1. Create the resource.
2. Call GET API and check the response.
### Environment
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.