Is your feature request related to a specific problem? Or an existing feature?
#2825 added a feature that allowed a dictionary of enum values to generate object keys from a Dictionary instead of treating it like a map. This breaks when generating an API client in newer versions of the library, with Flags enums, and when I actualy want the object to be a map in generated libraries.
Describe the solution you'd like
In add check to to suppress generating enum values for flags-enums, and a parameter to suppress passing keys to the DataContract for Dictionaries whith Enum keys, and add a command line option swashbuckle.aspnetcore.cli to be able to disable when generating the swagger file from a dll etc.
Additional context
No response
Is your feature request related to a specific problem? Or an existing feature?
#2825 added a feature that allowed a dictionary of enum values to generate object keys from a Dictionary instead of treating it like a map. This breaks when generating an API client in newer versions of the library, with Flags enums, and when I actualy want the object to be a map in generated libraries.
Describe the solution you'd like
In add check to to suppress generating enum values for flags-enums, and a parameter to suppress passing keys to the DataContract for Dictionaries whith Enum keys, and add a command line option swashbuckle.aspnetcore.cli to be able to disable when generating the swagger file from a dll etc.
Additional context
No response