Add automatic swagger validation

I implemented the requested features. I didn't find any invalid parameter in the data included in responses, so I did not need to modify any controller file.