An enum type is a special data type that enables for a field to be a set of predefined constants.
Akwatype allows you to define enums that can then be used like any other type.
In the following example the size of the Pizza can only take the values small, medium and family
enum PizzaSize { small, medium, family }
type Pizza{ name:String size: PizzaSize }
This will translate into OpenAPI