You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoREST.PowerShell should generate a command for /deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids={ids}) that makes GET /deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids=["1","2","3"]) request.
For more complex scenarios, the content property can define the media type and schema of the parameter. A parameter MUST contain either a schema property, or a content property, but not both.
The text was updated successfully, but these errors were encountered:
Duplicate of #4303, is this a demand from services? I did brings this up in autorest scrum a while back and there wasn't much interest in supporting it in the generators without a real demand.
@timotheeguerin, yes, this is a demand from a service. MS Graph API supports GET /deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids=["1","2","3"]), which can only be described with a parameter object of Content.application/json. See the discussion in microsoftgraph/microsoft-graph-devx-api#902 (comment).
AutoREST.PowerShell fails with
error | Error: Plugin modelerfour reported failure
when the parameter object of an operation containscontent
property:Repro Steps
content
. e.g., DeviceManagement.Functions.yml.Expected behavior
AutoREST.PowerShell should generate a command for
/deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids={ids})
that makesGET /deviceManagement/microsoft.graph.getRoleScopeTagsByIds(ids=["1","2","3"])
request.According to the OpenAPI spec:
The text was updated successfully, but these errors were encountered: