Skip to content

[Feature] Golang - Allowed values from Enum should be exposed as public #10385

@wtrocki

Description

@wtrocki

Description

When building applications in golang we often need to be able to access all values of the enum as an array.
Instead of building them on client side we can expose allowed enum values directly.

Change required

allowed{{{classname}}}EnumValues => Allowed{{{classname}}}EnumValues

Example: https://github.com/redhat-developer/app-services-sdk-go/blob/main/registryinstance/apiv1internal/client/model_rule_type.go#L28-L31

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions