ApiModel
ApiModel copied to clipboard
support response key to model key mapping
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.