stoicflame / enunciate-openapi

OpenAPI3 module for Enunciate
Apache License 2.0
10 stars 10 forks source link

Complemantary fix for rendering ENUM types in Maps. #41

Closed selimok closed 3 years ago

selimok commented 3 years ago

This commit fixes the same problem described here https://github.com/stoicflame/enunciate-openapi/issues/37 but for ENUM values.

In my case the incorrectly mapped property was this:

private Map<A, LinkedHashSet<B>> aToBMapping; 

Where B is an Enum Class.