-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experienceA broken experience
Milestone
Description
Certain OData functions have path parameters referenced in query instead of path. This results in generation error since code generators cannot find the specified path parameters.
Current Representation
'/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.doesUserHaveAccess(userId=''{userId}'',tenantId=''{tenantId}'',userPrincipalName=''{userPrincipalName}'')':
get:
tags:
- users.Functions
summary: Invoke function doesUserHaveAccess
operationId: users.joinedTeams.primaryChannel_doesUserHaveAccess
parameters:
- name: user-id
in: path
description: 'key: id of user'
required: true
schema:
type: string
x-ms-docs-key-type: user
- name: team-id
in: path
description: 'key: id of team'
required: true
schema:
type: string
x-ms-docs-key-type: team
- name: userId
in: query
description: 'Usage: userId=''{userId}'''
schema:
type: string
nullable: true
- name: tenantId
in: query
description: 'Usage: tenantId=''{tenantId}'''
schema:
type: string
nullable: true
- name: userPrincipalName
in: query
description: 'Usage: userPrincipalName=''{userPrincipalName}'''
schema:
type: string
nullable: true
responses:
'200': ...
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: functionIdeal Representation
'/users/{user-id}/joinedTeams/{team-id}/primaryChannel/microsoft.graph.doesUserHaveAccess(userId=''{userId}'',tenantId=''{tenantId}'',userPrincipalName=''{userPrincipalName}'')':
get:
tags:
- users.Functions
summary: Invoke function doesUserHaveAccess
operationId: users.joinedTeams.primaryChannel_doesUserHaveAccess
parameters:
- name: user-id
in: path
description: 'key: id of user'
required: true
schema:
type: string
x-ms-docs-key-type: user
- name: team-id
in: path
description: 'key: id of team'
required: true
schema:
type: string
x-ms-docs-key-type: team
- name: userId
+ in: path
- in: query
description: 'Usage: userId=''{userId}'''
schema:
type: string
nullable: true
- name: tenantId
+ in: path
- in: query
description: 'Usage: tenantId=''{tenantId}'''
schema:
type: string
nullable: true
- name: userPrincipalName
+ in: path
- in: query
description: 'Usage: userPrincipalName=''{userPrincipalName}'''
schema:
type: string
nullable: true
responses:
'200': ...
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: functionMetadata
Metadata
Assignees
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experienceA broken experience