Skip to content

Nullable enum as UntypedNode #2446

@jose-ribeiro-mds

Description

@jose-ribeiro-mds

Hello,

If i have a nullable enum property, the openApi generator write this to the Json file:

"NullableOfGender": {
"enum": [
"Male",
"Female",
null
],
"nullable": true
}

So, when i consume the openApi via Kiota, it generate a "UntypedNode?".

Can you fix please?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions