Azure / Azure/azure-rest-api-specs

Inconsistent server response in application-insights

Open
#8,501 2 comments 0 reactions 0 assignees View on GitHub
Monitor - ApplicationInsights needs-team-attention Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

https://github.com/Azure/azure-rest-api-specs/blob/2df17398750388e7a8e51eeedaac8bfe099e612b/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json#L40
The response format should be
```
{
'value':[]
}
```
But the truly response is `[]`, which would cause problem in python SDK.

Contributor guide

Open the contributing guide

Research direction

Open specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/components_API.json around line 40 and compare the declared response with the issue's observed response. Confirm the response uses the shown value-array shape, then validate the specification and check the generated Python SDK behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, python
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.