You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated code against the latest beta API fails to build for some endpoints because of missing response schemas on pageable endpoints.
Failing snippet
openapi: 3.0.1paths:
'/identity/authenticationEventsFlows/{authenticationEventsFlow-id}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp':
description: Casts the previous resource to onAttributeCollectionExternalUsersSelfServiceSignUp.get:
tags:
- identity.authenticationEventsFlowsummary: Get the items of type microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp in the microsoft.graph.onAttributeCollectionHandler collectionoperationId: identity.authenticationEventsFlows.GetOnAttributeCollection.AsOnAttributeCollectionExternalUsersSelfServiceSignUpresponses:
2XX: { }x-ms-pageable:
nextLinkName: '@odata.nextLink'operationName: listMoreparameters:
- name: authenticationEventsFlow-idin: pathdescription: The unique identifier of authenticationEventsFlowrequired: trueschema:
type: stringx-ms-docs-key-type: authenticationEventsFlow
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
While we could add defensive programming to ignore paging information when no schema is available here, I believe we should also log an issue in the conversion library.
The onAttributeCollection property is a single valued property (not a collection), therefor the paging information should not have been added to the OpenAPI description.
Can you create an issue over there as well please @calebkiage?
The generated code against the latest beta API fails to build for some endpoints because of missing response schemas on pageable endpoints.
Failing snippet
The text was updated successfully, but these errors were encountered: