Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #10385
Closed
Open
Issue created Sep 13, 2021 by Administrator@rootContributor

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

Created by: 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

Assignee
Assign to
Time tracking