do not need

This commit is contained in:
rvsathe 2021-05-11 07:41:53 +05:30 committed by GitHub
parent 30b91e85eb
commit e5b7f6fccd
1 changed files with 0 additions and 38 deletions

View File

@ -1,38 +0,0 @@
package com.baeldung.hexagonalPattern.adapters;
import java.util.List;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baeldung.hexagonalPattern.core.domain.Book;
import com.baeldung.hexagonalPattern.web.LibraryRestUI;
@RestController
@RequestMapping("/library")
public class LibraryRestController implements LibraryRestUI {
@Override
@PostMapping("/insertBook")
public int insertBook(Book book) {
return 0;
}
@Override
@GetMapping("/searchBook")
public Book searchBook(@PathVariable String name) {
// TODO Auto-generated method stub
return null;
}
@Override
@GetMapping("/listBooks")
public List<Book> listAllBooks() {
// TODO Auto-generated method stub
return null;
}
}