rest api without lombok