anaptecs / jeaf-generator

JEAF Generator uses UML models to generate code for Spring, REST, OpenAPI, Java and others. Boost your software development efficiency and time-to-market. Bye bye handwritten boiler blade code.
https://www.jeaf-generator.io
Apache License 2.0
2 stars 1 forks source link

Dynamic value resolution for enumerations #189

Closed jeaf-anaptecs closed 1 month ago

jeaf-anaptecs commented 1 month ago

Feature Description

Currently literals of an enum can be defined within the UML model. However there are cases where modeled enumeration should not be the only source for literals. So, it should be possible to provide additional values for literals via a function that servers as extension point

OpenAPI enums should be supported as well as Java enums.