Skip to content

Integer enum values are not converted #63

Open
@RockyMM

Description

It seems that any integer-based enum is not converted properly.

If we have an input like:

            "baud_rate": {
                "enum": [
                    110,
                    300,
                    600,
                    1200,
                    2400,
                    4800,
                    9600,
                    14400,
                    19200,
                    38400,
                    57600,
                    115200,
                    128000,
                    256000
                ],
                "title": "Baud rate",
                "type": "integer",
                "x-nullable": true
            },

the output is:

                "baud_rate": {
                    "nullable": true,
                    "title": "Baud rate",
                    "type": "integer"
                },

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