Azure / Azure/azure-rest-api-specs

Storage Cache: tags should be a map<string, string>

Open
#11,084 3 comments 0 reactions 1 assignee Claimed by @feg2000 View on GitHub
question Service Attention StorageCache
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

Storage Cache has the following defition of [tags](https://github.com/Azure/azure-rest-api-specs/blob/27cc07ddd294d98e05cb301e07a72378df9f87e8/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2020-03-01/storagecache.json#L1201):

```
"tags": {
"description": "ARM tags as name/value pairs.",
"type": "object"
},
```

Instead, it should mark the type of the values as `string`:

```
"tags": {
"description": "ARM tags as name/value pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
```

For example, see this definition of the [storage accounts](https://github.com/Azure/azure-rest-api-specs/blob/27cc07ddd294d98e05cb301e07a72378df9f87e8/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json#L2210-L2214).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.