aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/terminaldweller/doc/DocService.java
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-16 05:47:37 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-16 05:47:37 +0000
commit1d05064b590d119065495a6d9ce30ae2d4aab05d (patch)
treeb72546f16c7952060ea903b39ce19933f22fe884 /src/main/java/com/terminaldweller/doc/DocService.java
parentadded a new doc class, added self-signed certs to the docker image (diff)
downloadmdrtl-1d05064b590d119065495a6d9ce30ae2d4aab05d.tar.gz
mdrtl-1d05064b590d119065495a6d9ce30ae2d4aab05d.zip
wip
Diffstat (limited to 'src/main/java/com/terminaldweller/doc/DocService.java')
-rw-r--r--src/main/java/com/terminaldweller/doc/DocService.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/com/terminaldweller/doc/DocService.java b/src/main/java/com/terminaldweller/doc/DocService.java
new file mode 100644
index 0000000..4aee30b
--- /dev/null
+++ b/src/main/java/com/terminaldweller/doc/DocService.java
@@ -0,0 +1,12 @@
+package com.terminaldweller.doc;
+
+import java.util.List;
+import org.springframework.stereotype.Service;
+
+/** The document service class. */
+@Service
+public class DocService {
+ public List<Doc> getDocs() {
+ return List.of(new Doc(1L, "loco", 0L));
+ }
+}