Merge pull request #8 from nitta-lab-2024/BooksRest
BookRestを追加しました
commit 0090faa30e19e580d832f486fd31d411872cbf94
2 parents 4fb010b + fc0d631
住田華凜 authored on 2 May
Showing 1 changed file
View
14
src/main/java/org/ntlab/citrusserver/resources/BooksRest.java
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;
}
}