Skip to content

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

Closed

Description

@darrelmiller

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: {}

Metadata

Metadata

Labels

type:bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions