Changes for getting the metadata for properties for a given class type
Fix when the ApiProperty annotation can be on the getter and not on the property.