I need to define a map. But I also want to limit the possible keys.
Here is what I tried to do.
type: object
description: Key Value Map with user data. Possible values for the keys ("KEY_1", "KEY_2", "KEY_3")
additionalProperties:
type: object
Is it possible to use an enumeration to define the keys ? (the map returns int String, Object. But this is not part of the problem)
Thank you for your help.