We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e553da commit 193d873Copy full SHA for 193d873
1 file changed
src/main/java/de/codecentric/apifirstspringboot/controller/NewsController.java
@@ -7,9 +7,11 @@
7
import org.springframework.stereotype.Controller;
8
import org.springframework.web.bind.annotation.GetMapping;
9
import org.springframework.web.bind.annotation.RequestMapping;
10
+import springfox.documentation.oas.annotations.EnableOpenApi;
11
12
import java.util.List;
13
14
+@EnableOpenApi
15
@RequestMapping("/api")
16
@Controller
17
public class NewsController {
0 commit comments