diff --git a/src/main/java/org/ntlab/nemophila/resources/accounts/AccountRest.java b/src/main/java/org/ntlab/nemophila/resources/accounts/AccountRest.java index 13958fa..fa35dbf 100644 --- a/src/main/java/org/ntlab/nemophila/resources/accounts/AccountRest.java +++ b/src/main/java/org/ntlab/nemophila/resources/accounts/AccountRest.java @@ -6,6 +6,7 @@ import org.springframework.stereotype.Component; import javax.ws.rs.*; +import javax.ws.rs.core.MediaType; @Component @Path("/accounts") @@ -13,6 +14,7 @@ //ユーザー情報の取得 @GET + @Produces(MediaType.APPLICATION_JSON) @Path("/{uid}") public Account getAccount(@PathParam("uid") String uid){ AccountManager am = AccountManager.getInstance();