Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.62k stars 5.04k forks source link

[policyinsights] Nextlink should not be 'POST' #15136

Open msyyc opened 3 years ago

msyyc commented 3 years ago

Description

There should be GET definition for nextlink in policyStates according to autorest norm x-ms-pageable . Otherwise it influences all language including Python,Java,Go.

image

There have been some issues to report this problem:

image

Related issues:

Python issue: https://github.com/Azure/azure-sdk-for-python/issues/17280

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kenieva.

Issue Details
# Description There should be `GET` definition for nextlink in [policyStates](https://github.com/Azure/azure-rest-api-specs/blob/master/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json ) according to autorest norm [x-ms-pageable]( https://github.com/Azure/autorest/blob/main/docs/extensions/readme.md#x-ms-pageable) . Otherwise it influences all language including Python,Java,Go. ![image](https://user-images.githubusercontent.com/70930885/125043188-470ec580-e0cd-11eb-834c-a42628e9a36a.png) There have been some issues to report this problem: ![image](https://user-images.githubusercontent.com/70930885/125043262-58f06880-e0cd-11eb-806d-3748789d90d0.png) # Related issues: Python issue: https://github.com/Azure/azure-sdk-for-python/issues/17280
Author: msyyc
Assignees: -
Labels: `Policy Insights`, `Service Attention`
Milestone: -
kenieva commented 3 years ago

Investigating...