how to Define Map<Enum,String> in open API specification swagger
i would like to have my swagger open API spefication like this Map<ModeToContactEnum, String> ModeToContactEnum{ ph, in_prsn, app, othrs, no_cntct_yt } i tried the following it is not w...
This is not possible in the current version of OpenAPI, but will be possible in the next version, OpenAPI 3.1, using the propertyNames keyword. Check out this post for details and examples: