Skip to content

Functions that return Edm.Stream are not being correctly converted #200

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

Closed
darrelmiller opened this issue Mar 18, 2022 · 1 comment · Fixed by #211
Closed

Functions that return Edm.Stream are not being correctly converted #200

darrelmiller opened this issue Mar 18, 2022 · 1 comment · Fixed by #211
Assignees
Labels
type:bug A broken experience

Comments

@darrelmiller
Copy link
Member

Given this CSDL

<Function Name="getOffice365ActivationCounts" IsBound="true">
   <Parameter Name="reportRoot" Type="graph.reportRoot"/>
   <ReturnType Type="Edm.Stream" Nullable="false"/>
</Function>

We are currently generating this,

  /reports/microsoft.graph.getOffice365ActivationCounts():
    get:
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  value:
                    type: string
                    format: base64url

Which should be

  /reports/microsoft.graph.getOffice365ActivationCounts():
    get:
      responses:
        '200':
          description: Success
          content:
            application/octet-stream: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A broken experience
Projects
None yet
4 participants