Adding information of responseClass in notes

Based on the work done for Status Codes on notes, I generalized this also to include (for now) responseClasses but also other information in the future

A test was added as well

(the previous PR had some small bugs, they are now fixed)