microsoft.graph.distributionList entity in beta has incorrect types

Open Beginner friendly
#1,192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Domain
api

Research direction

Start with the microsoft.graph.distributionList schema shown in the issue and compare its members reference with the distributionlistmember resource documentation linked there. Update the metadata so the members element uses the intended type, then verify that the resulting schema reflects that reference.

Written by the indexing model from the issue text.

Description

ToTriage
  microsoft.graph.distributionList:
      allOf:
        - $ref: '#/components/schemas/microsoft.graph.outlookItem'
        - title: distributionList
          required:
            - '@odata.type'
          type: object
          properties:
            displayName:
              type: string
              description: The display name of the distribution list.
              nullable: true
            members:
              type: array
              items:
                $ref: '#/components/schemas/microsoft.graph.member'

The members element is not microsoft.graph.member. It should be an entriely different type - microsoft.graph.distributionlistmember (https://learn.microsoft.com/en-us/graph/api/resources/distributionlistmember?view=graph-rest-beta).

Dominant language
XSLT
Stars
166
Forks
55
Avg merge
16h 12m
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-metadata

All issues in microsoftgraph/msgraph-metadata

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.