aboutsummaryrefslogtreecommitdiff
path: root/core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala')
-rw-r--r--core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala b/core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala
index 81428bf..2570cb3 100644
--- a/core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala
+++ b/core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala
@@ -27,7 +27,7 @@ trait HttpApi extends CloudServices with Directives with SprayJsonSupport { self
/** Classes with Swagger annotations.
* @group hooks
*/
- def swaggerRouteClasses: Set[Class[_]]
+ def swaggerRouteClasses: Set[Class[_]] = Set(self.getClass)
private val healthRoute = path("health") {
complete(Map("status" -> "good").toJson)