generate stubs for client requests