File tree 3 files changed +18
-6
lines changed
src/main/java/com/example/easynotes/controller
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "java.configuration.updateBuildConfiguration" : " automatic"
3
+ }
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
3
- xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns:xsi= " http://www.w3.org/2001/XMLSchema-instance " xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
4
<modelVersion >4.0.0</modelVersion >
5
5
6
6
<groupId >com.example</groupId >
15
15
<groupId >org.springframework.boot</groupId >
16
16
<artifactId >spring-boot-starter-parent</artifactId >
17
17
<version >2.0.0.RELEASE</version >
18
- <relativePath /> <!-- lookup parent from repository -->
18
+ <relativePath />
19
+ <!-- lookup parent from repository -->
19
20
</parent >
20
21
21
22
<properties >
49
50
<artifactId >spring-boot-starter-test</artifactId >
50
51
<scope >test</scope >
51
52
</dependency >
53
+ <!-- SpringFox Swagger UI -->
54
+ <dependency >
55
+ <groupId >io.springfox</groupId >
56
+ <artifactId >springfox-swagger2</artifactId >
57
+ <version >2.9.2</version >
58
+ </dependency >
59
+ <dependency >
60
+ <groupId >io.springfox</groupId >
61
+ <artifactId >springfox-swagger-ui</artifactId >
62
+ <version >2.6.1</version >
63
+ </dependency >
52
64
</dependencies >
53
65
54
66
<build >
Original file line number Diff line number Diff line change 10
10
import javax .validation .Valid ;
11
11
import java .util .List ;
12
12
13
- /**
14
- * Created by rajeevkumarsingh on 27/06/17.
15
- */
16
13
@ RestController
17
14
@ RequestMapping ("/api" )
18
15
public class NoteController {
You can’t perform that action at this time.
0 commit comments