- package org.ntlab.citrusserver.resources;
- import jakarta.ws.rs.GET;
- import jakarta.ws.rs.Path;
- import jakarta.ws.rs.Produces;
- import jakarta.ws.rs.core.MediaType;
- import org.springframework.stereotype.Component;
- @Path("/accounts")
- @Component
- public class BooksRest {
- @GET
- @Produces(MediaType.TEXT_PLAIN)//returnの形をどうするか
- public String getAccounts() {
- return null;
- }
- }