Azure / Azure/azure-rest-api-specs

[BUG] 200 response for PartnerTopics PATCH in EventGrid missing body schema

Open
#43,047 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/06f69b8b78d525c5e47f81f50e2cb1d21b7dd783/specification/eventgrid/resource-manager/Microsoft.EventGrid/EventGrid/PartnerTopic.tsp#L56

### API Spec version

2025-04-01-preview

### Describe the bug

The atual 200 response of
`/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}`
has body schema, which is inconsistent with current definition.

### Expected behavior

Response definition has body schema

### Actual behavior

Response definition without body schema

### Reproduction Steps

Operation: PartnerTopics_Update HTTP PATCH `/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}`

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Open EventGrid/PartnerTopic.tsp at line 56 and inspect the PartnerTopics_Update PATCH operation. Compare the defined 200 response with the reported response shape, then verify the response includes its body schema and run the repository's relevant API specification checks if available.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.