[webapi] Add usecase for Generators

Please don't use hard code style.