Skip to content

Generator: Fix IPageable interface mismatch for azuread connector #135

@daviburg

Description

@daviburg

The azuread connector fails code generation with:
CS0535: GetGroupMembersResponse does not implement interface member IPageable.Value

Root cause: The swagger defines a paginated response type (GetGroupMembersResponse) whose value array contains items of a different type than the one the generator infers for IPageable. The generator assigns IPageable but the response value property holds a different schema.

Fix needed: The generators pagination detection in DirectClientCSharpGenerator needs to verify that the page item type matches the actual value array item type before emitting : IPageable.

Connector: azuread (Azure Active Directory)
Auth: AAD OAuth (aadcertificate)
Priority: High - popular enterprise connector

Related to #7 (excluded connectors investigation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    generatorCodefulSdkGenerator issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions