Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][CostManagement] Model QueryDataset missing property "include" in the swagger #29719

Open
ChenxiJiang333 opened this issue Jul 8, 2024 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Cost Management - Query All issues in cost management associated with tags, dimensions and forecasts. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@ChenxiJiang333
Copy link
Member

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json#L2579C6-L2579C18

API Spec version

2023-11-01

Describe the bug

original issue: Azure/azure-sdk-for-python#36366

Model QueryDataset missing property "include" in the swagger, which makes SDKs failed to build the request body to get resource groups tags:

 "dataSet":{
    "include":[
         "Tags"
      ]
   },

Expected behavior

Model QueryDataset should have property "include" in the swagger.

Actual behavior

Model QueryDataset does not have property "include" in the swagger, which caused the serialization bug in SDKs.

Reproduction Steps

Serialize body { "dataSet":{ "include":["Tags" ]} with model QueryDataset, returns {"dataSet": {}}

Environment

No response

@ChenxiJiang333 ChenxiJiang333 added bug This issue requires a change to an existing behavior in the product in order to be resolved. Service Attention Workflow: This issue is responsible by Azure service team. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Cost Management - Query All issues in cost management associated with tags, dimensions and forecasts. CXP Attention labels Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Cost Management - Query All issues in cost management associated with tags, dimensions and forecasts. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants