Sira js codegen for Rest API