Azure / Azure/azure-rest-api-specs

WebApps_ListHybridConnections operations is modeled as a single return type operation but should be modeled as pagable list return type operation

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

Description

Simply this line - https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json#L3250 should be the same as this line https://github.com/Azure/azure-rest-api-specs/blob/master/specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json#L593 .

As a result generated code has a single response value operation https://github.com/Azure/azure-sdk-for-net/blob/psSdkJson6/src/SDKs/WebSites/Management.Websites/Generated/IWebAppsOperations.cs#L2391 but should be generated as a pagable collection response. Currently developers cannot list all the hybrid connections for their websites.

Contributor guide

Open the contributing guide

Research direction

Compare the operation at specification/web/resource-manager/Microsoft.Web/stable/2016-08-01/WebApps.json#L3250 with specification/web/resource-manager/Microsoft.Web/stable/2016-09-01/AppServicePlans.json#L593. Then inspect the generated IWebAppsOperations.cs entry at line 2391 to confirm the expected pagable collection shape. Done means the WebApps_ListHybridConnections operation generates a pagable collection response so developers can list all hybrid connections.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.