Open phasmax opened 7 years ago
I believe I have just come across this issue as well.
Am I right in saying you are referring to the following section "Common Parameters in Different Paths" ? https://swagger.io/docs/specification/2-0/describing-parameters/
Cheers
In swaggerize-express, I found that validation is not performed (enums, lengths, required fields) on parameters that are referenced ($ref) in a path (instead of inline). The updated code ensures that referenced params are pulled into the validator array.