diff --git a/src/main/java/com/example/jerseyexercise/resources/SYamagiwa.java b/src/main/java/com/example/jerseyexercise/resources/SYamagiwa.java index ec6e3f6..12015de 100644 --- a/src/main/java/com/example/jerseyexercise/resources/SYamagiwa.java +++ b/src/main/java/com/example/jerseyexercise/resources/SYamagiwa.java @@ -86,12 +86,22 @@ return lastName; } + /** + * Update the first name of the account. + * + * @param firstName The first name of the account. + */ @PUT @Path("/firstName") public void setFirstName(@FormParam("firstName") String firstName) { this.firstName = firstName; } + /** + * Update the last name of the account. + * + * @param lastName The last name of the account. + */ @PUT @Path("/lastName") public void setLastName(@FormParam("lastName") String lastName) {