Azure / Azure/azure-rest-api-specs

It should be `categories` not `category` in http request body and http response body in Security.AssessmentMetadata API

Open
#12,355 1 comment 0 reactions 0 assignees View on GitHub
Security Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

After tested, seems in Security.AssessmentMetadata API doesn't make [`category`](https://github.com/Azure/azure-rest-api-specs/blob/9a5ad06be61902cdbbc44bee02084a07a3a72499/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json#L317) take effect. After confirmed with service team, they said It should be `categories` not `category` in http request body and http response body. So they intend to fix it asap.

Contributor guide

Open the contributing guide

Research direction

Open specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/assessmentMetadata.json at the AssessmentMetadata schema around line 317 and inspect the request and response body definitions. Done means the field is named `categories` rather than `category` in both bodies, matching the service team's correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.