-
Notifications
You must be signed in to change notification settings - Fork 38
Change retrunType for M365 report functions to Edm.Steam #79
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
Comments
@peombwa If the returnType was Edm.Stream, would that fix our issues? |
@darrelmiller, I totally missed this. Yes, having the returnType as I'll transfer the issue to the metadata repo since this work will involve XSLT transform. |
@peombwa Is there an update on this? |
Any updates to this yet? |
Also looking for an update on this. As far as we can tell, the entire Microsoft.Graph.Reports powershell sdk module is irretrievably broken until this is fixed. |
@silijon agree it would be great to see this fixed until then you may use this workaround with Peter provided me.
|
Resolved with #213 |
The converted OpenAPI document currently represents response type of most report functions as
application/json
instead ofapplication/octet-stream
. To solve this, we need to ensure that response types of functions bound to reportRoot are accurately represented in the converted OpenAPI. Without this, code generators won't be able to know how to properly handle responses.Example
Currently
This CSDL with the wrong return type:


Gets converted to this in OpenAPI:

Expected
For reports to function as described in MS Graph docs, we need to ensure that they are described as shown below:

Related to microsoftgraph/msgraph-sdk-powershell#407
AB#9223
The text was updated successfully, but these errors were encountered: