Skip to content

Enum in return type shows up as N200[attribute name] #1317

@MaximilianGaedig

Description

@MaximilianGaedig

Enum types in return types are not handled properly, they get generated as N200[attribute name with first letter uppercase] which is not defined in the struct

This results in an error during build

I would expect it being correctly handled as an enum but it would be nice to at least just handle that as a string/int so that some client can be generated from an api spec even if the enum type in the return type would not be supported

Workaround: use a string type in the openapi schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions