diff options
author | Jakob Odersky <jakob@driver.xyz> | 2018-10-11 14:19:28 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@driver.xyz> | 2018-10-12 13:13:17 -0700 |
commit | a43556851bf986b81351fc9f1ae5ba51bf21dc47 (patch) | |
tree | b5863203cb94b510ec4e4c2c611dd15317cbd5b8 /core-init/src/main/scala/xyz/driver/core/init/HttpApi.scala | |
parent | 03ed05c0fcb948237d66f032c4e530b2349404b9 (diff) | |
download | driver-core-a43556851bf986b81351fc9f1ae5ba51bf21dc47.tar.gz driver-core-a43556851bf986b81351fc9f1ae5ba51bf21dc47.tar.bz2 driver-core-a43556851bf986b81351fc9f1ae5ba51bf21dc47.zip |
Add an example to the README and a standalone application templateHEADv2.0.0-M5masterjo/example
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.scala | 2 |
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) |