Skip to content

Commit

Permalink
- adds discriminator mappings for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
  • Loading branch information
baywet committed Mar 17, 2022
1 parent 535e75b commit c370eb7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openApiDocs/v1.0/Groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15510,6 +15510,13 @@ components:
additionalProperties:
type: object
microsoft.graph.directoryObject:
discriminator:
propertyName: '@odata.type'
mapping:
'#microsoft.graph.appRoleAssignment': '#/components/schemas/microsoft.graph.appRoleAssignment'
'#microsoft.graph.device': '#/components/schemas/microsoft.graph.device'
'#microsoft.graph.group': '#/components/schemas/microsoft.graph.group'
'#microsoft.graph.user': '#/components/schemas/microsoft.graph.user'
allOf:
- $ref: '#/components/schemas/microsoft.graph.entity'
- title: directoryObject
Expand Down
7 changes: 7 additions & 0 deletions openApiDocs/v1.0/Users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5949,6 +5949,13 @@ components:
additionalProperties:
type: object
microsoft.graph.directoryObject:
discriminator:
propertyName: '@odata.type'
mapping:
'#microsoft.graph.appRoleAssignment': '#/components/schemas/microsoft.graph.appRoleAssignment'
'#microsoft.graph.device': '#/components/schemas/microsoft.graph.device'
'#microsoft.graph.group': '#/components/schemas/microsoft.graph.group'
'#microsoft.graph.user': '#/components/schemas/microsoft.graph.user'
allOf:
- $ref: '#/components/schemas/microsoft.graph.entity'
- title: directoryObject
Expand Down

0 comments on commit c370eb7

Please sign in to comment.