Proxy generation for Web API