File tree Expand file tree Collapse file tree
src/main/java/org/baeldung/web/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77- [ Spring REST Service Security] ( http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/ )
88- [ Setting Up Swagger 2 with a Spring REST API] ( http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api )
99- [ Custom Error Message Handling for REST API] ( http://www.baeldung.com/global-error-handler-in-a-spring-rest-api )
10+ - [ An Intro to Spring HATEOAS] ( http://www.baeldung.com/spring-hateoas-tutorial )
Original file line number Diff line number Diff line change 8282 <dependency >
8383 <groupId >org.springframework.hateoas</groupId >
8484 <artifactId >spring-hateoas</artifactId >
85- <version >0.19.0.RELEASE </version >
85+ <version >${org.springframework.hateoas.version} </version >
8686 </dependency >
8787
8888 <!-- web -->
165165 <groupId >org.springframework.security</groupId >
166166 <artifactId >spring-security-test</artifactId >
167167 <version >${org.springframework.security.version} </version >
168+ <scope >test</scope >
168169 </dependency >
169170
170171
292293 <!-- Spring -->
293294 <org .springframework.version>4.2.5.RELEASE</org .springframework.version>
294295 <org .springframework.security.version>4.0.4.RELEASE</org .springframework.security.version>
296+ <org .springframework.hateoas.version>0.19.0.RELEASE</org .springframework.hateoas.version>
295297
296298 <!-- persistence -->
297299 <hibernate .version>4.3.11.Final</hibernate .version>
Original file line number Diff line number Diff line change 1717import static org .springframework .hateoas .mvc .ControllerLinkBuilder .methodOn ;
1818
1919@ RestController
20- @ RequestMapping (value = "/customer " )
20+ @ RequestMapping (value = "/customers " )
2121public class CustomerController {
2222 @ Autowired
2323 private CustomerService customerService ;
You can’t perform that action at this time.
0 commit comments