-
Notifications
You must be signed in to change notification settings - Fork 64
required is missing on path parameters #297
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
Comments
bug seems to have been introduced by #293 which introduced '/applications/{application-id}/createdOnBehalfOf':
description: Provides operations to manage the createdOnBehalfOf property of the microsoft.graph.application entity.
get:
tags:
- applications.directoryObject
summary: Get createdOnBehalfOf from applications
description: Supports $filter (eq when counting empty collections). Read-only.
operationId: applications.GetCreatedOnBehalfOf
parameters:
- name: $select
in: query
description: Select properties to be returned
style: form
explode: false
schema:
uniqueItems: true
type: array
items:
enum:
- id
- deletedDateTime
type: string
- name: $expand
in: query
description: Expand related entities
style: form
explode: false
schema:
uniqueItems: true
type: array
items:
enum:
- '*'
type: string
responses:
2XX:
description: Retrieved navigation property
content:
application/json:
schema:
$ref: '#/components/schemas/microsoft.graph.directoryObject'
4XX:
$ref: '#/components/responses/error'
5XX:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
parameters:
- name: application-id
in: path
description: 'key: id of application'
required: true
style: simple
schema:
type: string
x-ms-docs-key-type: application
+ - name: appId
+ in: path
+ description: 'Alternate key: appId of application'
+ style: simple
+ schema:
+ type: string
+ nullable: true |
This is also affecting PowerShell module - microsoftgraph/msgraph-sdk-powershell#1577 (review). How is the alternate key ( |
This is also potentially affecting Go and PowerShell snippets in GE: microsoftgraph/microsoft-graph-explorer-v4#2174 |
@peombwa The idea is to generate paths that utilize alternate parameters e.g. for the alternate key I'm closing this issue since removing support for alternate keys fixed this issue. Let's have further discussions here. |
Short summary (3-5 sentences) describing the issue.
Assemblies affected
1.2.0-preview4
Steps to reproduce
Expected result
No errors about path parameters missing the required property.
Actual result
(logs truncated for brevity)
Additional detail
This is using the latest open API description for Microsoft Graph which has been using the current version of this library to be generated by the weekly process.
The text was updated successfully, but these errors were encountered: