Upgrade samples to Spring Boot 1.3.3.RELEASE

Closes gh-222
This commit is contained in:
Andy Wilkinson
2016-05-05 11:13:27 +01:00
parent 1c95232e67
commit 9e84922e09
11 changed files with 50 additions and 40 deletions

View File

@@ -138,6 +138,10 @@ include::{snippets}/notes-list-example/curl-request.adoc[]
include::{snippets}/notes-list-example/http-response.adoc[]
[[resources-notes-list-links]]
==== Links
include::{snippets}/notes-list-example/links.adoc[]
[[resources-notes-create]]
@@ -183,6 +187,11 @@ include::{snippets}/tags-list-example/curl-request.adoc[]
include::{snippets}/tags-list-example/http-response.adoc[]
[[resources-tags-list-links]]
==== Links
include::{snippets}/tags-list-example/links.adoc[]
[[resources-tags-create]]

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2015 the original author or authors.
* Copyright 2014-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,13 +17,9 @@
package com.example.notes;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableAutoConfiguration
@ComponentScan
@EnableJpaRepositories
@SpringBootApplication
public class RestNotesSpringDataRest {
public static void main(String[] args) {