Skip to content

Some OData type cast paths are returning empty response objects and failing Hidi validation #546

Closed
@irvinesunday

Description

@irvinesunday
'/identity/authenticationEventsFlows/{authenticationEventsFlow-id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp':
    description: Casts the previous resource to onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.
    get:
      tags:
        - identity.authenticationEventsFlow
      summary: Get the items of type microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp in the microsoft.graph.onAuthenticationMethodLoadStartHandler collection
      operationId: identity.authenticationEventsFlows.GetOnAuthenticationMethodLoadStart.AsOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp
      parameters:
        - name: authenticationEventsFlow-id
          in: path
          description: The unique identifier of authenticationEventsFlow
          required: true
          schema:
            type: string
          x-ms-docs-key-type: authenticationEventsFlow
      responses:
        '200': { }
        default:
          $ref: '#/components/responses/error'

The empty responses object: '200': { } is causing validation error in Hidi:

 Detected error during parsing: The field 'description' in 'response' object is REQUIRED. [#/paths/~1identity~1authenticationEventsFlows~1{authenticationEventsFlow-id}~1microsoft.graph.externalUsersSelfServiceSignUpEventsFlow~1onAuthenticationMethodLoadStart~1microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/get/responses/200/description]

Metadata

Metadata

Assignees

Labels

type:bugA broken experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions