ApiModel icon indicating copy to clipboard operation
ApiModel copied to clipboard

support response key to model key mapping

Open wainglaister opened this issue 9 years ago • 0 comments

Server responses don't always use keys you'd like to use in your code. This could be handled by creating private vars in classes and public vars which are wrappers, but it would be cleaner if the model transforms could accept a 'destination key' rather than directly mapping the JSON key into the model object.

wainglaister avatar Feb 03 '16 17:02 wainglaister