Flexible generator for RESTFUL Api.