Skip to content

enum get represented as int. #2749

@nielsq

Description

@nielsq

Hey everyone,
enums will are represented as integer? Should there not being a enum also in the json for that?

I have a class, called Node with an enum called Rank
Image

Here is the generated json where it´s just an integer.
Image

I also saw this issue when people use swagger, but not a solution on how to fix it here.
Any solutions?

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