Type in response is random string instead of ARM resource type
- Dominant language
- TypeScript
- Stars
- 104
- Forks
- 62
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 5
Description
Given an example:
```json
{
"operationId": "Categories_Update",
"title": "Categories_Update",
"parameters": {
"api-version": "2022-06-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rgthrottling",
"accountName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
"categoryName": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"properties": {
"properties": {
"windowDuration": "PT5M"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"windowDuration": "PT5M"
},
"systemData": {
"createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
"createdByType": "User",
"createdAt": "2022-05-05T19:48:34.573Z",
"lastModifiedBy": "aaaaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-05-05T19:48:34.573Z"
},
"name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "aaaaa"
}
}
}
}
```
Field `type` is just yet another random string. However it must be certain ARM resource type instead.
Contributor guide
Assessment
This issue has not been assessed yet.