* Updated code generation
* Switched request and response generics position
* Updated test
* API generation
* Removed unused generics
* Test type definitions for callback style API as well
* Fix comments
* Fix conflict
* API generation
* Updated type def