Similar to #1347, it would be good to also add support of enums in path parameters.
One additional requirement: It would be good if multiple query and/or path parameters actually reference the same enumeration, that only one enumeration is generated and is then being referenced from all places where it was defined.