rest api with lombok