Skip to content

Commit 65a402c

Browse files
committed
c
1 parent 2d81216 commit 65a402c

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "automatic"
3+
}

pom.xml

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?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">
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.example</groupId>
@@ -15,7 +15,8 @@
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
1717
<version>2.0.0.RELEASE</version>
18-
<relativePath/> <!-- lookup parent from repository -->
18+
<relativePath/>
19+
<!-- lookup parent from repository -->
1920
</parent>
2021

2122
<properties>
@@ -49,6 +50,17 @@
4950
<artifactId>spring-boot-starter-test</artifactId>
5051
<scope>test</scope>
5152
</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>
5264
</dependencies>
5365

5466
<build>

src/main/java/com/example/easynotes/controller/NoteController.java

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
import javax.validation.Valid;
1111
import java.util.List;
1212

13-
/**
14-
* Created by rajeevkumarsingh on 27/06/17.
15-
*/
1613
@RestController
1714
@RequestMapping("/api")
1815
public class NoteController {

0 commit comments

Comments
 (0)