azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

[BUG] EntityQueryItem is represented twice in the SDK

Open m-nash opened this issue 2 years ago • 2 comments

Library name and version

Azure.ResourceManager.SecurityInsights

Describe the bug

In this library is that the EntityQueryItem is a resource so it becomes EntityQueryData in the SDK, however we also have it as an EntityQueryItem model class also. This seems incorrect to me can we dig into why this is the case?

Expected behavior

We represent the model from the spec once

Actual behavior

we represent it twice

Reproduction Steps

None

Environment

No response

m-nash avatar Nov 09 '22 17:11 m-nash

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Monitor - ApplicationInsights:0.30032992,Azure.Identity:0.24799086,ARM:0.06841643'

azure-sdk avatar Nov 09 '22 17:11 azure-sdk

EntityQueryItem came from Entities.json, EntityQueryData came from EntityQueries.json and has an extra Etag property based on swagger definition. We can check the real service response to confirm whether they're really different.

fengzhou-msft avatar Nov 10 '22 02:11 fengzhou-msft

Close this issue as we have upgraded the API version to 2022-11-01 and these two models don't exist anymore.

Yao725 avatar Feb 16 '23 02:02 Yao725