Customize OpenAPI definition of child attribute from parent I have a generic record that I use to send enum values with a description to my front-end: